Category Archives: Classes

Goo.gl short URL

Package:
Goo.gl short URL
Summary:
Shorten or expand a URL with Google goo.gl service
Groups:
PHP 5, Web services
Author:
Eslam Mahmoud
Description:
This class can be used to shorten or expand a URL with goo.gl Google service.

It can send an HTTP request to Google goo.gl URL shortener Web services API generate a short URL for another given URL.

The class can also send a request to expand a given shortened URL with the same Google goo.gl service.


Goo.gl short url

Package:
Goo.gl short url
Summary:
Shorten or expand a URL with Google goo.gl service
Groups:
PHP 5, Web services
Author:
Eslam Mahmoud
Description:
This class can be used to shorten or expand a URL with goo.gl Google service.

It can send an HTTP request to Google goo.gl URL shortener Web services API generate a short URL for another given URL.

The class can also send a request to expand a given shortened URL with the same Google goo.gl service.


PEAR WorkBook Helper

Package:
PEAR WorkBook Helper
Summary:
Generate an Excel spreadsheet with MySQL results
Groups:
Files and Folders, PHP 5, Utilities and Tools
Author:
fridayana baabullah
Description:
This package can be used to generate an Excel spreadsheet with MySQL results.

It can execute a given MySQL query and generate an Excel spreadsheet filled with the query results using PEAR spreadsheet writer class.

The generated spreadsheet can be saved to a given Excel file.


Parent child tree with unlimited levels

Screen shot of the output of this package.
Package:
Parent child tree with unlimited levels
Summary:
Retrieve child elements from MySQL parent records
Groups:
Databases, PHP 5
Author:
mrinal nandi
Description:
This class can be used to retrieve child elements from MySQL parent records.

It can query a MySQL table that has records of items that have parent records.

The class can return all children items of a given parent record.


Gregorian to Jalali

Package:
Gregorian to Jalali
Summary:
Convert dates between Gregorian to Jalali formats
Groups:
Time and Date
Author:
Hamid Ghorashi
Description:
This class can be used to convert date from Gregorian to Jalali format.

It takes a date in Gregorian format and returns the date formatted in Jalali format.

If no date is specified, it converts the current date.


Stream

Package:
Stream
Summary:
Retrieve multiple Web pages in parallel
Groups:
HTTP, Networking, PHP 5
Author:
Alexander Over
Description:
This class can be used to retrieve multiple Web pages or other Web resources in parallel.

It can send multiple HTTP requests to different Web servers and receive response data from all servers in parallel.

The class supports either regular HTTP and HTTPS requests.


Cool Date

Package:
Cool Date
Summary:
Calculate the difference of time between two dates
Groups:
PHP 5, Time and Date
Author:
Gustavo Gontaruk
Description:
This class can be used to calculate the difference of time between two dates.

It takes two date and times strings and determines the time interval between them.

The class returns a string in Spanish that spells the time difference in seconds, minutes, hours, days, months and years.

In Spanish:

Devuelve la diferencia entre dos fechas, en segundos, minutos, horas, dias, meses, aƱos segun corresponda.


Java and C# compatible scalar type hinting

Library working concept art
Package:
Java and C# compatible scalar type hinting
Summary:
Check the types of called function arguments
Groups:
Data types, Language, PHP 5
Author:
Artur Graniszewski
Description:
This class can be used to check the types of called function arguments.

It sets up an error handler function that can determine if a function is being called with the wrong types of arguments.

The error handler checks if the type hinting classes for the function being called is string, integer, float, double, boolean and checks if the argument values are of the declared types.


Powered by Gewgley