class tree: 68Classifieds |
index: 68Classifieds |
all elements
Constructor Validate (line 31)
alphaCheck (line 220)
getErrorList (line 281)
isEmailAddress (line 179)
isEmpty (line 43)
isError (line 264)
isLessThan (line 104)
isMatch (line 159)
isNumber (line 83)
isSingleEmail (line 200)
isString (line 63)
isValidCoupon (line 238)
isWithinRange (line 138)
resetErrorList (line 291)
Validate
Description
Server side validation
Located in /includes/classes/kernel/Validate.php (line 17)
Direct descendents
| Class | Description |
|---|---|
credit_card
|
Credit Card Class |
Variable Summary
Method Summary
Methods
Constructor Validate (line 31)
Validate Constructor
Validate
Validate
()
alphaCheck (line 220)
Check value is alphanumeric
boolean
alphaCheck
(mixed $value, $msg)
- mixed $value
- $msg
getErrorList (line 281)
Get the error list
string
getErrorList
()
isEmailAddress (line 179)
Check email address is correct.
boolean
isEmailAddress
(string $value, string $msg)
- string $value
- string $msg: The message to report on error.
isEmpty (line 43)
Check for empty variable
boolean
isEmpty
(mixed $value, string $msg)
- mixed $value
- string $msg: The message to report on error.
isError (line 264)
Checks to see if any errors exists.
boolean
isError
()
isLessThan (line 104)
Check the length of a string.
boolean
isLessThan
(str $value, string $msg, int $max)
- str $value
- string $msg: The message to report on error.
- int $max: The maximum characters.
isMatch (line 159)
Check two values match
boolean
isMatch
(mixed $value, mixed $value2, string $msg)
- mixed $value
- mixed $value2
- string $msg: The message to report on error.
isNumber (line 83)
Check for number
boolean
isNumber
(int $value, string $msg)
- int $value
- string $msg: The message to report on error.
isSingleEmail (line 200)
Check the string entered as email is just one.
boolean
isSingleEmail
(mixed $value, string $msg)
- mixed $value
- string $msg: The message to report on error.
isString (line 63)
Check for string
boolean
isString
(string $value, string $msg)
- string $value
- string $msg: The message to report on error.
isValidCoupon (line 238)
Check coupon entered is valid.
boolean
isValidCoupon
(mixed $value)
- mixed $value
isWithinRange (line 138)
Check if a number is within a range
boolean
isWithinRange
(int $value, string $msg, int $min, int $max)
- int $value
- string $msg: The message to report on error.
- int $min
- int $max
resetErrorList (line 291)
Reset the error list
array
resetErrorList
()

