Monthly Archiv: July, 2010

Output Filter

Package:
Output Filter
Summary:
Filter scalars, arrays, data objects recursively
Groups:
Data types, PHP 5, Validation
Author:
Fabian Schmengler
Description:
This package can be used to filter the values of scalars, arrays, data objects recursively.

It can take an arbitrary value and apply filtering operations implemented by separate filter classes.

Arrays and objects can be traversed recursively to filter all their member values.

Multiple filter objects can be arranged in a chain to perform several types of filtering operations.

Currently the package includes filter classes for encoding text as HTML with entities, convert new line characters to HTML line break tags, etc..

This package also provides wrappers to use the filters with the Zend Framework and Smarty template engine.


Animus Comments

This script lets you add a "comments" section to any web pages that you control. It can block spambots by using a captcha, filter out obscene language, and be made to look like your site so that it doesn't stick out. It even has the ability to let people rate comments -- comments with high rating will be displayed more visibly, comments with lower ratings can be hidden. This script lets you get feedback on your pages, so you have an easy way to communicate with your visitors. It has a number of features designed to reduce any type of abuse, and it's extraordinarily easy to install -- adding comments to a page is as simple as copying a single line of code.

Array Class

Package:
Array Class
Summary:
Manipulate numeric array values
Groups:
Data types, Math
Author:
Kai Ming Choi
Description:
This class can be used to manipulate numeric array values.

It can perform several types of operations with numeric values of array entries.

Currently it can determine the maximum, minimum, median, average and sum of numeric array values, convert the array values to a string and vice-versa.


Equation

Package:
Equation
Summary:
Evaluate and render polynomial equations
Groups:
HTML, Math, PHP 5
Author:
Francisco Jose Naranjo
Description:
This package can be used to evaluate and render polynomial equations.

It can take an array of coefficients of a polynomial equation and can evaluate it for a given x value.

It can also generate HTML to render the equation in a Web page.


File MIME Class

Package:
File MIME Class
Summary:
Determine the MIME type from a file name extension
Groups:
Files and Folders, PHP 5
Author:
Kai Ming Choi
Description:
This class can be used to determine the MIME type from a file name extension and vice-versa.

It can take a given file name extension and return the associated MIME type.

The class can also do the opposite, i.e. determine the file name extension associated to a given MIME type.


HK/TW/CN ID Class

Package:
HK/TW/CN ID Class
Summary:
Validate IDs of China, Taiwan or Hong-Kong
Groups:
PHP 5, Text processing, Validation
Author:
Kai Ming Choi
Description:
This package can be used to generate or validate identifier numbers of China, Taiwan or Hong-Kong.

It consists of separate classes that can verify whether identifier numbers for each of the supported countries are valid.

The classes can also generate random identifier number that would be considered valid.


Powered by Gewgley