boolean abc(
string
&$value
)
|
|
validate character string
Parameters:
string |
&$value: |
test value |
API Tags:
boolean abcLower(
string
&$value
)
|
|
validate lowercase character string
Parameters:
string |
&$value: |
test value |
API Tags:
boolean abcUpper(
string
&$value
)
|
|
validate uppercase character string
Parameters:
string |
&$value: |
test value |
API Tags:
boolean dsn(
string
&$value
)
|
|
validate database dsn
allowed format: driver://user:password@server/database
Parameters:
string |
&$value: |
test value |
API Tags:
boolean ip(
string
&$value, [string
$mask = '255.255.255.255']
)
|
|
validate ip address string
Parameters:
string |
&$value: |
test value |
string |
$mask: |
ip mask (255.255.255.255) |
API Tags:
boolean mail(
string
&$value
)
|
|
validate email address
according to RFC2822, ignoring IDN
Parameters:
string |
&$value: |
test value |
API Tags:
boolean num(
string
&$value
)
|
|
validate numbers
allowed format [-]nnn[(.|,)[nnn]]
Parameters:
string |
&$value: |
test value |
API Tags:
boolean txt(
string
&$value
)
|
|
validate text
Parameters:
string |
&$value: |
test value |
API Tags:
boolean _error(
string
$message
)
|
|
store error message and throw error
Parameters:
string |
$message: |
error message |
API Tags: