Classes
pobject
pbookmark
pcalitem
pfile
pphoto
porganization
ppage
particle
pdir
paddressbook
pcalendar
pnewspaper
pphotobook
psearch
psection
psite
puser
pgroup
pprofile
pperson
pscenario
pshortcut
Predefined variables
This is a list of predefined variables, available in class templates or object templates. You should not redefine these in your own templates, unless you are sure you know what you are doing.
Predefined per object
These are available in class and object templates. In object templates you
should leave out the 'this->
' reference. e.g.
$this->id
is the same as
$id
in an object template. Some of these variables
are shortcuts to other variables, in that case the referenced variable is
printed below it, with a '&' sign in front of it.
(int) $this->id (string) $this->type (string) $this->path (string) $this->parent (string) $this->data (string) $this->nlsdata &$this->data->{$this->nls} (string) $this->nls (int) $this->priority (string) $this->reqnls (int) $this->lastchanged (int) $this->size (string) $this->vtype (object) $this->store (string) $this->store->count (string) $this->store->total (string) $arCallFunction (mixed) $arCallArgs (string) $nls &$this->nls (string) $reqnls &$this->reqnls (object) $data &$this->data (object) $nlsdata &$this->nlsdata (array) $customdata &$this->data->custom['none'] (array) $customnlsdata &$this->data->custom[$this->nls]
Predefined global variables
These are only available in class templates (PHP).
(array) $AR (array) $ARConfig (array) $ARCurrent (array) $ARBeenHere (array) $ARnls
System variables
The values of these variables can be set to influence different parts of
Ariadne. Variables in the $ARCurrent
object
can be accessed via the getvar()
and putvar()
functions in object templates.
(bool) $ARCurrent->nolangcheck (bool) $ARCurrent->allnls (bool) $ARCurrent->ARShowTemplateBorders (mixed) $arResult &$ARCurrent->arResult *
* This is the alternative for object templates.