Package:
Summary:
Access different types of SQL database
Groups:
Author:
Description:
This package implements a database abstraction layer that provides the same interface to access different types of SQL databases.
There is a factory class that can create a instance of database access class specialized in access one of the several supported types of SQL databases.
Each database access class extends a configuration class and implements the same interface that provides functionality for establishing database connections, manage transactions, execute SQL queries, retrieve query results into arrays or objects and retrieve the number of affected rows or the last inserted row identifier.
Currently it provides classes for accessing MySQL, PostgreSQL and Oracle.
Package:
Summary:
Simple MySQL database access wrapper
Groups:
Author:
Description:
This class is a simple MySQL database access wrapper.
It can establish connections to a MySQL database server, select a database to access, execute SQL queries, return the number of affected table rows, return the number of result rows and retrieve the query result rows in arrays.
Package:
Summary:
Parse INI files without using PHP built-in support
Groups:
Author:
Description:
This class can be used to parse INI files without using PHP built-in support.
It can read an INI file line by line and get the setting values of each configuration section.
The parse results are returned in a bi-dimensional associative array to make it easier to access settings by section and option name.
Package:
Summary:
Create blog posts stored in text files
Groups:
Author:
Description:
This class can be used to create blog posts which are stored in text files.
It can create blog posts that are stored in a text file, removing all line breaks of the blog post HTML so each post only occupies line in the blog file.
The class also removes dangerous tags that can be used to perform cross-site scripting attacks.
It can also extract blog post data from the blog file.
Package:
Summary:
Display calendars marked with special event days
Groups:
Author:
Description:
This class can be used to display calendars marked with special event days.
It can generate an HTML table that displays the days of a given month.
The calendar may denote certain dates of special events that appear as links.
The presentation details of the different calendar elements may be configured with CSS styles.
Package:
Summary:
Show and hide of a page element using jQuery
Groups:
Author:
Description:
This class can be used to show and hide of a page element using the jQuery library.
It can generate HTML with JavaScript code that uses the jQuery library to make a given page element show or hide using slide effects when the user clicks in a button.
The toggle button may use a given text or an image.
Package:
Summary:
Validate and process uploaded files
Groups:
Author:
Description:
This class can be used to validate and process uploaded files.
It can take an uploaded file and check the file name extension in a list of allowed and disallowed extensions.
The class can copy the file to a given directory and have an unique name.
Package:
Summary:
Display interstitial advertising
Groups:
Author:
Description:
This class can be used to display interstitial advertising.
It generates HTML and JavaScript that makes an advertising page appear on the current page and then automatically disappears if the user clicks on the skip link or does not click on the advertising after a few seconds.
The advertising display time is configurable. The same user may also not be exposed to the same advert for until a given period.
The class may invoke a given callback function when the user clicks on the advert or in the skip links.
Package:
Summary:
Implementation of one dimensional bin packing
Groups:
Author:
Description:
This class implements one dimensional bin packing algorithms.
It takes an array of values and can determine the next fit, first fit, best fit, worst fit.
The class also implements the Ant-Colony-Optimization bin-packing solver.
Package:
Summary:
Handle PHP fatal and non-fatal execution errors
Groups:
Author:
Description:
This class can be used to handle PHP fatal and non-fatal execution errors.
It registers an error handler that is capable of a backtrace with the list of functions and arguments used to call the code that causes an error, send that information to the current page output or the PHP error log, or send an e-mail message to the administrator.
The class can also trap fatal errors using a special PHP script shutdown callback function.