PHP Class CrudKit\Data\BaseDataProvider

Afficher le fichier Open project: skyronic/crudkit Class Usage Examples

Protected Properties

Свойство Type Description
$initQueue
$page CrudKit\Pages\Page

Méthodes publiques

Méthode Description
getEditForm ( )
getEditFormConfig ( )
init ( )
setPage ( CrudKit\Pages\Page $page )
validateRequiredRow ( array $values = [] )
validateRow ( array $values = [] )

Méthodes protégées

Méthode Description
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

Method Details

getEditForm() public méthode

public getEditForm ( )

getEditFormConfig() public méthode

public getEditFormConfig ( )

getRequiredFields() abstract protected méthode

Returns an array of require field names
abstract protected getRequiredFields ( ) : string[]
Résultat string[]

getValidatorForField() abstract protected méthode

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

init() public méthode

public init ( )

isFieldInSchema() abstract protected méthode

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

setPage() public méthode

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

validateRequiredRow() public méthode

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

validateRow() public méthode

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

Property Details

$initQueue protected_oe property

protected $initQueue

$page protected_oe property

protected Page,CrudKit\Pages $page
Résultat CrudKit\Pages\Page