BcListTableHelper
extends Helper
in package
Uses
BcEventDispatcherTrait
Class BcListTableHelper
Tags
Table of Contents
- $_columnNumber : int
- カラム数
- $_View : View
- View
- dispatchLayerEvent() : bool|Event
- イベントを発火
- dispatchShowHead() : string
- リスト見出し発火
- dispatchShowRow() : string
- リスト行発火
- getColumnNumber() : int
- カラム数を取得する
- rowClass() : mixed
- Row Class テーブルの行用のクラス文字列を生成する
- setColumnNumber() : mixed
- カラム数を設定する
Properties
$_columnNumber
カラム数
protected
int
$_columnNumber
= 0
$_View
View
protected
View
$_View
Methods
dispatchLayerEvent()
イベントを発火
public
dispatchLayerEvent(string $name[, array<string|int, mixed> $data = [] ][, mixed $options = [] ]) : bool|Event
Parameters
- $name : string
- $data : array<string|int, mixed> = []
- $options : mixed = []
Tags
Return values
bool|Event —dispatchShowHead()
リスト見出し発火
public
dispatchShowHead() : string
Return values
string —dispatchShowRow()
リスト行発火
public
dispatchShowRow( $data) : string
Parameters
Return values
string —getColumnNumber()
カラム数を取得する
public
getColumnNumber() : int
Tags
Return values
int —カラム数
rowClass()
Row Class テーブルの行用のクラス文字列を生成する
public
rowClass(bool $isPublish[, array<string|int, mixed> $record = [] ][, array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $isPublish : bool
-
公開しているかどうか
- $record : array<string|int, mixed> = []
-
レコード
- $options : array<string|int, mixed> = []
-
オプション
-
class
: 追加するクラス
-
Tags
Return values
mixed —setColumnNumber()
カラム数を設定する
public
setColumnNumber(int $number) : mixed
Parameters
- $number : int
-
カラム数