Package:
Summary:
Display and process user registrations using AJAX
Groups:
Author:
Description:
This class can be used to display and process user registrations using AJAX.
It can generate HTML and Javascript that uses the jQuery library to submit a registration form using AJAX requests.
If the submitted registration form values are valid, the class creates the registered user records in a database. Otherwise it flags the invalid form fields.
Package:
Summary:
Wrapper to access MySQL databases
Groups:
Author:
Description:
This class implements a wrapper to access MySQL databases. It can:
- Establish database connections
- Execute SQL queries
- Retrieve query results into arrays
- Retrieve the number of result rows and affected rows
- Create tables
- Lock tables
- Optimize all database tables
- Truncate tables
- Import a database dump using the mysql command
- Get the database variables and statistics
Package:
Summary:
Replace text with HTML to color and convert letter
Groups:
Author:
Description:
This class can be used to replace text with HTML to color and convert letter.
It can replace text sections with color names and styles with in square bracket tags with HTML span tags with color styles.
The class can also convert letters with accents with the respective HTML entities.
Package:
Summary:
Retrieve information about YouTube videos
Groups:
Author:
Description:
This package can be used to retrieve information about YouTube videos.
It uses the Google Data API to send requests to retrieve information about videos given some search keywords.
It can retrieve the video descriptions, thumbnails, comments, links to related or response videos, statistics and ratings.
Package:
Summary:
Generate chart images using Google chart service
Groups:
Author:
Description:
This class can be used to generate chart images using Google chart service.
It takes several parameters to define the chart type, size, colors, titles and labels, and chart data.
The class generates a Google Charts URL that can be used in a Web page to display a PNG image the displays the configure chart.
Package:
Summary:
Update and retrieve the statuses of a Twitter user
Groups:
Author:
Description:
This class can be used to update and retrieve the statuses of a Twitter user.
It can send requests to the Twitter API on behalf of a given user to perform several types of operations.
Currently it can update the user status, remove a given user status, and get the user time line status.
The class can shorten URLs in the updated user status using the bit.ly shortening service.
Package:
Summary:
Authenticate users without reloading a login page
Groups:
Author:
Description:
This class can be used to authenticate users without reloading a login page.
It can generate the HTML with Javascript that uses the jQuery library to present a login form that is submitted using an AJAX request for verifying the user password.
The class uses a separate database access class to perform a database query to the users database in order to verify whether the user and password are correct.
Package:
Summary:
Solve quadratic equations
Groups:
Author:
Description:
This class can be used to calculate the roots of a quadratic equations.
It takes the a, b and c coefficients and calculates the roots of the quadratic equation, if it has a solution.
The result may be displayed or returned with a given number of decimal places.
Package:
Summary:
Perform several operations to manipulate images
Groups:
Author:
Description:
This package can be used to perform several operations to manipulate images.
The main class can perform many types of image manipulation operations, such as: resize images, add alpha channel, flip, rotate, add watermark, apply effects like blur, darkness, brightness, contrast, gamma, gray scale, negate, sepia, sketch, smooth, emboss, edge detection, sharpen, soften, and other types of convolution.
There are also several classes that can load and save images to files in JPEG and PNG formats, or initialize images with given background color or just a make it a transparent canvas.
Package:
Summary:
Display CAPTCHA images and validate forms
Groups:
Author:
Description:
This class can be used to display CAPTCHA images and validate forms that use them to verify whether the user is really a human or a robot.
It can generate an image with a random text taken from a text file.
The text is rendered using TrueType fonts over a background of random faded text letters and background images.
The generated image is stored on a file in GIF, JPEG or PNG formats.
The validation word is stored in a session variable for posterior verification.
This dimensions, the fonts, and the background images are configurable.