Tag Archiv: classes

lightweight MVC Lang

Package:
lightweight MVC Lang
Summary:
Retrieve application texts from MySQL database
Groups:
Databases, Libraries, Localization, PHP 5
Author:
martin barker
Description:
This class can be used to retrieve localization texts from MySQL database.

It extends the base model class of the Lightweight MVC framework to retrieve text translations for any supported idiom.

If the specified text is not available for the given idiom is not available, it defaults to English.

The application idiom can be stored in cookies.


Matrix algebra

Package:
Matrix algebra
Summary:
Perform operations with matrices
Groups:
Math, PHP 5
Author:
Ricardo Gamba
Description:
This class can be used to perform algebra operations with matrices.

It takes the definition of the coefficient values of a matrix and can perform several types of algebra operations.

Currently it can calculate the sum, substraction, multiplication, determinant, adjoint, inverse, Gauss-Jordan reduction algorithm, etc..


Search Words

Package:
Search Words
Summary:
Extract the keywords used in search sites
Groups:
HTTP, PHP 5, Searching
Author:
Rubens Takiguti Ribeiro
Description:
This class can be used to extract the keywords used in search sites that lead the user to the current site.

It analyzes the referrer URL request header to determine if the user visited a known search site.

The class can extract the keywords that the user entered in the search site.


Fast Site

Package:
Fast Site
Summary:
Generate HTML documents programmatically
Groups:
HTML, PHP 5
Author:
siarka
Description:
This class can be used to generate HTML documents programmatically.

It can compose an HTML document by calling functions to set different page element values like the page title, document type, character set, meta tags, and JavaScript code.

The class assembles all the supplied parameter tags and outputs the generated document header or footer.


Facebook Connect

Package:
Facebook Connect
Summary:
Authenticate Facebook users using Facebook Connect
Groups:
PHP 5, Social Networking, Web services
Author:
Huzoor Bux
Description:
This class can be used to authenticate Facebook users using Facebook Connect.

It displays a Facebook Connect button to let the users click and be lead to a Facebook page on which they may authorize your application to obtain access to the Facebook user accounts.

The user browser is redirected to a configurable page on which applications may access the authorized user account details.


Language System

Package:
Language System
Summary:
Let the user choose the application idiom
Groups:
Localization, PHP 5
Author:
Stanescu Mihai
Description:
This class can be used to let the user choose the application idiom.

It can scan a directory with files with texts to support different idioms and display a form select input to let the user choose the idiom he prefers from a list available idioms.

The chosen idiom can be stored in a cookie to let the class load the respective application idiom texts.


allowHTML

Package:
allowHTML
Summary:
Filter insecure HTML following OWASP AntiSamy
Groups:
HTML, Security, Validation
Author:
Simon Emery
Description:
This class can be used to filter insecure HTML following OWASP AntiSamy rules.

I can parse HTML documents using DOM document objects and then remove unsafe tags, attributes and CSS parameters.

It uses a configurable whitelist to determine which tags, attributes and CSS style parameters are allowed.

The class may also apply filtering rules defined in a separate AntiSamy XML rules file.


Benchmark Class

Example of usage of the class in my S-MVC framework
Package:
Benchmark Class
Summary:
Measure the time elapsed between two moments
Groups:
PHP 5, Testing, Time and Date
Author:
David Constantine
Description:
This class can be used to measure the time elapsed between two moments.

It can take note of a start time and an end time.

The class can return the time that elapsed between the start and end times in seconds.


text2timestamp

Package:
text2timestamp
Summary:
Parses and extract times of English text
Groups:
PHP 5, Text processing, Time and Date
Author:
Igor Shevchuk
Description:
This class can be used to parses and extract times of English text.

It takes a text string to analyze and recognizes time based expressions. Currently it recognizes about 20 time format variations.

The class extracts the time mentioned in the text as well the remaining action text that is related to the time expression.


Powered by Gewgley