public static setExcludedPageIds ( mixed $pageIds ) | ||
$pageIds | mixed | This can be a single page id or this can be an array with page ids. |
public static function setExcludedPageIds($pageIds)
{
$pageIds = (array) $pageIds;
// go trough the page ids to add them to the excluded page ids for later usage
foreach ($pageIds as $pageId) {
array_push(self::$excludedPageIds, $pageId);
}
}