Category Archives: Classes

MySQL Slideshow

Package:
MySQL Slideshow
Summary:
Present slideshow from images listed in a database
Groups:
Content management, Databases, Graphics
Author:
Barton Phillips
Description:
This package can be used to present slideshow from images listed in a database.

The main class can retrieve lists of images to be displayed from a MySQL database table.

The class can also add or update the slideshow image lists in the database table, but the actual images are stored in files.


Secure Session Extended

Package:
Secure Session Extended
Summary:
Prevent session hijacking and fixation attacks
Groups:
Security, User Management
Author:
Seth Carter
Description:
This class can be used to prevent session hijacking and fixation attacks.

It is based on the class originally written by Vagharshak Tozalakyan.

This version starts the session when the object is created, allows choosing the hashing algorithm used to encrypt the users fingerprints, and set the expiry time of the session.


CSS Stacker and Compressor

Package:
CSS Stacker and Compressor
Summary:
Compact several CSS files into a single file
Groups:
Files and Folders, HTTP, PHP 5
Author:
Camilo Sperberg
Description:
This class can be used to compact several CSS files into a single file.

It can take several CSS files and generate a single file by concatenating all files after having stripped any white-spaces.

The class can serve the resulting CSS file as the current script output.

The CSS may be compressed with GZIP. If the original files were not modified, the class may return HTTP status 304 to make the browser use a cached version and prevent serving a file that was not changed.


UploadFile

screenshot
Package:
UploadFile
Summary:
Process uploaded image files
Groups:
Files and Folders, HTTP
Author:
Jonathan Alexey
Description:
This package can be used to process uploaded image files.

There is a base class that can handle uploaded files of any type by copying or moving uploaded files.

There is also a sub-class that provides an additional functionality to validate uploaded image files by verifying the file name extension and checking the image dimensions.


Lagger

Package:
Lagger
Summary:
Handle errors of PHP applications
Groups:
Debug, PHP 5
Author:
Barbushin Sergey
Description:
This package can be used to handle errors of PHP applications.

It provides several classes that can handle PHP execution errors, exceptions and application debug calls.

The package also provides classes that implement actions for handling and of the types of errors.

Currently the action classes support: display the messages in the page, send an e-mail message, send a SMS message, log to a file, throw an exception, display a message in Firebug using the FirePHP extension, speak the message on Windows with WinSpeak.


Bread crumb page navigation

Package:
Bread crumb page navigation
Summary:
Display bread crumbs of pages visited by the user
Groups:
HTML, User Management
Author:
Aryashree Pritikrishna
Description:
This class can be used to display bread crumbs links to pages visited by the user.

It keeps track of pages visited by the user by storing their URLs in a session variable as HTML links.

The class displays the breadcrumb links right after they are updated with the currently visited page.

This class can generate bread crumb like navigation bars. It outputs an HTML ordered list of navigation links.


OAuth Twitter

Package:
OAuth Twitter
Summary:
Access Twitter API on behalf of an user
Groups:
PHP 5, Social Networking, User Management, Web services
Author:
Basil B Thoppil
Description:
This class can be used to access the Twitter API on behalf of an user using OAuth.

It uses the Zend Framework OAuth consumer package to generate a token for accessing the Twitter API on behalf of the current site user.

The class redirects to use to the Twitter site to verify the user permission and handles the request to receive the validated OAuth token.

From then on, the class can access the Twitter API using the OAuth token to perform several types of actions like: updating the user status, get the user followers and friends.


DbProxy

Package:
DbProxy
Summary:
Execute MySQL queries from SQL defined in XML
Groups:
Databases, PHP 5, XML
Author:
Claudius Tiberiu Iacob
Description:
This class can be used to execute MySQL queries from SQL templates defined in XML files.

It can parse a given XML file that contains definitions of SQL query templates.

The class can execute given MySQL queries eventually replacing template parameters with given values.


Powered by Gewgley