/** @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); }
function __construct($conx = NULL, $table_name = "") { parent::__construct($conx, $table_name); }
/** @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); }