Edit
in package
Table of Contents
Methods
- render() : array<string, mixed>
- ユニットの描画
- renderEdit() : void
- ユニット編集時の描画
- processUnitJson() : array<int, array<string, mixed>>
- ユニットJSONデータを処理する
Methods
render()
ユニットの描画
public
render(UnitCollection $collection, Template $tpl[, array<string|int, string> $rootBlock = [] ]) : array<string, mixed>
Parameters
- $collection : UnitCollection
- $tpl : Template
- $rootBlock : array<string|int, string> = []
Return values
array<string, mixed>renderEdit()
ユニット編集時の描画
public
renderEdit(Model $unit, Template $tpl[, array<string|int, string> $rootBlock = [] ]) : void
Parameters
processUnitJson()
ユニットJSONデータを処理する
private
processUnitJson(array<int, array<string, mixed>> $json) : array<int, array<string, mixed>>
Parameters
- $json : array<int, array<string, mixed>>