Package:
Summary:
Access to a MySQL database using a singleton
Groups:
Author:
Description:
This class can be used to access to a MySQL database using a singleton.
It creates a single instance of the class that can establish MySQL database connections, execute SQL queries, retrieve the number of result rows and retrieve the results in a single array.
Package:
Summary:
Browse images like a first person view game
Groups:
Author:
Description:
This class can be used to browse images like a first person view game.
It takes as parameter the definition of a map virtual place with the positions and images that the user would see on in each place of the map depending on the rotation angle.
The class takes the current user position on the map and the rotation angle and determine which image he should be viewing.
It can also determine if the user can go ahead, backwards, left, right, turn right or turn left.
Package:
Summary:
Generate a series of values that decrease smoothly
Groups:
Author:
Description:
This class can be used to generate a series of numbers that decrease smoothly.
It takes as arguments an initial value and the number of steps of numbers to be generated.
The class generates a series of numbers equal to the number of specified steps that decrease from the initial value until it reaches zero, using quadratic equations to determine the approximation of each step.
Package:
Summary:
Show paginated listings updated using AJAX
Groups:
Author:
Description:
This class can be used to show paginated listings updated using AJAX.
It takes as arguments the an array of data entries to display in the pages and the limit number of entries to display per page.
The class generates HTML and JavaScript for navigation links to update the listing without reloading the page when the links are clicked.
Package:
Summary:
Generate image thumbnails
Groups:
Author:
Description:
This class can be used to generate image thumbnails.
It can load an image in GIF, JPEG or PNG formats and create a thumbnail image with a given limit width and height.
The resulting thumbnail image is saved to a new file.
Package:
Summary:
Populate a MySQL database with random data
Groups:
Author:
Description:
This class can be used to populate a MySQL database with random data.
It can scan the list of tables and fields of a MySQL database and generate SQL INSERT statements that will fill the tables with records with random data.
The class tries to populate each record field with values that seem appropriate based on the field name.
Then it can either execute the generated SQL statements or saved them to a file.
Package:
Summary:
Compute the common mask from multiple IP addresses
Groups:
Author:
Description:
This class can be used to compute the common mask from multiple IP addresses.
It takes two or more IP addresses and determines the bits with the common values in order to determine what should be the applicable network address mask.
The class supports network addresses either in the IP version 4 and version 6 formats.
Package:
Summary:
Visual editor to let the user crop images
Groups:
Author:
Description:
This package can be used to implement a visual editor to let the user crop images.
It generates HTML, JavaScript and CSS for an user interface to let the user click on an image and define an area of the image to be cropped.
A PHP class of the package can crop the image as defined by the user and save the cropped image to a given file.
In Portuguese:
Essa classe usa uma imagem de origem[jpg, gif, png] para gerar um thumb de uma regiĆ£o selecionada pelo usuario, usando php e post via ajax.
Package:
Summary:
Find prime numbers with Sieve of Atkin algorithm
Groups:
Author:
Description:
This class can be used to find prime numbers with the Sieve of Atkin algorithm.
It can take a limit number and find all prime numbers smaller than the given limit.
Package:
Summary:
Search for guitar chords using Guitar Chord API
Groups:
Author:
Description:
This class can be used to search for guitar chords using Guitar Chord API.
It can send HTTP request to the Guitar chord API Web server to find chord variations based on given data about chord by specifying the chord name, chord modification, or/and string/fret combination.