公開メンバ関数 | |
__construct (array $removed) | |
isPublished ($index) | |
isHidden ($index) | |
getFirstPublishedPage () | |
Publisher.php の 35 行目に定義があります。
XH\Publisher::__construct | ( | array | $removed | ) |
Initializes a new instance.
bool[] | $removed The removed status of the pages. |
Publisher.php の 63 行目に定義があります。
XH\Publisher::getFirstPublishedPage | ( | ) |
Returns the index of the first published page.
Publisher.php の 138 行目に定義があります。
XH\Publisher::isHidden | ( | $index | ) |
Returns whether a page is hidden.
A page may be hidden either by #cmsimple hide#
or via the page data field linked_to_menu
. Note that unpublished pages are not reported as being hidden by this method. Note that all descendants of a hidden page are also regarded as being hidden.
int | $index | A page index. |
Publisher.php の 121 行目に定義があります。
XH\Publisher::isPublished | ( | $index | ) |
Returns whether a page is published.
A page may be unpublished either by #cmsimple remove#
or via the page data fields published
, publication_date
and expires
. Note that all descendants of an unpublished page are also regarded as being unpublished.
int | $index | A page index. |
Publisher.php の 97 行目に定義があります。