Function get_infochannel()
Description:
Information channel: news line, article line, special line
Parameters: ( [string additional_command_string])
Additional command string may contain the following values, separated by a white space:
-
_LIMIT(n1,n2)_ — nodes_amount_limitation
-
_CURRENTYEAR_— filter list by a current year
-
_SELECTEDYEAR_— filter list by a year, defined in URI
-
_SELECTEDMONTH_— filter list by a month, defined in URI
-
_SELECTEDDAY_— filter list by a day, defined in URI
-
_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
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.announce.value— abstract of the element
- this.this.id.value- identifier of the list element
- this.this.variable.value- variable of the list element (part of URI)
- this.this.href.value- reference of the list element