Functions to validate values. More...
Functions | |
| is_db_type ($value, $type, $length=0, $label='') | |
| !Validation rules!! | |
| is_form_type ($value, $type, $label='') | |
| Basic database column type / length. | |
| is_required ($value, $label='', $options=null) | |
| Simply checks there is some input. | |
| is_email ($value, $label='', $options=null) | |
| Valid email validation. | |
| is_uk_phone ($value, $label='', $options=null) | |
| UK phone number validation. | |
| is_mysql_date ($value, $label='', $options=null) | |
| Valid mysql date. | |
| is_password ($value, $label='', $options=null) | |
| Valid password. | |
| is_date ($value, $label='', $options=null) | |
| Valid date format. | |
| is_datetime ($value, $label='', $options=null) | |
| Valid date/time. | |
| is_valid_date ($value) | |
| Valid date. | |
| is_postcode ($value, $label='', $options=null) | |
| Postcode. | |
Functions to validate values.
| is_db_type | ( | $value, | |
| $type, | |||
$length = 0, |
|||
$label = '' |
|||
| ) |
!Validation rules!!
Basic database column type / length
1.8.1.1