mixed check(
string
$str, string
$pattern, [boolean
$mustfilled = false]
)
|
|
Check string against the pattern (PCRE)
Parameters:
|
string |
$str: |
string |
|
string |
$pattern: |
filter |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
boolean filled(
string
$str
)
|
|
Check if string is NOT empty
Parameters:
|
string |
$str: |
Der zu pruefende String |
mixed internalSafeURL(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is a adress
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isAlpha(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string consists of letter or alfanumeric characters.
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empgty ? |
API Tags:
mixed isAlphaChar(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string consists of letter or numbers.
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isAlphaNum(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string consists of alphanumeric characters
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isAlphaNumChar(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string consists of alphanumeric characters with numbers
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isEmail(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is email-adress
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isFile(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is filename
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isGermanDate(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is date in german format dd.mm.yyyy.
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isGUID(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is alphanumeric
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isHTMLColor(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is HTML color
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isHTTP(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check web adress (http://* or www.*)
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
void isHTTPHost(
mixed
$str, [mixed
$mustfilled = false]
)
|
|
mixed isHTTPX(
string
$str, [boolean
$mustfilled = false]
)
|
|
Extended HTTP check
anchors http://www.blah.de/index.html#top parameters http://www.blah.de/index.html?foo=bar virtual directories http://www.blah.de/~user/index.html
Parameters:
|
string |
$str: |
|
|
boolean |
$mustfilled: |
optional, default value false |
API Tags:
| Return: | false or int |
| Access: | public |
mixed isISODate(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check date is in ISO-format
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isISODateTime(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check date and time is in ISO-format
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isNoHTML(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is no HTML
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isNum(
string
$str, [boolean
$mustfilled = false], [integer
$digitmin = NULL], [integer
$digitmax = NULL]
)
|
|
Check string consists of numbers
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
srting may be emtpty ? |
|
integer |
$digitmin: |
minimum number of numbers |
|
integer |
$digitmax: |
maximum number of numbers |
API Tags:
mixed isNumUnit(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string consists of measure and numbers
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isPath(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is path
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isPhone(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is a phone number
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isSomeText(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is some text
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags:
mixed isTime(
string
$str, [boolean
$mustfilled = false]
)
|
|
Check string is a date
Parameters:
|
string |
$str: |
string |
|
boolean |
$mustfilled: |
string may be empty ? |
API Tags: