Package:
Summary:
Render an image with a text over a background
Groups:
Author:
Description:
This class can be used to render an image with a text over another background image.
It takes the path of a background image file and creates a new image with a text rendered over the background image.
The text font, font size, color and alignment are configurable parameters.
The generated overlay image is stored in a given path in JPEG format.
Package:
Summary:
Compose and generate XML documents
Groups:
Author:
Description:
This class can be used to compose and generate XML documents.
It can compose the XML document by adding tags and attribute objects to the document object.
The main XML class may retrieve the composed document as a single string.
Package:
Summary:
Determine the position of a keyword in Google
Groups:
Author:
Description:
This class can be used to determine the position of Google searches results from a domain for a given keyword.
It takes the URL of a site and a list of keywords and performs a search on Google.
The class parses the results to find the first that contains an URL of the given domain.
Package:
Summary:
Store and retrieve ratings of products in MySQL
Groups:
Author:
Description:
This class can be used to store and retrieve ratings of products in a MySQL database.
It can insert yes or no ratings of products in a MySQL database table associating to an anonymous user identified by his IP address or to logged user identifier.
The class can also retrieve a summary of all the ratings of a product.
Package:
Summary:
Retrieve values of properties defined in scripts
Groups:
Author:
Description:
This class can be used to retrieve values of properties defined in PHP scripts.
It includes a given PHP script with values set in array entries of a variable name properties.
The class assigns the array values to class variable, so it can return the values of any entries of the properties array.
Package:
Summary:
Call PHP functions to handle jQuery events
Groups:
Author:
Description:
This package can be used to call PHP functions to handle jQuery events.
It can generate Javascript that is executed on the browser side to perform AJAX requests when certain events happen.
The class detects when the AJAX requests are sent and executes given PHP functions that return the necessary Javascript has response to the browser side events.
Package:
Summary:
Compose and display forms in HTML pages
Groups:
Author:
Description:
This class can be used to compose and display forms in HTML pages.
It can compose an HTML form adding labels and inputs of all basic types.
The class can display the forms aligning the inputs and the respective labels in an HTML table.
Package:
Summary:
Create short URLs using Puny sapo.pt API
Groups:
Author:
Description:
This class can be used to create short URLs using Puny sapo.pt Web services API.
It can send an HTTP request to services.sapo.pt Web services API to create a short URL for another given URL.
The class can also do the opposite, i.e. get the original URL associated to a previously created short URL.
Package:
Summary:
Create image thumbnails preserving the aspect
Groups:
Author:
Description:
This class can be used to create image thumbnails preserving the aspect.
It can open a given image file in the GIF, JPEG and PNG format.
The class can create a thumbnail of the image with given size, preserving the proportion between the original width and height.
The thumbnail images are served as the current script output in the same format as the original images.
Package:
Summary:
Display links to browse MySQL query results
Groups:
Author:
Description:
This class can be used to display links to browse MySQL query results split in multiple pages.
It takes an SQL query string and counts the number of result rows.
The class can generate links to browse multiple pages among which the query results will be split. The presentation of the links is configurable using CSS styles.
The limit number of results to display per page, the limit of links to display and the base link URL are configurable details.