[RSValidation] element index

Package indexes

All elements
c e i r s
c
top
creditCard
RSValidation::creditCard() in RSValidation.php
Returns true if the passed argument is valid credit card number.
e
top
endsWith
RSValidation::endsWith() in RSValidation.php
Returns true if the string passed as first argument ends with the string passed as second argument. Otherwise false is returned.
i
top
isAlpha
RSValidation::isAlpha() in RSValidation.php
Returns true if the passed string contains only alpha characters.
isAlphanumeric
RSValidation::isAlphanumeric() in RSValidation.php
Returns true if the passed string contains only alpha-numeric characters.
isAlphanumericIncludingUnderscore
Returns true if the passed string contains only alpha-numeric characters and underscores (_)
isCleanText
RSValidation::isCleanText() in RSValidation.php
Returns true if the passed string contains only alphanumeric characters of the Western alphabets
isDate
RSValidation::isDate() in RSValidation.php
Validate date and times. The default format is YYYY-MM-DD.
isDateTime
RSValidation::isDateTime() in RSValidation.php
This method is just like RSValidation::isDate but with a default format of YYYY-MM-DD HH:MM:SS.
isEmail
RSValidation::isEmail() in RSValidation.php
Returns true if the passed string is formatted as a valid e-mail adress.
isFloat
RSValidation::isFloat() in RSValidation.php
Returns true if the first argument is a float.
isInt
RSValidation::isInt() in RSValidation.php
Returns true if the first argument is a number of a numeric string and has the maximum and/or minumum size as specified by the second and third argument.
isNumeric
RSValidation::isNumeric() in RSValidation.php
Returns true if the passed argument is a number or a numeric string.
isString
RSValidation::isString() in RSValidation.php
An alias for isStringExt.
isStringExt
RSValidation::isStringExt() in RSValidation.php
Returns true if the first argument is a string (http://www.php.net/is_string) and has a minimum and/or maximum length.
isTime
RSValidation::isTime() in RSValidation.php
This method is just like RSValidation::isDate but with a default format of HH:MM:SS.
isTimestamp
RSValidation::isTimestamp() in RSValidation.php
This method is just like RSValidation::isDate but with a default format of YYYYMMDDHHMMSS.
isValidDatabaseObjectName
Returns true if the passed string is valid database object name.
r
top
RSValidation.php
RSValidation.php in RSValidation.php
RSValidation
RSValidation in RSValidation.php
A Utility Class for Validating all kinds of data.
s
top
startsWith
RSValidation::startsWith() in RSValidation.php
Returns true if the string passed as first argument starts with the string passed as second argument. Otherwise false is returned.
c e i r s