Method |
Description |
|
getFieldInUse ( string $groupField, string $type = 'all', array $options = [] ) : Query |
Get all fields that have been used so far |
|
getNextAutoIncrement ( ) : integer | boolean |
Return the next auto increment id from the current table
UUIDs will return false |
|
getRelatedInUse ( string $tableName, string | null $groupField = null, string $type = 'all', array $options = [] ) : Query |
Get all related entries that have been used so far |
|
truncate ( ) : void |
truncate() |
|
validateAll ( array $entities ) : boolean |
|
|
validateDate ( mixed $value, array $options = [], array $context = [] ) : boolean |
Validation of Date fields (as the core one is buggy!!!) |
|
validateDateRange ( mixed $value, array $options = [], array $context = [] ) : boolean |
Validation of Date Fields (>= minDate && <= maxDate) |
|
validateDateTime ( mixed $value, array $options = [], array $context = [] ) : boolean |
Validation of DateTime Fields (both Date and Time together) |
|
validateIdentical ( mixed $value, array | string $options = [], array $context = [] ) : boolean |
Checks if the content of 2 fields are equal
Does not check on empty fields! Return TRUE even if both are empty (secure against empty in another rule)! |
|
validateTime ( mixed $value, array $options = [], array $context = [] ) : boolean |
Validation of Time fields |
|
validateTimeRange ( mixed $value, array $options = [], array $context = [] ) : boolean |
Validation of Time Fields (>= minTime && <= maxTime) |
|
validateUniqueExt ( mixed $value, array $options, array $context = [] ) : boolean |
Validator method used to check the uniqueness of a value for a column. |
|
validateUrl ( array | string $url, array $options = [], array $context = [] ) : boolean |
Checks if a URL is valid AND accessible (returns false otherwise) |
|