Function get_goodslist()
Description:
List of on-line catalog articles (goods)
Parameters: ([int articles_amount_limitation, string additional_command_string])
Additional command string may contain the following values, separated by a white space:
- _ALLITEMS_ children for all nodes
- _PARENTNAME_ name of a parent node
- _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
- _ORDER(catalogue_field, ASC or DESC)_ sort list by given catalogue field (ascending or 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.href.value reference of the list element
- this.this.var_parent.value variable of the parent list element