hey guys
will take a request on each element of an Parent.
I think so:
$doSet = DataObject::get( "CategoryHolder","`ParentID` = '".$this->ID."'");
and i get this array,
DataObjectSet Object
(
.....[items:protected] => Array
..........(
...............[0] => CategoryHolder Object
................(
...................[record:protected] => Array
....................(
.........................[ID] => 17
.........................[ClassName] => CategoryHolder
but how i can get the children of CategoryHolder with the ID 17.
I think so:
$doSet = DataObject::get( "CategoryHolder","`ParentID` = '".$this->ID."'");
$doSet = DataObject::get( "CategoryHolder","`ParentID` = '".$doSet->ID."'");
but the $doSet->ID is empty.