Category Archives: Classes

Proxy

Package:
Proxy
Summary:
Extract lists of proxy servers from remote sites
Groups:
Code Generation, PHP 5, Web services
Author:
Petter Kjelkenes
Description:
This class can be used to extract lists of proxy servers from remote sites.

It goes through a list of remote sites and retrieve pages that contain lists of proxy servers.

The class parses the retrieved pages to extract the proxy server addresses.

It generates a PHP script with the details of all the proxy servers.


Apinstall

example bar
Package:
Apinstall
Summary:
Show a progress bar for a server job using AJAX
Groups:
AJAX, HTML, PHP 5
Author:
Pawel Janisio
Description:
This class can be used to show a progress bar for a job running on the serve using AJAX to update the bar.

It displays a bar place holder section on the page that will be updated when the job progresses.

The class also generates Javascript that uses the jQuery library to send AJAX requests to retrieve the job progress status.

The class gets update notices from the PHP script running the server job and updates a file that is updated with job progress information. This information is served to the browser when it gets the job status AJAX request.


CouchDB Session Handler

Package:
CouchDB Session Handler
Summary:
Session handler that stores data in CouchDB
Groups:
Databases, PHP 5, User Management
Author:
Jo Giraerts
Description:
This package implements a PHP session handler that that stores and retrieves session data in a CouchDB database.

The handler class implements all session management functions by sending HTTP requests to a CouchDB database.


Report

Package:
Report
Summary:
Show MySQL results in pages updated using AJAX
Groups:
Databases, HTML
Author:
kai
Description:
This class can be used to show MySQL query results in pages with browse links updated using AJAX to avoid page reloading.

It can execute a given MySQL query and display the results in an HTML table.

The table may have headers with links that sort the results when they are clicked.

The listing may also be split in multiple pages with a limited number of result rows. Pagination links are display to let the user browse other query result pages.

AJAX requests are sent to retrieve new pages of results when either the sorting or pagination links are clicked to avoid full page reloading.


Typesafe Enum

Package:
Typesafe Enum
Summary:
Implement enumerated values as class functions
Groups:
Code Generation, Data types, PHP 5
Author:
Fabian Schmengler
Description:
This class can be used to implement enumerated values as class functions.

It takes the name of a class and the list of names for enumerated values to define and generates code for a new class that defines the enumerated values.

The enumerated values can be retrieved using static function calls to the generated class.


Trigonometric tools

Package:
Trigonometric tools
Summary:
Calculate sine, cosine and tangent of angles
Groups:
Math, PHP 5
Author:
Mohammed Cherkaoui
Description:
This class can be used to calculate sine, cosine and tangent of angles.

It can perform calculations compute the sine of an angle from the cosine or tangent values, or the cosine of an angle from the sine or tangent.


Link CSV

Package:
Link CSV
Summary:
Load and merge the data of two CSV files
Groups:
Databases, Files and Folders, Tables
Author:
Schubertus Hodenus
Description:
This class can be used to load and merge the data of two CSV files.

It can load a CSV file and return an array with the loaded data.

The class can also take the arrays of data of two previously load and link them in order to merge the rows that have the same value of two given columns of each of the CSV files.

It can also add, change and delete rows of a CSV file, as well search for values in its rows.

The comments in the code are in German.


connector

Package:
connector
Summary:
Execute MySQL prepared queries
Groups:
Databases, PHP 5
Author:
Muralikrishna Srinivasan
Description:
This class can be used to execute MySQL prepared queries.

It can prepare and execute MySQL prepared queries using the MySQLi extension.

The query values and types are passed as arrays.

The query results are returned as bi-dimensional arrays.


Binary Tree Representation

Package:
Binary Tree Representation
Summary:
Display the nodes of a tree in a MySQL database
Groups:
Databases, HTML
Author:
vijay
Description:
This class can be used to display the nodes of a tree in a MySQL database.

It can recursively traverse the nodes of a tree stored in MySQL database table and display the node names in an HTML page.


ApPHP Calendar

Montly View
Package:
ApPHP Calendar
Summary:
Display month calendars in HTML tables
Groups:
AJAX, HTML, PHP 5, Time and Date
Author:
Chara Miteo
Description:
This class can be used to display month calendars in HTML tables.

It can generate HTML tables that display the days of calendar months of whole years.

The class displays links that allow browsing different month calendars using AJAX to avoid page reloading.


Powered by Gewgley