baserCMS クラスリファレンス

BcAdminContentsComponent extends Component
in package
uses BcContainerTrait

Class BcContentsComponent

階層コンテンツと連携したフォーム画面を作成する為のコンポーネント

Table of Contents

Properties

$addAction  : string
コンテンツ新規登録用のアクション名 判定に利用 settings で指定する
$ContentsService  : ContentsAdminServiceInterface
$editAction  : string
コンテンツ編集用のアクション名 判定に利用 settings で指定する

Methods

beforeRender()  : void
Before render
getService()  : array<string|int, mixed>|mixed|object
Get Service
hasService()  : bool
Has Service
initialize()  : void
Initialize
settingForm()  : void
コンテンツ保存フォームを設定する
setupAdmin()  : void
管理システム設定

Properties

$addAction

コンテンツ新規登録用のアクション名 判定に利用 settings で指定する

public string $addAction = 'add'

$editAction

コンテンツ編集用のアクション名 判定に利用 settings で指定する

public string $editAction = 'edit'

Methods

getService()

Get Service

public getService(mixed $service) : array<string|int, mixed>|mixed|object
Parameters
$service : mixed
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>|mixed|object

hasService()

Has Service

public hasService(mixed $service) : bool
Parameters
$service : mixed
Tags
checked
noTodo
unitTest
Return values
bool

initialize()

Initialize

public initialize(array<string|int, mixed> $config) : void
Parameters
$config : array<string|int, mixed>
Tags
checked
unitTest
noTodo

settingForm()

コンテンツ保存フォームを設定する

public settingForm() : void
Tags
checked
unitTest
noTodo

        
On this page

Search results