a-blog cms PHP API Reference

Front
in package

Table of Contents

Properties

$rootBlock  : array<string|int, string>
ユニットのルートブロック

Methods

render()  : void
ユニットの描画
renderSummaryText()  : array<string|int, string>
サマリーを組み立て
canDisplayInvisibleUnit()  : bool
非表示ユニットを表示するかどうか
isUnitGroupEnabled()  : bool
ユニットグループの有効無効を判定
renderClear()  : void
Clearの描画
renderDirectEdit()  : void
ダイレクト編集のためのブロック・変数を描画する
renderGroup()  : string|null
ユニットグループを描画
shouldRenderDirectEdit()  : bool
ダイレクト編集のためのブロック・変数を描画するかどうか
renderTree()  : void
ツリーを描画

Properties

$rootBlock

ユニットのルートブロック

protected array<string|int, string> $rootBlock = ['unit:loop']

Methods

renderSummaryText()

サマリーを組み立て

public renderSummaryText(UnitCollection $collection) : array<string|int, string>
Parameters
$collection : UnitCollection
Return values
array<string|int, string>

canDisplayInvisibleUnit()

非表示ユニットを表示するかどうか

protected canDisplayInvisibleUnit(int $bid, array<string|int, mixed> $entry) : bool
Parameters
$bid : int
$entry : array<string|int, mixed>
Return values
bool

isUnitGroupEnabled()

ユニットグループの有効無効を判定

protected isUnitGroupEnabled(UnitCollection $collection) : bool
Parameters
$collection : UnitCollection
Return values
bool

renderClear()

Clearの描画

protected renderClear(Template $tpl, Model $unit, UnitAlign|null &$preAlign) : void

配置v1で利用されている機能です。配置v1以外では使用しないでください。

Parameters
$tpl : Template
$unit : Model
$preAlign : UnitAlign|null

1つ前のユニットの配置

renderDirectEdit()

ダイレクト編集のためのブロック・変数を描画する

protected renderDirectEdit(Template $tpl, Model $unit) : void

ダイレクト編集は非推奨です。将来的に廃止を検討しています。

Parameters
$tpl : Template
$unit : Model
Tags
throws
Exception

renderGroup()

ユニットグループを描画

protected renderGroup(Template $tpl, string $group, string|null $currentGroup) : string|null

ユニットグループは非推奨です。グループユニットを使用してください。

Parameters
$tpl : Template
$group : string
$currentGroup : string|null
Return values
string|null

shouldRenderDirectEdit()

ダイレクト編集のためのブロック・変数を描画するかどうか

protected shouldRenderDirectEdit() : bool

ダイレクト編集は非推奨です。将来的に廃止を検討しています。

Return values
bool

        
On this page

Search results