Category Archives: Classes

S Upload

Package:
S Upload
Summary:
Validate and process multiple uploaded files
Groups:
Files and Folders, PHP 5
Author:
sundowatch
Description:
This class can be used to validate and process multiple uploaded files.

It can validate one or more files uploaded using Web forms by checking whether they used one of the allowed file name extensions and whether the files do not exceed a given size limit.

The class moves valid uploaded files to a given directory. The class will create the directory if it does not exist.


dbf2mysql

Package:
dbf2mysql
Summary:
Import data from DBF files into MySQL databases
Groups:
Databases, Files and Folders
Author:
Hermann Schimpf
Description:
This class can be used to import data from DBF files into MySQL databases.

It uses the dbase extension functions to open and retrieve data from DBF files.

The class generates a string with SQL statements to create tables in a MySQL database and insert rows with the data from the DBF files.

The generated SQL statements maybe displayed in a HTML page, served for download, or stored in a file.

The code and comments are in Spanish.


PDO Singleton

Package:
PDO Singleton
Summary:
Database access singleton using the PDO extension
Groups:
Databases, Design Patterns, PHP 5
Author:
Wilson Gomes
Description:
This class implements database access singleton using the PDO extension.

It creates a instance of the PDO object that acts as a singleton.

The class provides functions to access a database using the PDO object for executing queries, retrieving the results and managing transactions.


Mail Parser

Package:
Mail Parser
Summary:
Retrieve and parse messages from IMAP mail boxes
Groups:
Email, PHP 5
Author:
Ashish Kumar
Description:
This class can be used to retrieve and parse messages from IMAP mail boxes.

It can access a mail box stored in an IMAP server and parse it to extract message body parts and attachments into local files.

The class can retrieve messages by identifier, subject, received date, sender address or unread status.


WorldCat XISBN

Package:
WorldCat XISBN
Summary:
Retrieve book information using WorldCat xISBN API
Groups:
PHP 5, Web services
Author:
Robert van der Linde
Description:
This class can be used to retrieve book information using WorldCat xISBN API.

It sends requests to the WorldCat xISBN Web services API to retrieve several types of information about books like:

- Getting metadata of a given book
- Getting all editions similar to a book with a given ISBN
- Convert between ISBN 10 and 13
- Fix the checksum of a given ISBN
- Guess the publisher area of a given book


Data base utility class

Package:
Data base utility class
Summary:
Execute MySQL queries from lists of parameters
Groups:
Databases, PHP 5
Author:
om prakash
Description:
This class can be used to execute MySQL queries from lists of parameters.

It can execute SELECT, INSERT, UPDATE and DELETE queries from parameters that define tables, fields, values and conditions.

The SELECT queries return results in arrays.


Table Constructor

Result screenshot. json-file
Package:
Table Constructor
Summary:
Display an HTML table from array, JSON or XML
Groups:
HTML, PHP 5, XML
Author:
Ewg
Description:
This class can be used to display an HTML table from array, JSON or XML.

It can traverse data from an array and generate an HTML table that displays that data.

It can also read data from a JSON or XML file and convert it into an array so it can also be displayed in an HTML table.

1. Simply to use
new Table ($data); // work with array
new Table ('data.json', 'json-file');
new Table ($json_string, 'json'); // work with json-string
new Table ('data.xml', 'xml-file'); // work with xml-file
new Table ($xml_string, 'xml'); // work with xml-string
2. Universal: array, xml, json
3. Quick


PHP OOIM

Package:
PHP OOIM
Summary:
Manipulate images in several ways
Groups:
Graphics, PHP 5
Author:
Dom Hastings
Description:
This class can be used to manipulate images in several ways.

It can load a given image file in JPEG, GIF, PNG, BMP or XBM format and apply one or more image processing operations. Currently it supports the following operations:

- Scaling
- Cropping
- Adding a watermark
- Draw lines or boxes
- Filling white space with a color

The processed image can be saved to a file or displayed as the current script output.


List Control

Package:
List Control
Summary:
Display a form select input from an options array
Groups:
HTML, PHP 5
Author:
sakir ayanoglu
Description:
This class can be used to display a form select input from an options array.

It takes an array with a list of text values and displays an HTML form select input.

The class may also get the value of the select input of submit form POST request.


LibraryThing Services

Package:
LibraryThing Services
Summary:
Get book information using the LibraryThing API
Groups:
PHP 5, Web services
Author:
Robert van der Linde
Description:
This class can be used to get book information using the LibraryThing API.

It can send requests to the LibraryThing Web services API to obtain information about books. Currently it can:

- Get the list of related works given the ISBN of a book
- Get the language of a book with a given ISBN
- Get the identifier, page URL and related works of a book with a given ISBN


Powered by Gewgley