Category Archives: Classes

MySQL for PHP 5

Package:
MySQL for PHP 5
Summary:
MySQL database abstraction access layer
Groups:
Databases, PHP 5
Author:
Jonathan Discipulo
Description:
This class is a MySQL database abstraction access layer. It can:

- Establish connections to a database host
- Execute SQL queries
- Retrieve query results into arrays
- Retrieve the number of result set rows and the last inserted identifier


HTML Form Generator

Package:
HTML Form Generator
Summary:
Compose and generate HTML forms programmatically
Groups:
HTML, PHP 5
Author:
Lasantha Samarakoon
Description:
This class can be used to compose and generate HTML forms programmatically.

It comes with a main form class and several classes that abstract the different types of HTML elements, like: text, password, hidden, select, radio, checkbox, label and submit buttons.

The main class can add one or more elements to the composition of the form and then generate the HTML for the form and all the elements. The generated form is returned as a single string.


Class Error

Package:
Class Error
Summary:
Keep track of errors in session variables
Groups:
Debug, User Management
Author:
marcelo entraigas
Description:
This is a very simple class that can be used to keep track of errors in session variables.

It can take an error message and store it in a session variable. Multiple error messages may be stored in an array variable.

The class can also flush and display errors in an HTML page.


Sitemap Manager

Package:
Sitemap Manager
Summary:
Compose and generate sitemaps
Groups:
PHP 5, Searching, XML
Author:
Sucameli Giuseppe
Description:
This package can be used to compose and generate sitemaps.

It can compose a sitemap by either adding individual URLs or adding sitemap item objects that contain information more details for each URL, like the last modification time of the page, update frequency and weight.

The composed URL can be saved to a given file.


PHP Encryption

Package:
PHP Encryption
Summary:
Obfuscate PHP scripts by replacing variable names
Groups:
Code Generation, PHP 5, Utilities and Tools
Author:
Ewg
Description:
This class can be used to Obfuscate PHP scripts by replacing variable names.

It can parse a given PHP script and replace the names of the variables it uses with more obfuscated names.

The new names of the replaced variables can be retrieved by looking at a variable of the class.


PHP Code Encryption

Package:
PHP Code Encryption
Summary:
Obfuscate PHP scripts by replacing variable names
Groups:
Code Generation, PHP 5, Utilities and Tools
Author:
Ewg
Description:
This class can be used to Obfuscate PHP scripts by replacing variable names.

It can parse a given PHP script and replace the names of the variables it uses with more obfuscated names.

The new names of the replaced variables can be retrieved by looking at a variable of the class.


Dispatcher

Package:
Dispatcher
Summary:
Dispatch events to registered handler classes
Groups:
Language, PHP 5
Author:
Przemek Czekaj
Description:
This class cam be used dispatch events to registered handler classes.

It can register a class to handle events with a given name.

When an event occurs, the class can dispatch it by creating and calling an object of the registered handler class.

This class may also retrieve the response of event dispatching call returned by the handler class.


Safely Upload

Package:
Safely Upload
Summary:
Validate and process uploaded files
Groups:
Files and Folders, HTTP, PHP 5
Author:
Abdelkader Elkalidi
Description:
This class can be used to validate and process uploaded files.

It can take array of data for a given uploaded file and can check it to verify whether it does not exceed the maximum allowed size, check whether it has one of the allowed file name extensions, check whether the destination directory exists and is writable before copying it.

The class can also create the thumbnails if the uploaded file is an image.


HTML Element

Package:
HTML Element
Summary:
Generate HTML and CSS defined programmatically
Groups:
HTML, PHP 5
Author:
Andrei Andrei
Description:
This package can be used to generate HTML and CSS defined programmatically.

It has a class for defining CSS styles by setting the name and values of each property.

There is also another class that can generate HTML tags including defining its name, attributes and contained data.

This class is a basic class for creating HTML elements in PHP without having to write any html code.

The package contains the base class : htmlelement and a few other extension classes.


Powered by Gewgley