name | type | default | params | representant | foreign | foreign_prop | position |
id | CO_INTEGER | SEQUENCE | READONLY=1;HIDDEN=1 | 0 | 0 | ||
version | CO_INTEGER | 0 | READONLY=1;HIDDEN=1 | 0 | 0 | ||
deleted | CO_INTEGER | 0 | READONLY=1;HIDDEN=1 | 0 | 0 | ||
inherits_acl | CO_INTEGER | 1 | HIDDEN=1;READONLY=1 | 0 | 50 | ||
tree_name | CO_STRING | '' | 1 | 200 | |||
parent_class_name | CO_STRING | '' | 0 | meta_class | class_name | 300 | |
parent_prop_name | CO_STRING | '' | 0 | 400 | |||
child_class_name | CO_STRING | '' | 0 | meta_class | class_name | 500 | |
child_prop_name | CO_STRING | '' | 0 | 600 | |||
unique_child | CO_INTEGER | 0 | VALUES=new Array(0,1); | 0 | 700 |
method getChildren
permission=7
description: This method reads all children from given tree for given parent. Pass -1 as par_id. Returns recordset and JavaScript.
description: Real security should be based on parent_class_name and parent_id (GET_RELATED).
parameters:
par_area
type CO_STRING
par_class
type CO_STRING
par_id
type CO_INTEGER
callback
type CO_STRING
tree_name
description: Name of the tree
type CO_STRING
parent_class_name
description: Name of class of the parent
type CO_STRING
parent_id
description: id of the parent
type CO_INTEGER