Property | Type | Description | |
---|---|---|---|
$actions | Actions of row. | ||
$attributes | array | Attributes of row. | |
$data | Row data. | ||
$keyName | string | The primary key name. | |
$number | Row number. | ||
$path | Action path. |
Method | Description | |
---|---|---|
__construct ( $number, $data ) | Constructor. | |
__get ( $attr ) : null | Getter. | |
actions ( string $actions = 'edit|delete' ) : Encore\Admin\Grid\Action | Set or Get actions. | |
cells ( ) : mixed | Get data of this row. | |
column ( $name, null $value = null ) | Get or set value of column in this row. | |
getHtmlAttributes ( ) : string | Get attributes in html format. | |
getPath ( ) : mixed | Get action path. | |
id ( ) : null | Get id of this row. | |
setAttributes ( array $attributes ) : null | Set attributes. | |
setKeyName ( $keyName ) | Set primary key name. | |
setPath ( $path ) | Set action path. | |
style ( $style ) | Set style of the row. |
public getHtmlAttributes ( ) : string | ||
return | string |
public setAttributes ( array $attributes ) : null | ||
$attributes | array | |
return | null |