Property | Type | Description | |
---|---|---|---|
$initQueue | |||
$page | CrudKit\Pages\Page |
Method | Description | |
---|---|---|
getEditForm ( ) | ||
getEditFormConfig ( ) | ||
init ( ) | ||
setPage ( CrudKit\Pages\Page $page ) | ||
validateRequiredRow ( array $values = [] ) | ||
validateRow ( array $values = [] ) |
Method | 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 |
abstract protected getRequiredFields ( ) : string[] | ||
return | string[] |
abstract protected isFieldInSchema ( string $formKey ) : boolean | ||
$formKey | string | |
return | boolean |