Function get_tree()
Description:
Get tree of structure
Parameters: ([int home_page_URL, string additional_command_string])
Additional command string may contain the following values, separated by a white space:
- _ALLITEMS_ — children for all nodes
- _RELATION(A,B,C)_ — filter list by one or more relation characteristic, where A, B, C — identifiers of these characteristics.
- _ORDER(RANDOM)_ — randomize list
- _ORDER(NAME,ASC)_ — order list by node names ascending
- _ORDER(NAME,DESC)_ — order list by node names descending
- _ORDER(DATEC,ASC)_ — order list by node creation date ascending
- _ORDER(DATEC,DESC)_ — order list by node creation date descending
List variables:
- this.this.value.leght — number of elements in the list
- this.this.ñount.value — current number of the list element
- this.this.title.value — title of the list element
- this.this.level.value — nesting level of the element
- this.this.id.value — identifier of the list element
- this.this.variable.value — variable of the list element (part of URL)
- this.this.var_parent.value — variable of the parent list element
- this.this.href.value — reference of the list element