Property | Type | Description | |
---|---|---|---|
$editAction | string | コンテンツ編集用のアクション名 判定に利用 settings で指定する | |
$preview | プレビューモード | ||
$type | string | コンテンツタイプ settings で指定する | |
$useForm | boolean | Content 保存フォームをコントローラーで利用するかどうか settings で指定する | |
$useViewCache | boolean | ビューキャッシュを利用するかどうか |
Property | Type | Description | |
---|---|---|---|
$_Controller | Controller | コントローラー |
Method | Description | |
---|---|---|
beforeRender ( Controller $controller ) : void | Before render | |
getContent ( integer $entityId = null ) : array | Content データを取得する | |
getCrumbs ( $id ) : array | パンくず用のデータを取得する | |
getParentLayoutTemplate ( $id ) : string | レイアウトテンプレートを取得する | |
getTypes ( ) : array | 登録されているタイプの一覧を取得する | |
initialize ( Controller $controller ) : void | Initialize | |
settingForm ( Controller $controller, $currentSiteId, $currentContentId = null ) : void | コンテンツ保存フォームを設定する | |
setupAdmin ( ) | 管理システム設定 | |
setupFront ( ) | フロントエンドのセットアップ |
public beforeRender ( Controller $controller ) : void | ||
$controller | Controller | |
return | void |
public getContent ( integer $entityId = null ) : array | ||
$entityId | integer | |
return | array |
public getParentLayoutTemplate ( $id ) : string | ||
$id | ||
return | string | $parentTemplate|false |
public initialize ( Controller $controller ) : void | ||
$controller | Controller | Controller with components to initialize |
return | void |
public settingForm ( Controller $controller, $currentSiteId, $currentContentId = null ) : void | ||
$controller | Controller | |
return | void |
public string $editAction | ||
return | string |
public bool $useForm | ||
return | boolean |