Tag Archiv: classes

Loading Div

screenshot of firefox
Package:
Loading Div
Summary:
Display an animation while a page is loading
Groups:
HTML
Author:
Gianluca Zanferrari
Description:
This class can be used to display an animation while a page is loading.

It generates HTML and Javascript to be outputted in the beginning of a page that makes an animated GIF image appear over the page while it is loading.

The animated image disappears when the pages finishes loading.


Image Manipulation Class

Package:
Image Manipulation Class
Summary:
Manipulate and convert images from files
Groups:
Graphics, PHP 5
Author:
Lasantha Samarakoon
Description:
This class can be used to manipulate and convert images from files.

It can open images from files in GIF, JPEG, PNG formats, and can perform several types of image manipulation operations like: resizing, cropping, convert to grey scale or sepia.

The manipulated images can be saved back to files also in the GIF, JPEG and PNG formats.


PHP Website Multi Language

Package:
PHP Website Multi Language
Summary:
Translate application texts using Google Translate
Groups:
Code Generation, Localization, Web services
Author:
Sandeep Kumar
Description:
This class can be used to translate application texts using Google Translate.

It can take a script with an array of texts in English and sends requests to the Google Translate Web site to translate each of the texts to another idiom.

The class generates a new script for the target language with an array with the texts translated to that language.


SQL Query Generator

Package:
SQL Query Generator
Summary:
Generate SQL queries from lists of parameters
Groups:
Databases, PHP 5
Author:
syed abdul baqi
Description:
This class can be used to generate SQL queries from lists of parameters.

It takes as parameters the name of a table, fields, field values, conditions, etc..

The class can return strings with SQL statements to execute SELECT, INSERT, UPDATE and DELETE queries.


Multi Singleton

Package:
Multi Singleton
Summary:
Implementation of the singleton design pattern
Groups:
Design Patterns, PHP 5
Author:
Sebastian Potasiak
Description:
This class implements the singleton design pattern.

It provides an interface that has a constructor function that once called stored objects of each singleton class in static array class variable.

This way the objects of a singleton class are only instantiated once.


PHP parallel programming

Package:
PHP parallel programming
Summary:
Run parallel scripts using a C++ program
Groups:
Language, PHP 5
Author:
akash
Description:
This package can be used to run multiple parallel scripts using a C++ program.

It can start parallel scripts that may run synchronously or asynchronously using the compiled C++ program to run PHP command line program.

It can control the execution of parallel scripts and retrieve their output.


CSS Dispatcher

Package:
CSS Dispatcher
Summary:
Compose CSS style sheets from multiple templates
Groups:
PHP 5
Author:
Israel Viana
Description:
This package can be used to compose CSS style sheets from multiple templates.

It can process one or more CSS templates that are actually PHP scripts.

The templates are processed by assigning PHP variables with template variable values and then the template script is executed and its output captured to get the final result.

A CSS template maybe evaluated conditionally depending on the type of browser accessing the current script.

The main class assembles the output of all CSS templates and may optimize them before outputting by removing needless white spaces.


HN_htusers

shows Manageform used with htuserfile, htgroupfile and htinfofile
Package:
HN_htusers
Summary:
Manage Apache user and group authentication files
Groups:
Configuration, User Management
Author:
Horst Nogajski
Description:
This class can be used to manage Apache user and group authentication files.

It can manage Apache .htaccess and .htgroup files to define users, groups and passwords for authentication. Optionally it can manage extra information for users, stored in a third file.

It uses Apache-style MD5-crypt passwords to be portable between win and *nix platforms.

The class provide a forms based user interface to manage the authorization files definitions of users and groups.

It can also perform HTTP basic authentication for users defined in the configuration files directly from PHP instead of having it done by Apache.

This class is based on prior work by Jarno Elonen and Sarah King.


MySQLi access

Package:
MySQLi access
Summary:
MySQL database access using MySQLi
Groups:
Databases, PHP 5
Author:
Julie Duvillier
Description:
This package can be used to access MySQL databases using MySQLi.

The main class extends the MySQLi class : establish connection, execute SELECT, INSERT, UPDATE and DELETE queries from lists of parameters and get the fields of a table.
Exceptions of the class are handled by MySQLi_exception_class which extends the class Exception.

Other auxiliary classes deal with query results and prepare query statements.


Simple XML Generator

Package:
Simple XML Generator
Summary:
Create XML documents from arrays using SimpleXML
Groups:
Data types, PHP 5, XML
Author:
Marcos Timm Rossow
Description:
This class can be used to create XML documents from arrays using SimpleXML PHP extension.

The generated document and be displayed as the current script output.

It takes an associative array and traverses it recursively to add tags and data to the XML document.

The code and comments are in Portuguese.

In Portuguese:
Simples classe que gera um arquivo XML a partir de um Array Associativo


Powered by Gewgley