Validates date set by user
void
dateValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the date
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if date is valid or false if it is not
Validates decimal number set by user
void
decimalValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the email
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if number is valid decimal value or false if it is not
Validates email set by user
void
emailValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the email
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if email is valid or false if it is not
Returns HTML code for a dropdown menu ("select" element) from a specify array
void
&getConstDropdown
(string $name, int $selected, array $optionsArray)
-
string
$name: name of the select element
-
int
$selected: which key is selected
-
array
$optionsArray: array whit the dropdown menu elements values
Return current date and time
void
getCurrentDateTime
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the email
-
object
$objDataManager: object of class miDataManager() or its subclasses return string current date and time
Validates gsm number set by user
void
gsmValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the email
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if gsm number is valid or false if it is not
Validates URL address set by user
void
httpValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the email
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if URL address is valid or false if it is not
Validates ICQ number set by user
void
icqValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the email
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if ICQ number is valid or false if it is not
Validates integer number set by user
void
intValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the email
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if number is valid integer or false if it is not
Validates IP number
void
ipValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the email
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if IP number is valid or false if it is not
Validates if the value set by user for a specify field is not exceed the maximum length for the field
void
maxLengthValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the value
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if value isn't exceed maximum length or false if it is
Validates if the value set by user for a specify field is exceed the minimum length for the field
void
minLengthValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: string with the value
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if value is exceed minimum length or false if it is not
Validates value for matchless in DB
void
uniqueValidator
(int $index, string $fieldValue, object $objDataManager)
-
int
$index: index of the field
-
string
$fieldValue: checked value
-
object
$objDataManager: object of class miDataManager() or its subclasses return boolean true if value is unique or false if it is not