Category Archives: Classes

Supervisor of filling of folders

Package:
Supervisor of filling of folders
Summary:
Monitor the size of files in file
Groups:
Files and Folders, PHP 5, System information
Author:
Roberto Aleman
Description:
This class can be used to monitor the size of files in file.

It can traverse a given directory recursively and account the size that files are taking in the disk.

The class can repeat the process after a given period of time and the it display a chart using the Google Chart API to show the current disk space usage and change during the delay time.

En Español:

Cuando Tenemos una web que usan muchos usuarios, necesitamos saber cuanto crecen las carpetas críticas de la misma, por ejemplo , las imagenes y documentos que los usuarios suben a carpetas compartidas, asi mismo si disponemos de un limite para cada usuario de una cantidad específica de bytes sería de gran ayuda tener una alarma que nos indique en cada caso la estimación necesaria para intervenir y aumentar el tamaño de los discos duros, imaginémos una web con millones de usuarios lo importante que esto significa.

Usando la API Google Chart podemos construir interesantes e importantes controles que le favorecerian la visión de lo que está sucediendo en un sitio web a webmaster.

Con un poco de trabajo los usuarios que utilicen esta clase pueden aplicarla a un panel de control mediante AJAX.

Esta Clase envía varios parametros:

$url a monitorear: la cual debe estar en el mismo servidor donde se ejecuta el script.
$width_img y $height_img : las medidas del gráfico para Google Chart
$time: el tiempo o intervalo que de monitoreo.
$max_value: el tamaño critico de referencia para hacer los calculos.


HTMList

Package:
HTMList
Summary:
Create and manipulate HTML output programaticallly
Groups:
HTML
Author:
Niels Nielsen
Description:
This class can be used to create and manipulate HTML output programaticallly.

It can create HTML blocks from parameters passed to the class functions.

The class provides many other types of functions that implement operations to manipulate the created HTML blocks like: adding tags or content before or after a block and indenting or outdenting the HTML.


Moby Thesaurus

Package:
Moby Thesaurus
Summary:
Get synonyms and parts of speech of given words
Groups:
PHP 5, Text processing
Author:
Brent Rossen
Description:
This class can be used to get synonyms and parts of speech of given words.

It takes a given word and finds synonyms in a dictionary. If the exact word is not available, the class uses stemming algorithms to find synonyms of closer words.

The class can also get a list of parts of speech that include a given word.


Simple MySQL wrapper replicator

Package:
Simple MySQL wrapper replicator
Summary:
Access multiple MySQL servers
Groups:
Databases
Author:
denis
Description:
This class can be used to access multiple MySQL servers.

It can attempt to connect to MySQL database servers from a list and executes a given SQL query.

If it fails the class repeats the process trying to access another server from the list until it succeeds or the list ends.


CountDown class

Package:
CountDown class
Summary:
Display the time remaining to a give date
Groups:
PHP 5, Time and Date
Author:
Angelo Geels
Description:
This class can be used to display the time remaining to a give date.

It takes a given final date and computes the remaining time to reach that date.

If the date has not been reached, the class displays the remaining time in weeks, days, hours, seconds and minutes. Otherwise the class just displays a countdown finished message.


Class YouTube API

Package:
Class YouTube API
Summary:
Manage and get information from YouTube videos
Groups:
PHP 5, Video, Web services
Author:
sandip
Description:
This class can be used to manage and get information from YouTube videos.

It can send HTTP requests to the YouTube Web services API to perform several types of operations.

Currently it can create play lists, add or remove videos from a play list, get play lists and their video thumbnails, upload videos, get the uploaded videos and get videos of a subscription.


Dreamhost API

Package:
Dreamhost API
Summary:
Manage hosting accounts using the Dreamhost API
Groups:
Hosting, PHP 5, Web services
Author:
Tom Carlson
Description:
This class can be use to manage hosting accounts using the Dreamhost API.

It can send HTTP POST, GET and DELETE requests to the Dreamhost API Web server to execute several types of operations to manipulate Dreamhost hosting accounts like: accounts, announcement lists, domains, DNS records, MySQL databases, mail filters, user accounts, processes, applications and services.

The class returns the request response in XML format.


Singapore NRIC

Package:
Singapore NRIC
Summary:
Verify the validity of a Singapore identity number
Groups:
Singapore, Validation
Author:
Gary Tay
Description:
This class can be used to verify the validity of a Singapore identity number.

It parses a given Singapore National Registration Card Identity number (NRIC) and determines the verification digit to check whether the number is valid.


Eazy ODS Read

Package:
Eazy ODS Read
Summary:
Retrieve data from OpenOffice spreadsheet files
Groups:
Files and Folders, PHP 5
Author:
Ovidiu Mihalas
Description:
This class can be used to retrieve data from OpenOffice spreadsheet files.

It can open a given file in the ODS format, extract its contents and parse the spreadsheet data.

The class can extract a given range of spreadsheet rows into an array.


Powered by Gewgley