Package:
Summary:
Store and retrieve data in cache files
Groups:
Author:
Description:
This class can be used to store and retrieve data in cache files.
It can store a given data string in a cache file with a given expiry period.
The class can also retrieve the data from a cache file if it was already previously stored there and it was not yet expired.
It can also remove one or all cache files from the cache or just remove all those that expired.
Package:
Summary:
Validate submitted form values according to rules
Groups:
Author:
Description:
This package can be used to validate submitted form values according to rules.
The is a base class that can take a definition of validation rules and error messages and checks submitted form values to determine wether the submitted values satisfy the validation rules.
Currently the base class supports validating value text length, date format, non-empty passwords, e-mail addresses, numbers, URLs and IP addresses.
There is also a sub-class that provides support for additional rules for validating types of values used in Brazil like CEP, CPF, CNPJ, phone numbers, dates and user names.
Package:
Summary:
Store message to show to user in session variables
Groups:
Author:
Description:
This class can be used to store and retrieve message to show to user in session variables.
It can set a given named message to display to the current user and assign it to a given session variable.
The class can also check if a named message was assigned and retrieve if so.
Package:
Summary:
Authenticate users with records in a MySQL table
Groups:
Author:
Description:
This class can be used to authenticate users with records in a MySQL table.
It can check a given user with a password. If the user exists and the password is correct, it will start a session and redirect the browser to a secure are page.
Package:
Summary:
Check whether a number is registered in NDNC
Groups:
Author:
Description:
This class can be used to check whether a number is registered in NDNC.
Package:
Summary:
Check whether a number is registered in NDNC
Groups:
Author:
Description:
This class can be used to check whether a number is registered in India National Do Not Call database.
It can send an HTTP request to the NDNC site Web server to check if a given phone number is registered.
The class parses the page and determines if the it states whether the number is registered or not.
Package:
Summary:
Manipulate MySQL records with an AJAX interface
Groups:
Author:
Description:
This class can be used to manipulate MySQL records with an AJAX interface.
It can generate HTML with Javascript to display and edit MySQL table records using AJAX to avoid reloading the page.
Package:
Summary:
Replace characters in a text strings
Groups:
Author:
Description:
This is a very simple class that can be used to replace characters in a text strings.
It takes a text string and removes dashes, underscores and spaces and replaces letters with accents by equivalent letters without accents.
Package:
Summary:
Check if a string has any invalid characters
Groups:
Author:
Description:
This class can be used to check if a string has any invalid characters.
It can traverse a given string to verify whether it contains characters that are not letters or digits considered invalid.
Package:
Summary:
Validate string values
Groups:
Author:
Description:
This class can be used to validate string values.
In can take one or more string values and validated them according to multiple validation rules.
Currently it can validate values for not being empty, match a regular expression, have a length between given limits, not having a string appear more than a given number of times, represent a value of a given type, have a numeric value within a given range.