Category Archives: Classes

Text to Timestamp

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

It can parse a given string with a relative time expression in English like "just a moment ago", "1 day ago" or "6 hours ago", into a time value.


dbclass_dre

Screen Shoot
Package:
dbclass_dre
Summary:
Backup and restore MySQL databases
Groups:
Compression, Databases, Systems administration
Author:
Hairul Azami
Description:
This class can be used to backup and restore MySQL databases.

It can connect to a given MySQL database server and generate SQL statements that can be used to recreate the database tables and its contents. The class can backup all tables or a given subset.

A separate auxiliary class can compress the backup data into a ZIP file.

The main class can also extract the ZIP archive and execute the SQL statements generated by a prior backup session.


UI Template

Package:
UI Template
Summary:
Compile HTML templates into PHP scripts
Groups:
PHP 5, Templates
Author:
deirathe
Description:
This package can be used to Compile HTML templates into PHP scripts.

It can parse an HTML template file to build a DOM like structure.

The code builder traverses the parsed template structure and generates a PHP script that is executed to process the template.

It supports custom tags that implement conditional sections, iterate over loops, include other template files, etc..

The compiled template scripts are stored in a cache directory to avoid recompilation overhead.


MySQL DB Connector

Package:
MySQL DB Connector
Summary:
Execute MySQL queries composed programmatically
Groups:
Databases, PHP 5
Author:
Tharange Priyankere
Description:
This class can be used to execute MySQL queries composed programmatically.

It can establish connections to a MySQL database server using the MySQLi extension.

The class can compose and execute SQL SELECT, INSERT, UPDATE and DELETE queries from lists of parameters that define tables, fields, field values and condition clauses.


Shoutcast Analytics

Package:
Shoutcast Analytics
Summary:
Get access statistics from a Shoutcast server
Groups:
Audio, Web services
Author:
Tyler Winfield
Description:
This class can be used to get access statistics from a Shoutcast server.

Object class connects to a Shoutcast streaming server and attempts to retrieve and parse out the available metadata and analytics information. The object requires a host, port and password to establish a connection.

NOTE: modified from original ShoutCast class as created by Henrik Malmberg (distributed under GNU GPL)


Send PM with Yahoo messenger from PHP

Package:
Send PM with Yahoo messenger from PHP
Summary:
Send instant messages to Yahoo messenger users
Groups:
Chat, Web services
Author:
CarcaBot
Description:
This class can be used to send instant messages to Yahoo messenger users.

It can send HTTP requests to Yahoo Messenger Web server to authenticate on behalf of a given user.

Then it can send another request to send an instant message to another Yahoo Messenger user.


MyBox

Package:
MyBox
Summary:
Calculate volumetric weight of a package
Groups:
E-Commerce, Physics
Author:
Roberto Aleman
Description:
This is a very simple class that can calculate volumetric weight of a package.

It takes the dimension of a package defined by its width, height and depth, and computes the volumetric weight.

The class displays the volumetric weight of the package expressed either in Kg or pounds.


Justin.TV Analytics

Package:
Justin.TV Analytics
Summary:
Get statistics of usage of Justin.tv
Groups:
Video, Web services
Author:
Tyler Winfield
Description:
This class can be used to get statistics of usage of Justin.tv.

Object class that connects to a Justin.tv video streaming channel to retrieve and parse out current channel metadata. Object requires the channel ID to establish the connect to the streaming server.


Powered by Gewgley