baserCMS クラスリファレンス

BcWidgetAreaHelper extends Helper
in package
Uses BcContainerTrait

ウィジェットエリアヘルパー

Table of Contents

Properties

$BcBaser  : BcBaserHelper
$helpers  : array<string|int, string>
Helper

Methods

getService()  : array<string|int, mixed>|mixed|object
Get Service
getWidgetArea()  : string
ウィジェットエリアを取得する
hasService()  : bool
Has Service
show()  : mixed
ウィジェットエリアを表示する
widgetArea()  : void
ウィジェットエリアを出力する

Properties

$helpers

Helper

public array<string|int, string> $helpers = ['BaserCore.BcBaser']

Methods

getService()

Get Service

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

getWidgetArea()

ウィジェットエリアを取得する

public getWidgetArea([int $no = null ][, array<string|int, mixed> $options = [] ]) : string
Parameters
$no : int = null

ウィジェットエリアNO(初期値 : null)※ 省略した場合は、コンテンツごとに管理システムにて設定されているウィジェットエリアを出力する

$options : array<string|int, mixed> = []

オプション(初期値 : array())

Tags
checked
noTodo
Return values
string

hasService()

Has Service

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

show()

ウィジェットエリアを表示する

public show(int $no[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
$no : int

ウィジェットエリアNO

$options : array<string|int, mixed> = []

オプション subDir (boolean) エレメントのパスについてプレフィックスによるサブディレクトリを追加するかどうか ※ その他のパラメータについては、View::element() を参照

Tags
noTodo
checked

widgetArea()

ウィジェットエリアを出力する

public widgetArea([int $no = null ][, array<string|int, mixed> $options = [] ]) : void
Parameters
$no : int = null

ウィジェットエリアNO(初期値 : null)※ 省略した場合は、コンテンツごとに管理システムにて設定されているウィジェットエリアを出力する

$options : array<string|int, mixed> = []

オプション(初期値 : array())

Tags
checked
noTodo

        
On this page

Search results