Tag Archiv: classes

Image Upload and Validation

Package:
Image Upload and Validation
Summary:
Validate and process uploaded image files
Groups:
Files and Folders, Graphics, PHP 5
Author:
Tareq Hasan
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.


AjaxIto

Package:
AjaxIto
Summary:
Call PHP code from Javascript using AJAX
Groups:
AJAX, HTML
Author:
Javier Rubacha
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.


Blip API

Package:
Blip API
Summary:
Execute actions with accounts of Blip.pl microblog
Groups:
PHP 5, Social Networking, Web services
Author:
Marcin Sztolcman
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


Simple Tags

Package:
Simple Tags
Summary:
Template engine that replaces tags within brackets
Groups:
PHP 5, Templates
Author:
Bogdan
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.


Class Manager

Package:
Class Manager
Summary:
Auto-load classes based on XML definitions
Groups:
Language, PHP 5
Author:
Zsolt Herpai
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.


PgFieldNameFixer

Package:
PgFieldNameFixer
Summary:
Fix names of PostgreSQL table columns
Groups:
Databases, PHP 5, Utilities and Tools
Author:
Felipe Nascimento de Moura
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.


Language Definition

Package:
Language Definition
Summary:
Retrieve application texts for multiple idioms
Groups:
Localization, PHP 5
Author:
Muhammed Mamedov
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.


URL Shorten using short.ie

Package:
URL Shorten using short.ie
Summary:
Create and retrieve short URLs using short.ie
Groups:
PHP 5, Web services
Author:
Sudheer Satyanarayana
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.


Log4Pi

Package:
Log4Pi
Summary:
Log application activity to files
Groups:
Logging, PHP 5
Author:
Thomas Wehner
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.


Powered by Gewgley