Property | Type | Description | |
---|---|---|---|
$Page | Page | ページモデル | |
$data | array | data | |
$helpers | array | ヘルパー |
Method | Description | |
---|---|---|
__construct ( View $View ) | construct | |
allowPublish ( $data ) : boolean | 公開状態を取得する | |
content ( ) : void | 固定ページのコンテンツを出力する | |
getNextLink ( string $title = '', array $options = [] ) : mixed | ページカテゴリ間の次の記事へのリンクを取得する | |
getPageList ( $id, $level = null, $options = [] ) : array | ページリストを取得する | |
getPrevLink ( string $title = '', array $options = [] ) : string | false | ページカテゴリ間の前の記事へのリンクを取得する | |
getUrl ( array $page ) : string | ページ機能用URLを取得する | |
nextLink ( string $title = '', array $options = [] ) : void | ページカテゴリ間の次の記事へのリンクを出力する | |
prevLink ( string $title = '', array $options = [] ) : void | ページカテゴリ間の前の記事へのリンクを出力する | |
treeList ( $datas, $recursive ) | treeList |
Method | Description | |
---|---|---|
_getPageByNextOrPrev ( $lft, $parentId, string $type, boolean $overCategory = false ) : array | 指定した固定ページデータの次、または、前のデータを取得する |
public getNextLink ( string $title = '', array $options = [] ) : mixed | ||
$title | string | |
$options | array | オプション(初期値 : array()) - `class` : CSSのクラス名(初期値 : 'next-link') - `arrow` : 表示文字列(初期値 : ' ≫') - `overCategory` : 固定ページのカテゴリをまたいで次の記事のリンクを取得するかどうか(初期値 : false) ※ overCategory が true の場合は、BcPageHelper::contentsNaviAvailable() が false だとしても強制的に出力する |
return | mixed | コンテンツナビが無効かつオプションoverCategoryがtrueでない場合はfalseを返す |
public getPageList ( $id, $level = null, $options = [] ) : array | ||
return | array |
public nextLink ( string $title = '', array $options = [] ) : void | ||
$title | string | |
$options | array | オプション(初期値 : array()) - `class` : CSSのクラス名(初期値 : 'next-link') - `arrow` : 表示文字列(初期値 : ' ≫') - `overCategory` : 固定ページのカテゴリをまたいで次の記事のリンクを取得するかどうか(初期値 : false) ※ overCategory が true の場合は、BcPageHelper::contentsNaviAvailable() が false だとしても強制的に出力する |
return | void |
public prevLink ( string $title = '', array $options = [] ) : void | ||
$title | string | |
$options | array | オプション(初期値 : array()) - `class` : CSSのクラス名(初期値 : 'prev-link') - `arrow` : 表示文字列(初期値 : ' ≫') - `overCategory` : 固定ページのカテゴリをまたいで次の記事のリンクを取得するかどうか(初期値 : false) ※ overCategory が true の場合は、BcPageHelper::contentsNaviAvailable() が false だとしても強制的に出力する |
return | void | コンテンツナビが無効かつオプションoverCategoryがtrueでない場合はfalseを返す |