PHP 트레잇 Ublaboo\DataGrid\Traits\TButton

파일 보기 프로젝트 열기: ublaboo/datagrid

보호된 프로퍼티들

프로퍼티 타입 설명
$class string
$icon string | callable
$text string
$title string | callable

공개 메소드들

메소드 설명
getClass ( ) : string Get attribute class
getIcon ( ) : string Get icon
getText ( ) : string Get text
getTitle ( ) : string Get attribute title
setClass ( string $class ) Set attribute class
setIcon ( string $icon ) Set icon
setText ( string $text ) Set text
setTitle ( string $title ) Set attribute title
tryAddIcon ( Nette\Utils\Html $el, string | null $icon, string $name ) : void Should the element has an icon?

메소드 상세

getClass() 공개 메소드

Get attribute class
public getClass ( ) : string
리턴 string

getIcon() 공개 메소드

Get icon
public getIcon ( ) : string
리턴 string

getText() 공개 메소드

Get text
public getText ( ) : string
리턴 string

getTitle() 공개 메소드

Get attribute title
public getTitle ( ) : string
리턴 string

setClass() 공개 메소드

Set attribute class
public setClass ( string $class )
$class string

setIcon() 공개 메소드

Set icon
public setIcon ( string $icon )
$icon string

setText() 공개 메소드

Set text
public setText ( string $text )
$text string

setTitle() 공개 메소드

Set attribute title
public setTitle ( string $title )
$title string

tryAddIcon() 공개 메소드

Should the element has an icon?
public tryAddIcon ( Nette\Utils\Html $el, string | null $icon, string $name ) : void
$el Nette\Utils\Html
$icon string | null
$name string
리턴 void

프로퍼티 상세

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

protected string $class
리턴 string

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

protected string|callable $icon
리턴 string | callable

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

protected string $text
리턴 string

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

protected string|callable $title
리턴 string | callable