You are here:   » Home » Documentation » Details » ZMS API » acc. to Objects » zmsobject » zmscontainerobject » zmscustom

zmscustom.ZMSCustom

ZMSCustom is the basic class of the special objects.

ZMSCustom.getObjChildren(key, REQUEST)

BESCHREIBUNG:
For the current special object gives back a sorted list of the ZMS-sub-objects for the specified key.

EINGABE-PARAMETER:
key[string]: key of the sub-objects
REQUEST: the Http-request object.

AUSGABE-PARAMETER:
nodes[list]: List of -objects

BEISPIELE
[1]  Presentation of all sub-objects of the key text:
 <dtml-in "getObjChildren('text',REQUEST)">
  <dtml-var "getBodyContent(REQUEST)">
 </dtml-in>


ZMSCustom.getType()

BESCHREIBUNG:
Delivers the type of the current special object:
- ZMSObject: HTML-page-element displayable in body text (is assembled in getBodyContent)
- ZMSDocument own HTML-page
- ZMSTeaserElement element of the Teaser-area (is assembled in getTeaserElements)

AUSGABE-PARAMETER:
type[string]: the type of the special object