Category Archives: Classes

Timezone Selector

Package:
Timezone Selector
Summary:
Generate select input to choose a time zone
Groups:
HTML, PHP 5, Time and Date
Author:
Dave Hale
Description:
This class can be used to generate select input to choose a time zone.

It retrieves the list of supported time zones and generates HTML for a form input of type select to let the use choose one of the listed time zones.


TimezoneSelector

Package:
TimezoneSelector
Summary:
Generate select input to choose a time zone
Groups:
HTML, PHP 5, Time and Date
Author:
Dave Hale
Description:
This class can be used to generate select input to choose a time zone.

It retrieves the list of supported time zones and generates HTML for a form input of type select to let the use choose one of the listed time zones.


Time_When

Package:
Time_When
Summary:
Convert relative times into English expressions
Groups:
PHP 5, Time and Date
Author:
Martin
Description:
This class can be used to convert relative time values into English expressions.

It can associate relative time ranges with text that describes the difference between two time values in English.

The class returns a text that expresses the relative difference between two time values, like for instance "3 months ago".


MailChimp API Wrapper

Package:
MailChimp API Wrapper
Summary:
Send e-mail messages using MailChimp API
Groups:
Email, PHP 5, Web services
Author:
Andrew Aculana
Description:
This class can be used to send e-mail messages using MailChimp API.

It can send XML-RPC requests to MailChimp API Web server to perform several types of operations.

Currently it can manage campaigns, lists, accounts, API keys, etc..


Easy Message

view of message box
Package:
Easy Message
Summary:
Display messages read from an XML file
Groups:
HTML, PHP 5, XML
Author:
Claudio Eden da S. Junior
Description:
This class can be used to display messages read from an XML file.

It can parse a XML file with messages and generate HTML to display a given message on a Web page.

The message is displayed using a different CSS class according to the type of message defined in the CSS file.


EstGraph

Package:
EstGraph
Summary:
Generate an image with a text string
Groups:
Graphics, Text processing
Author:
Jonathan Alexey
Description:
This class can be used to generate an image with a text string.

It can create an image with a given size and renders a text inside the image. The text color, background color, text position and font are configurable.

The generated image is saved to a file in either GIF, JPEG and PNG formats.

The code and the comments are in Portuguese.


Directory Handler

Package:
Directory Handler
Summary:
Rename, copy or delete directories
Groups:
Files and Folders, PHP 5
Author:
Gilberto Albino
Description:
This class can be used to rename, copy or delete directories.

It can traverse a given directory recursively and copy its files and sub-directories to a given destination directory.

The class may also delete a given directory by deleting its contents first.

It can also rename a directory by copying its contents to a new directory with the final name. Then it deletes the directory with the original name.


PHP Installer

Package:
PHP Installer
Summary:
Create PHP application install scripts
Groups:
Code Generation, Utilities and Tools
Author:
Federico
Description:
This class can be used to create PHP application install scripts.

It generates a single PHP script that can install an application when it is executed.

The class generates a script that may contain compressed versions of the application scripts and other types of files.

It may also contain a dump of the MySQL application database that is restored when the generated installer script is executed.


Simple Singleton

Package:
Simple Singleton
Summary:
Create singleton objects
Groups:
Design Patterns, PHP 5
Author:
freedelta
Description:
This is a simple class that can be used to create singleton objects.

When requested, it can create an instance of the class itself and store it as static variable.

If the class object was already created and stored in the static variable, the class returns that object.


RainTPL

Package:
RainTPL
Summary:
HTML template engine caches compiled results
Groups:
HTML, Templates
Author:
Federico
Description:
This package implements an HTML template engine caches compiled results.

There is a template loader class that checks whether a given template was previously compiled.

Another class is responsible for compiling a template it it was not yet processed. The results are stored as PHP scripts in a given template cache directory.

It supports variable replacement with configurable delimiters, conditional sections, sections to be ignored or not parsed and loops.


Powered by Gewgley