/** @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); }