Category Archives: Classes

XML Site Navigation

Package:
XML Site Navigation
Summary:
Display a menu of links read from a XML file
Groups:
HTML, PHP 5, XML
Author:
Geoff Foley
Description:
This class can be used to display a menu of links read from a XML file.

It can parse a XML file and extracts the names and the URLs of the links in the menu.

The class generates a list of HTML links which is returned as a single string.


Remote Tweet

Package:
Remote Tweet
Summary:
Access a Twitter account on behalf of a given user
Groups:
PHP 5, Social Networking, Web services
Author:
Sam
Description:
This package can be used to access a Twitter account on behalf of a given user.

It can access the Twitter Web services API using oAuth to act on behalf of a given user.

Currently it can execute several types of operations with the given account like: updating the status, send a direct message or follow another user, and retrieve the details of an user.


HSBC

Package:
HSBC
Summary:
Process payments using the HSBC Web services API
Groups:
E-Commerce, Web services
Author:
Reazaul Karim - Rubel
Description:
This class can be used to process payments using the HSBC Web services API.

It can generate a page that automatically submits a form with some hidden fields to verify a payer passing his credit card details, payment amount and currency, and the URL of the return page.

Then it can send a request to the HSBC Web services API with the details of the verified payment and determine if the payment was accepted.


XML into user defined structure

Package:
XML into user defined structure
Summary:
Create objects from definitions in a XML document
Groups:
Language, PHP 5, XML
Author:
Oleg
Description:
This package can be used to create objects from definitions in a XML document.

It parses a given XML document with and creates objects of classes that correspond to the tag nodes that are found in the XML document.

The parser calls the classes functions to assign variables that correspond to the tag attributes.


Multi Threading, Daemon (Windows service)

Package:
Multi Threading, Daemon (Windows service)
Summary:
Create Windows service to run daemons
Groups:
PHP 5, Windows
Author:
Rock
Description:
This class can be used to used to create Windows service to run daemons.

This is mostly an example of how to start a Windows service using the Win32 PHP extension.

It register the service and starts a loop that goes on forever until the service is instructed to terminate.

In side the service loop the class calls a separate PHP script that can perform an arbitrary task as a thread running in parallel to the service daemon.


Facebook Custom Friend Selector and Search Form

Package:
Facebook Custom Friend Selector and Search Form
Summary:
Select friends of the current Facebook user
Groups:
HTML, PHP 5, Social Networking
Author:
mahabub
Description:
This class can be used to select friends of the current Facebook user.

It accesses the Facebook API to retrieve the list of the current user friends.

The class generates HTML and Javascript to present the friends list for selection and be posted to a given processing page.


BMP_Loader

Package:
BMP_Loader
Summary:
Read and write BMP images in pure PHP
Groups:
Files and Folders, Graphics, PHP 5
Author:
Dzsoni Voker
Description:
This class can be used to read and write BMP images in pure PHP.

It can read an image file in BMP format and parse its data to build an image that can be manipulated by the GD extension functions.

The class can also do the opposite, i.e. take a GD image resource handle and save the image data to a file in the BMP format.


Mix2ool

Package:
Mix2ool
Summary:
Web development framework integrated with jQuery
Groups:
Libraries, PHP 5
Author:
Alex Lau
Description:
This package is Web development framework integrated with jQuery.

It provides classes for various purposes that generate HTML 5 and JavaScript for generating user interfaces enhanced with JavaScript components based jQuery library.

CSS styles.


Option Pager

Demo the class Pager
Package:
Option Pager
Summary:
Generate links to browse listings split in pages
Groups:
HTML
Author:
comet
Description:
This class can be used to generate links to browse listings split in pages.

It takes the limit number of entries to list per page and get the current page number from a request variable to return the number of the first entry to list in the current page.

The class also takes the total number of entries to generate HTML links that can be used to go to the previous, next and any intermediate listing pages.


PHP – GD Watermarker

Package:
PHP - GD Watermarker
Summary:
Apply an watermark image on another image
Groups:
Graphics, PHP 5
Author:
Hossain Khan
Description:
This class can be used to apply an watermark image on another image.

It can load an image in PNG or JPEG format and can place a transparent watermark image over the original image.

The watermark image horizontal and vertical alignment and border padding are configurable parameters.

The resulting image with the applied watermark image is saved to a file with the same name of the original, but the class generates a backup copy before applying the watermark image.


Powered by Gewgley