Example #1
0
 /** 
  * Returns all items in specified list in an hierarchical structure
  */
 public function getListItemsAsHierarchy($pm_list_name_or_id = null, $pa_options = null)
 {
     if (!($vn_item_id = $this->getRootListItemID($pm_list_name_or_id))) {
         return null;
     }
     $t_items = new ca_list_items($vn_item_id);
     return $t_items->getHierarchyAsList(null, $pa_options);
 }