Category Archives: Classes

img_utils

Package:
img_utils
Summary:
Crop, resize and convert the format of images
Groups:
Graphics
Author:
marcelo entraigas
Description:
This class can be used to crop, resize and convert the format of images.

It can open an image in either GIF, PNG, JPEG or BMP formats and apply several types of image processing operations.

Currently it can crop, resize arbitrarily or proportionally the image.

The processed image can be saved back to a file in any of the supported formats.


Yahoo Status Checker

Package:
Yahoo Status Checker
Summary:
Check the online status of an Yahoo messenger user
Groups:
Chat, Web services
Author:
Davood Jafari
Description:
This class can check the online status of an Yahoo messenger user.

It access the Yahoo online services Web server and send a request to retrieve the online status of a given Yahoo messenger user.


Multi Threaded Daemon – enhanced

Package:
Multi Threaded Daemon - enhanced
Summary:
Daemon that spawns multiple parallel threads
Groups:
Daemon
Author:
Daniel Kadosh
Description:
This class implements a daemon that can spawn multiple parallel threads.

It is an enhanced version of the original Multithreaded Daemon class written by Killerwhile.

This version provides several robustness improvements, adds support for handling signals and a unique PID file to avoid multiple instances.


ADO-like CSV Reader

Package:
ADO-like CSV Reader
Summary:
Parse and retrieve data from CSV files
Groups:
Files and Folders, PHP 5
Author:
Jonathan Nichols
Description:
This class can be used to parse and retrieve data from CSV files.

It can parse CSV files and extract the data of its rows into class associative array variables.

The class can handle the first row of the CSV file as the headers row that define the names of the columns.

The field and row separator characters are configurable.


Validate Saudi ID

Example on how the class would look like.
Package:
Validate Saudi ID
Summary:
Validate Saudi resident identifier numbers
Groups:
Algorithms
Author:
Abdul-Aziz Al-Oraij
Description:
This class can be used to validate Saudi resident identifier numbers.

It takes a resident identifier number and calculates a checksum to verify whether it may be a valid number.

It returns either 1 (for Saudis), 2 (for non-Saudis) or FALSE (for invalid numbers).


Limit Result Set Iterator

Package:
Limit Result Set Iterator
Summary:
Retrieve a limited range of SQL query results
Groups:
Databases, PHP 5
Author:
fridayana baabullah
Description:
This package can be used to retrieve a limited range of SQL query results.

There is a base class that provides abstract range calculation based on the number of page and number of result rows per page to retrieve.

It also implements the Iterator interface to traverse query result rows.

This package also comes with an implementation class to execute and retrieve result set rows from MySQL databases.


Browser

Package:
Browser
Summary:
Retrieve Web pages emulating a browser
Groups:
HTML, HTTP, Testing
Author:
Jon Gjengset
Description:
This class can be used to retrieve Web pages emulating a browser.

It can retrieve a give page, parse it and proceed retrieving the pages or content that would result of clicking on given links or submitting forms in the initial page.

The class provides functions to locate the links to click or form to submit either specifying a Xpath expression or searching page elements by attribute.


ISBNDB Service

Package:
ISBNDB Service
Summary:
Retrieve book information by ISBN from ISBNDB.com
Groups:
PHP 5, Web services
Author:
Robert van der Linde
Description:
This package can be used to retrieve book information by ISBN from ISBNDB.com.

It accesses the ISBNDB.com Web services API server and execute several types of operations to request information about books.

There are several classes that can perform searches for books or retrieve information about specific books, categories, authors and publishers.


Remote Form

Package:
Remote Form
Summary:
Retrieve HTML forms input values
Groups:
HTML
Author:
Jon Gjengset
Description:
This class can be used to retrieve HTML forms input values.

It takes a DOMElement object of an HTML form and traverses it to find the form method, action, input names and values.

The class provides functions to return the extract form attributes.


RayHttp

Package:
RayHttp
Summary:
HTTP client to send requests to Web servers
Groups:
HTTP, Networking, PHP 5
Author:
Md. Rayhan Chowdhury
Description:
This class is an HTTP client to send requests to Web servers.

It can configure and send HTTP GET and POST requests using the Curl extension or PHP file access functions.

When using the Curl extension, all Curl options may be set changing a class array variable.


Powered by Gewgley