Category Archives: Classes

Pagination Class for paging

Package:
Pagination Class for paging
Summary:
Generate links to browse listings split in pages
Groups:
HTML, PHP 5
Author:
Pankaj Kumar Jha
Description:
This class can be used to generate links to browse listings split in pages.

It takes as parameters the total number of entries in a listing and the limit number of entries to display per page.

The class returns a list of links to browser to the next, previous, first and last pages of the listing.


Domain Lookup

Package:
Domain Lookup
Summary:
Check whether a domain is registered or available
Groups:
Networking, PHP 5
Author:
Keshav Mishra
Description:
This class can be used to check whether a domain is registered or available for registration using the Whois protocol.

It takes a domain name and determines which is the associated top level domain.

The class sends a query to the Whois server of the top level domain and determines whether the domain is registered or not.


logar

Package:
logar
Summary:
Send log messages to files or e-mail
Groups:
Email, Files and Folders, Logging, PHP 5
Author:
Jose G
Description:
This class can be used to send log messages to files or e-mail.

It can send given log messages to log files or to a given e-mail address depending on the log level.

The log messages are prefixed by the current date and time and the application name.


Custom Form Validation

Package:
Custom Form Validation
Summary:
Validate form values according to several rules
Groups:
PHP 5, Validation
Author:
johno dread
Description:
This class can be used to validate form values according to several rules.

It can check field values of forms submitted using the POST method and perform several types of validation.

Invalid values are associated to given error messages.

Currently it can validate field values with rules: has alphanumeric characters, is a date or time, is an e-mail, has only numbers, has an exact or minimum length, is different from another field, is not empty, is a phone number, is an URL, or is an social security number.

It may also clean values to prevent cross-site scripting attacks.


Email Validation

Package:
Email Validation
Summary:
Validate a list of e-mail addresses from a file
Groups:
Email, PHP 5, Validation
Author:
Mahmoud Farag
Description:
This class can be used to validate a list of e-mail addresses from a file.

It can import a list of e-mail addresses from a given text file.

The class can validate the e-mail addresses discarding those with invalid syntax or are duplicated.

The filtered list of e-mail addresses is returned as an array.


ApPHP TreeMenu

General View
Package:
ApPHP TreeMenu
Summary:
Display a multi-level collapsible tree menu
Groups:
HTML, PHP 5
Author:
Chara Miteo
Description:
This class can be used to display a multi-level collapsible tree menu.

It can add items to menu objects specifying their label texts and icons. Menu items can have sub-menus.

The class can generate the necessary HTML and Javascript to display the defined collapsible menus.


Powered by Gewgley