Category Archives: Classes

YouTube Trailer

Package:
YouTube Trailer
Summary:
Search and embed movie trailers from YouTube
Groups:
PHP 5, Searching, Video, Web services
Author:
Nitesh Apte
Description:
This class can be used to search and embed movie trailers from YouTube.

It can send an HTTP request to retrieve and parse the YouTube search result pages for a trailer of a given movie.

The class extracts the identifier of the first result video and generates HTML to embed that video in a Web page.


Easy file upload

Package:
Easy file upload
Summary:
Display and process forms to upload multiple files
Groups:
Files and Folders, HTML, PHP 5
Author:
Sabin Cheruvattil
Description:
This class can be used to display and process forms to upload multiple files.

It can generate HTML to display one or more file upload fields in a form.

The class can also process the uploaded files by moving them to a given target directory, if they have one of the allowed file name extensions and do not exceed a given size limit.


Shorten url

Package:
Shorten url
Summary:
Shorten and expand URLs using different services
Groups:
PHP 5, Web services
Author:
carlos miguel guevara
Description:
This class can be used to shorten and expand URLs using different services.

It can send HTTP requests to the Web services API servers of different URL shortening services to perform either shortening (or expanding in the case of some of the services) of given URLs.

Currently it supports the URL shortening services: tinyurl.com, bit.ly, cli.gs, goo.gl, kl.am, is.gd, tr.im .


DS Pager

Package:
DS Pager
Summary:
Show links to browse listings split in pages
Groups:
HTML, PHP 5
Author:
Narong
Description:
This class can be used to show links to browse listings split in pages.

It takes as parameters the total number of entries in the listing, the limit number of entries displayed per page and the number of the current page.

The class shows links to browse to the first, previous, next and last pages.

It can also return the total number of pages and a string with the values for the LIMIT clause of a SELECT database query.


Image uploader class

Package:
Image uploader class
Summary:
Process uploaded image files
Groups:
Files, HTTP, PHP 5
Author:
Alaa Al-Hussein
Description:
This class can be used to process uploaded image files.

It can copy uploaded files to a given destination directory if the directory exists and is valid.

The class can also and crop and resize files that are images.


flexGen

Package:
flexGen
Summary:
Generate code to show MySQL results using Flex
Groups:
Code Generation, Flash, PHP 5
Author:
thiago
Description:
This class can be used to generate PHP code to show MySQL results in a Flex application.

It can generate a Flex application definition for retrieving results of a MySQL query and displaying in a data grid presented using Flex.

The class can also generate the PHP code script that runs on the server side to execute and retrieve the MySQL results.


Back Propagation Scale

Package:
Back Propagation Scale
Summary:
Implement neural networks using back propagation
Groups:
Artificial intelligence, PHP 5
Author:
freedelta
Description:
This class can be used to implement neural networks using back propagation.

It can setup a neural network work with a given number of layers.

The class takes a data set and a test output data set and runs the neural network using back propagation to to adjust weights based on network errors.


Array 2 XML OO

Package:
Array 2 XML OO
Summary:
Generate a XML document from array values
Groups:
PHP 5, XML
Author:
Mustafa TURAN
Description:
This class can be used to generate a XML document from array values.

It traverses a given array recursively to get the values that are used to define the tags and data of the XML document.

The generated XML document is served as the current script output.


Image Processor (CSS)

Screen
Package:
Image Processor (CSS)
Summary:
Draw images defined with CSS like properties
Groups:
Graphics, PHP 5
Author:
Tufan Baris YILDIRIM
Description:
This class can be used to draw images defined with CSS like properties.

It can create an empty image or open and existing image from a file.

The class can draw different types of primitives using CSS like style strings to define the parameters of those primitives.

Currently it can draw text strings, other images like watermarks, lines, rectangles, circles, ellipses, etc..

The generated image can also be cropped and resized before it is saved to a file.


Powered by Gewgley