Tag Archiv: classes

Cache variables

Package:
Cache variables
Summary:
Cache variable values in PHP scripts
Groups:
Cache, Code Generation, PHP 5
Author:
Piotrek M
Description:
This class can be used to cache variable values in PHP scripts.

It can take the value of a variable and generate a cache file, if it does not exist already, that is PHP script that assigns the variable value.

The class can also load variable value from the cache file script if it exists and it is not expired.

The cache file may be invalidated by removing the cache file script.


PHP Object Notation

Package:
PHP Object Notation
Summary:
Serialize PHP variable values
Groups:
Data types, Web services
Author:
Jason Lam
Description:
This is a very simple class can be used to serialize PHP variable values.

It can generate a serialized version of a PHP variable value encoded as base64.

The class can also do the opposite, i.e. retrieve the original variable value from a string of previously serialized variable by the class.


Oscar CouchDb

Package:
Oscar CouchDb
Summary:
Manipulate data on a CouchDB database
Groups:
Databases, PHP 5, Web services
Author:
de saint leger christophe
Description:
This class can be used to manipulate data on a CouchDB database.

It can send requests to the Web services API of a CouchDB database server.

Currently it can send requests for adding, updating, copying, deleting and retrieving database records.

It can also retrieve the list of all databases, the list of database tables, and compact a database.


docType

Package:
docType
Summary:
Create HTML or XHTML depending on the user browser
Groups:
HTML, HTTP, PHP 5, XML
Author:
Michael A. Peters
Description:
This class can be used to create HTML or XHTML depending on the user browser.

It analyzes the current HTTP request Accept header and depending on whether the browser accepts XHTML documents or not, it creates a DOM document structure with the right DOCType element for XHTML or not.

The rest of the document structure can be composed with other regular calls to DOM object functions.


Image upload, restrict, display

Package:
Image upload, restrict, display
Summary:
Process and display uploaded image files
Groups:
Files, Graphics, HTTP
Author:
nirmalsinghkps
Description:
This class can be used to process and display uploaded image files.

It can take an image file uploaded via Web forms, make sure it has an image file extension. Then it moves the file to a given directory.

The class can also generate HTML tags to display the image in a Web page.


Very Simple XML Element

Package:
Very Simple XML Element
Summary:
Extend SimpleXML document composition capabilities
Groups:
PHP 5, XML
Author:
jonathan gotti
Description:
This class extends SimpleXML document composition capabilities.

It is a sub-class of the SimpleXMLElement class that provide functions for adding CDATA nodes, add attributes to tags, append, remove and replace nodes, etc..


xFraction

Package:
xFraction
Summary:
Perform mathematical operations with fractions
Groups:
Math, PHP 5
Author:
Robert
Description:
This class can be used to perform mathematical operations with fractions.

It can take as parameters fractional numbers represented in several ways, like array with numerator and denominator integer values, integer, floating point or string with a number.

The class can perform operations with fractional numbers like adding, subtracting, multiplying, dividing, comparison, cancel fraction, get the canceled reciprocal fraction.


Mini spiders and bots class

Package:
Mini spiders and bots class
Summary:
Perform useful actions using Web services
Groups:
PHP 5, Utilities and Tools, Web services
Author:
giulio pons
Description:
This class can be used to perform useful actions using Web services.

It can send requests to several different types of servers to perform actions like:

- Get text phrase correct spelling using Google search spelling suggestions
- Get exchange rates from Banca di Italia site
- Get weather forecasts from Google
- Get shorter URLs using TinyURL
- Get the geographic location of a given IP address using GeoIPTool
- Validate an e-mail address connecting to its SMTP server


Powered by Gewgley