Package:
Summary:
Validate and process uploaded image files
Groups:
Author:
Description:
This class can be used to validate and process uploaded image files.
It can take the name of a given form file input and retrieve the information about an image file uploaded via Web forms.
The class can validate image file size, file name extension, image width and height.
It can also deleted previously uploaded files with the same name and move the uploaded file to a given destination directory.
Package:
Summary:
Call PHP code from Javascript using AJAX
Groups:
Author:
Description:
This class can be used to call PHP code from Javascript using AJAX.
It generates HTML with Javascript code that can be called by other Javascript code in the current page, so it triggers the execution of a given PHP class.
The class can detect when an AJAX request is being sent and calls the specified callback class. That class takes care of generating the response to the AJAX request.
Package:
Summary:
Execute actions with accounts of Blip.pl microblog
Groups:
Author:
Description:
This class can be used to execute actions with accounts of Blip.pl microblog.
It sends requests to the Blip.pl Web services API to execute several types of actions on behalf of users of that microblog. Currently it can:
- Get information about users
- Manage user avatars, page backgrounds
- Retrieve and manage statuses or updates
- Manage direct or private messages, short links and subscriptions
- Get information of movies, pictures or recordings attached to statuses or messages
- Get user notices or tags
Package:
Summary:
Template engine that replaces tags within brackets
Groups:
Author:
Description:
This class is a template engine that replaces tags within square brackets.
It searches a given template string for tags delimited by square brackets by template variable values.
The processed template data is returned as a string.
Package:
Summary:
Determine whether an IP address is within a range
Groups:
Author:
Description:
This is a simple class that can determine whether the user IP address is within a range.
It gets the current remote user IP address and checks if it is within the range of two IP addresses passed as single string.
Package:
Summary:
Auto-load classes based on XML definitions
Groups:
Author:
Description:
This class can be used to load classes automatically based on definitions read from a XML file.
It can parse a XML file and extract definitions from it that specify the paths from which given classes should be loaded.
The class registers an auto-loader function that uses the information from the XML definitions file to locate and load the scripts that contain the classes that are needed by the applications.
Package:
Summary:
Fix names of PostgreSQL table columns
Groups:
Author:
Description:
This class can be used to fix names of PostgreSQL table columns.
It retrieves the names of the columns of a given PostgreSQL database table and checks if it has upper case letters, special characters spaces, or any other problematic characters.
The class renames the columns to remove or replace the problematic characters.
Package:
Summary:
Retrieve application texts for multiple idioms
Groups:
Author:
Description:
This class can be used to retrieve application texts for multiple idioms.
It can load localized texts for a given idiom from a script that contains an associative array with the text translations.
The class retrieves the translation for a given text looking up the translation associative array.
Package:
Summary:
Create and retrieve short URLs using short.ie
Groups:
Author:
Description:
This class can be used to create and retrieve short URLs using short.ie.
It can sent an HTTP request to short.ie 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:
Log application activity to files
Groups:
Author:
Description:
This class can be used to log application activity to files.
It can append to log files with a given name messages about activity of applications. It creates two distinct files for errors and other types of messages. The files have the same base name, which includes the current data, but have different file name extensions.
The log messages include the current date and time, the class name, line number and the activity message.