Exemplo n.º 1
0
 /** @param $groupID  single group ID or CODE */
 function __construct($groupID, $showDisabled = false)
 {
     $descendants = new DescendantGroups($groupID, $showDisabled);
     $IDs = $descendants->IDs();
     if ($groupID) {
         $IDs[] = Group::toID($groupID);
     }
     parent::__construct($IDs);
 }
Exemplo n.º 2
0
 function __construct($conx = NULL, $table_name = "")
 {
     parent::__construct($conx, $table_name);
 }
Exemplo n.º 3
0
 /** @param $categoryID  single page ID or CODE */
 function __construct($categoryID, $showInHidden = false)
 {
     $IDs = Page::descendantIDs($categoryID, $showInHidden);
     if ($categoryID) {
         $IDs[] = Page::getID($categoryID);
     }
     parent::__construct($IDs);
 }