Tag Archiv: classes

Box Cache

BoxCache logo
Package:
Box Cache
Summary:
Store and retrieve data in cache files
Groups:
Cache, Files and Folders, PHP 5
Author:
Alan Hoffmeister
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.


Moos Validation

Package:
Moos Validation
Summary:
Validate submitted form values according to rules
Groups:
HTTP, PHP 5, Validation
Author:
Hugo Mastromauro da Silva
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.


Flash Message

Package:
Flash Message
Summary:
Store message to show to user in session variables
Groups:
User Management
Author:
Bryan
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.


Simple login and database module

Package:
Simple login and database module
Summary:
Authenticate users with records in a MySQL table
Groups:
Databases, PHP 5, User Management
Author:
saeed ahmed
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.


NDNC Registration Checker

Package:
NDNC Registration Checker
Summary:
Check whether a number is registered in NDNC
Groups:
Web services
Author:
Mihir Kadiwala
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.


Change Characters

Package:
Change Characters
Summary:
Replace characters in a text strings
Groups:
PHP 5, Text processing
Author:
Juan Chaves
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.


Validation Class RoyalHeart

Package:
Validation Class RoyalHeart
Summary:
Validate string values
Groups:
PHP 5, Web services
Author:
Piotrek M
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.


Powered by Gewgley