PHP 클래스 Encore\Admin\Grid\Row

파일 보기 프로젝트 열기: z-song/laravel-admin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$actions Actions of row.
$attributes array Attributes of row.
$data Row data.
$keyName string The primary key name.
$number Row number.
$path Action path.

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( $number, $data )
$number
$data

__get() 공개 메소드

Getter.
public __get ( $attr ) : null
$attr
리턴 null

actions() 공개 메소드

Set or Get actions.
public actions ( string $actions = 'edit|delete' ) : Encore\Admin\Grid\Action
$actions string
리턴 Encore\Admin\Grid\Action

cells() 공개 메소드

Get data of this row.
public cells ( ) : mixed
리턴 mixed

column() 공개 메소드

Get or set value of column in this row.
public column ( $name, null $value = null )
$name
$value null

getHtmlAttributes() 공개 메소드

Get attributes in html format.
public getHtmlAttributes ( ) : string
리턴 string

getPath() 공개 메소드

Get action path.
public getPath ( ) : mixed
리턴 mixed

id() 공개 메소드

Get id of this row.
public id ( ) : null
리턴 null

setAttributes() 공개 메소드

Set attributes.
public setAttributes ( array $attributes ) : null
$attributes array
리턴 null

setKeyName() 공개 메소드

Set primary key name.
public setKeyName ( $keyName )
$keyName

setPath() 공개 메소드

Set action path.
public setPath ( $path )
$path

style() 공개 메소드

Set style of the row.
public style ( $style )
$style

프로퍼티 상세

$actions 보호되어 있는 프로퍼티

Actions of row.
protected $actions

$attributes 보호되어 있는 프로퍼티

Attributes of row.
protected array $attributes
리턴 array

$data 보호되어 있는 프로퍼티

Row data.
protected $data

$keyName 보호되어 있는 프로퍼티

The primary key name.
protected string $keyName
리턴 string

$number 보호되어 있는 프로퍼티

Row number.
protected $number

$path 보호되어 있는 프로퍼티

Action path.
protected $path