Package:
Summary:
Validate and process multiple uploaded files
Groups:
Author:
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.
Package:
Summary:
Import data from DBF files into MySQL databases
Groups:
Author:
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.
Package:
Summary:
Database access singleton using the PDO extension
Groups:
Author:
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.
Package:
Summary:
Retrieve and parse messages from IMAP mail boxes
Groups:
Author:
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.
Package:
Summary:
Retrieve book information using WorldCat xISBN API
Groups:
Author:
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
Package:
Summary:
Execute MySQL queries from lists of parameters
Groups:
Author:
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.
Package:
Summary:
Display an HTML table from array, JSON or XML
Groups:
Author:
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
Package:
Summary:
Manipulate images in several ways
Groups:
Author:
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.
Package:
Summary:
Display a form select input from an options array
Groups:
Author:
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.
Package:
Summary:
Get book information using the LibraryThing API
Groups:
Author:
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