3060 Posts in 864 Topics by 646 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 635 Views |
-
take a request on each element of an Parent.

23 January 2009 at 10:41pm
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] => CategoryHolderbut 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.
| 635 Views | ||
|
Page:
1
|
Go to Top |

