PHP 클래스 GridFieldAddNewInlineButton, silverstripe-gridfieldextensions

상속: implements GridField_HTMLProvider, implements GridField_SaveHandler
파일 보기 프로젝트 열기: ajshort/silverstripe-gridfieldextensions 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $fragment = 'buttons-before-left' )
getFragment ( ) : string Gets the fragment name this button is rendered into.
getHTMLFragments ( $grid )
getTitle ( ) : string Gets the button title text.
handleSave ( GridField $grid, DataObjectInterface $record )
setFragment ( string $fragment ) : GridFieldAddNewInlineButton Sets the fragment name this button is rendered into.
setTitle ( string $title ) : GridFieldAddNewInlineButton Sets the button title text.

비공개 메소드들

메소드 설명
getRowTemplate ( GridField $grid, GridFieldEditableColumns $editable )

메소드 상세

__construct() 공개 메소드

public __construct ( string $fragment = 'buttons-before-left' )
$fragment string the fragment to render the button in

getFragment() 공개 메소드

Gets the fragment name this button is rendered into.
public getFragment ( ) : string
리턴 string

getHTMLFragments() 공개 메소드

public getHTMLFragments ( $grid )

getTitle() 공개 메소드

Gets the button title text.
public getTitle ( ) : string
리턴 string

handleSave() 공개 메소드

public handleSave ( GridField $grid, DataObjectInterface $record )
$grid GridField
$record DataObjectInterface

setFragment() 공개 메소드

Sets the fragment name this button is rendered into.
public setFragment ( string $fragment ) : GridFieldAddNewInlineButton
$fragment string
리턴 GridFieldAddNewInlineButton $this

setTitle() 공개 메소드

Sets the button title text.
public setTitle ( string $title ) : GridFieldAddNewInlineButton
$title string
리턴 GridFieldAddNewInlineButton $this