Public Member Functions | |
__construct ($id, $data, $name, $index, $parent_id) | |
get_parent_id () | |
set_image ($img) | |
Private Attributes | |
$parent_id | |
id of parent record |
__construct | ( | $ | id, | |
$ | data, | |||
$ | name, | |||
$ | index, | |||
$ | parent_id | |||
) |
constructor
id | record id | |
data | hash of data | |
name | names of field | |
index | index of current record | |
parent_id | id of parent record |
get_parent_id | ( | ) |
return id of parent record
set_image | ( | $ | img | ) |
assign image to treegrid's item longer description
img | relative path to the image |
$parent_id [private] |
id of parent record