Category Archives: Classes

Constant Array 2

Package:
Constant Array 2
Summary:
Enhanced declaration of array values as constants
Groups:
Data types, PHP 5
Author:
Ville Walveranta
Description:
This class can be used for declaration of array values as constants.

This class is based on similarly named ("Constant Array") class written by Sourav Ray.

This version includes the following changes to Sourav Ray's original code:

- Returns booleans for non-associative array values when given (optional)
- Returns values for associative array keys when given (optional)
- Eliminates use of eval() for security and speed
- Fixes Exception handling
- Code has been reformatted

** See the class phpDoc Block for further details!


IsSetAnd

Package:
IsSetAnd
Summary:
Assign value depending on array entry conditions
Groups:
Language, PHP 5
Author:
Corey Tisdale
Description:
This class can be used to assign value depending on array entry conditions.

It can check the value of an array entry and test one of several possible conditions.

The class returns the entry value if condition is satisfied, otherwise it returns NULL.

Currently it supports test conditions to verify if the array entry is set, is equal or different from another value, is a string with certain types of characters, is an array, compare with numeric values, etc..


XHaffman

Package:
XHaffman
Summary:
Encrypt and decrypt data using xor and compression
Groups:
Cryptography, PHP 5
Author:
XadillaX
Description:
This class can be used to encrypt and decrypt data using xor and compression operations.

It can take a string of data and encrypt it by using the xor operation with values of the encryption key. The encrypted result is compressed with gzip and encoded again using the xor operation with the key.

The class can also decrypt a previously encypted string of data by performing the same operations in the reverse order.


GTK Dialogs

screenshot
Package:
GTK Dialogs
Summary:
GTK Dialogs like JS ones
Groups:
GTK, GUI
Author:
Luis Martinez Ulloa
Description:
The base class extends the GtkMessageDialog GTK class. This class provides similar functions as javascript have. Additionally, can set the dialog title, and markup the message with pango for enhance the interface.

These can help to simplify the creation of UI and migration to this environment.


GTK Dialogs

screenshot
Package:
GTK Dialogs
Summary:
Open GUI dialog windows with PHP-GTK
Groups:
GUI, PHP 5
Author:
Luis Martinez Ulloa
Description:
This class can be used to open GUI dialog windows with PHP-GTK.

It can open dialog windows to display alert messages, confirmation or prompt requests.

The class returns the string value entered by the user in prompt dialogs or
the boolean value that deteremines whether the user has confirmed the confirm dialog question.

The dialog messages can be defined using HTML tags.


PDO Paginator

Imagem PDO Paginator
Package:
PDO Paginator
Summary:
Show links to browse query results got with PDO
Groups:
Databases, PHP 5
Author:
Anderson Makiyama
Description:
This class can be used to show links to browse query results retrieved with the PDO extension.

It extends the PDO class to add functions to execute queries and generate a links to browse listings of query results split in multiple pages.

The class allows to configure the limit number of results to display per page and the limit number of links to display.


Read Text Files

Package:
Read Text Files
Summary:
Read text files line by line
Groups:
Files and Folders, PHP 5, Text processing
Author:
Hamid Ghorashi
Description:
This class can be used to read text files line by line.

It can open text files and perform several types of line oriented operations.

Currently it can read one line at a time, jump to a given line number and count the total number of lines in the file.


URL Normalizer

Package:
URL Normalizer
Summary:
Normalize URLs according to RFC 3986
Groups:
PHP 5, Text processing
Author:
Glen Scott
Description:
This class can be used to normalize URLs according to RFC 3986.

It can take a given URL and may fix it to perform syntax based normalization.

Specifically it may lower the case hexadecimal codes of encoded characters, decode characters which are not reserved, removed unnecessary relative path segments, and lower case of the URL scheme and host name.


Ssearch

Package:
Ssearch
Summary:
Search and rank text results in an array
Groups:
PHP 5, Searching, Text processing
Author:
Richard Carson
Description:
This class can be used to search and rank text results in an array.

It can perform a query with keywords to be search in text entries stored in an array data set.

The class can return the search results sorted by relevance ranking.


Cisco IP Phone Framework

Package:
Cisco IP Phone Framework
Summary:
Generate XML for services of Cisco IP phones
Groups:
Libraries, PHP 5, XML
Author:
Tyler Winfield
Description:
This package can be used to generate XML for services of Cisco IP phones.

It provides several classes that can be used to compose and generate XML responses that may be used to describe and handle services to be made available from Cisco IP phones.

Currently it can generate XML for directory services, execute services, graphical and icon menu services, image services, input services, menu services and text services.


Powered by Gewgley