Package:
Summary:
Retrieve data from a MySQL table into XML
Groups:
Author:
Description:
This class can be used to retrieve data from a MySQL table into a XML document.
It can execute a query to retrieve all data from a given MySQL database table.
The class generates a XML document from the data retrieved from the table. The XML document is displayed as the output of the current script.
Package:
Summary:
Manage a shopping cart stored in a MySQL database
Groups:
Author:
Description:
This class can be used to manage a shopping cart stored in a MySQL database.
It can perform several types of operations to manage the product items in a shopping cart by manipulating the respective records stored in a MySQL database table. Currently it can:
- Add an item
- Get the items
- Update the quantity of an item
- Delete an item
- Empty the cart
- Get the product price and name of an item
Package:
Summary:
Manage a shopping cart stored in a MySQL database
Groups:
Author:
Description:
This class can be used to manage a shopping cart stored in a MySQL database.
It can perform several types of operations to manage the product items in a shopping cart by manipulating the respective records stored in a MySQL database table. Currently it can:
- Add an item
- Get the items
- Update the quantity of an item
- Delete an item
- Empty the cart
- Get the product price and name of an item
Package:
Summary:
Retrieve the listing of files of a given directory
Groups:
Author:
Description:
This class can be used to retrieve the listing of files of a given directory.
It can traverse a given directory recursively and extract the listing of files into an array.
The listing of files may be sorted by name, type and size.
Package:
Summary:
MySQL database query wrapper
Groups:
Author:
Description:
This class is a MySQL database query wrapper.
It wraps the execution of SELECT, INSERT, UPDATE and DELETE queries.
The results from SELECT queries are gathered in a single array with values stripped from any slashes.
Package:
Summary:
Microsoft SQL server database access wrapper
Groups:
Author:
Description:
This package implements a wrapper to access Microsoft SQL server databases.
There is one class that takes care of establishing connections to a given SQL server host.
Another class can perform regular database access operations such as executing SQL queries, retrieve query results into arrays, execute common queries or stored procedures given a list of parameters.
Package:
Summary:
Retrieve the shortest URL from several services
Groups:
Author:
Description:
This class can be used to retrieve the shortest URL from several shortening services.
It accesses the APIs of different URL shortening services and sends a request to retrieve the short version of a given URL.
The class returns the short URL that is the shortest among all that were tried.
Currently it tries the following shortening services: tr.im, bit.ly and ur.ly.
Package:
Summary:
Check spelling of text and get fix suggestions
Groups:
Author:
Description:
This package can be used to check the spelling of text and get fix suggestions.
There is a base class that defines functions for spell checking.
There are also two classes for checking the spelling of text using either PHP scripts that contain arrays of valid words and grammar definitions, or using the hunspell program.
If the classes determine that there are misspelled words, they may return suggestions for eventual fixes.
Package:
Summary:
Cache the output of pages into files
Groups:
Author:
Description:
This class can be used to cache the output of pages into files.
It can check if a cache file exists and did not expire. If so, it outputs the contents of the cache file. Otherwise, the class starts capturing the output of the page.
In the end the class retrieves the just captured output of the page stores it in a cache file.
The class already compresses the output of the page that is cached.
The cache expiry time is configurable.