PHP 클래스 CrudKit\Data\BaseDataProvider

파일 보기 프로젝트 열기: skyronic/crudkit 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$initQueue
$page CrudKit\Pages\Page

공개 메소드들

메소드 설명
getEditForm ( )
getEditFormConfig ( )
init ( )
setPage ( CrudKit\Pages\Page $page )
validateRequiredRow ( array $values = [] )
validateRow ( array $values = [] )

보호된 메소드들

메소드 설명
getRequiredFields ( ) : string[] Returns an array of require field names
getValidatorForField ( string $formKey ) : callable | null Returns a callable validator for this field if it exists, and null otherwise
isFieldInSchema ( string $formKey ) : boolean Returns true if a field exists as part of this source's schema

메소드 상세

getEditForm() 공개 메소드

public getEditForm ( )

getEditFormConfig() 공개 메소드

public getEditFormConfig ( )

getRequiredFields() 추상적인 보호된 메소드

Returns an array of require field names
abstract protected getRequiredFields ( ) : string[]
리턴 string[]

getValidatorForField() 추상적인 보호된 메소드

Returns a callable validator for this field if it exists, and null otherwise
abstract protected getValidatorForField ( string $formKey ) : callable | null
$formKey string
리턴 callable | null

init() 공개 메소드

public init ( )

isFieldInSchema() 추상적인 보호된 메소드

Returns true if a field exists as part of this source's schema
abstract protected isFieldInSchema ( string $formKey ) : boolean
$formKey string
리턴 boolean

setPage() 공개 메소드

public setPage ( CrudKit\Pages\Page $page )
$page CrudKit\Pages\Page

validateRequiredRow() 공개 메소드

public validateRequiredRow ( array $values = [] )
$values array

validateRow() 공개 메소드

public validateRow ( array $values = [] )
$values array

프로퍼티 상세

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

protected $initQueue

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

protected Page,CrudKit\Pages $page
리턴 CrudKit\Pages\Page