Login   Register  
PHP Classes
elePHPant
Icontem

Overload

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Ralf Mike Pretzlaw
Name: Ralf Mike Pretzlaw <e-mail contact>
Packages: 3 Browse all classes by Ralf Mike Pretzlaw Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 29
All time rank: 1823119 in Germany Germany
Week rank: 1043 Up50 in Germany Germany Up
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download .zip .tar.gz  
This class implements class function overloading.

It is a base class that allows sub-classes to have functions that may be called in several ways using with a different number of arguments or arguments with different types.

The base class intercept calls to the overloaded functions and dispatches those calls according to the types and number of arguments.

  Classes of Ralf Mike Pretzlaw  >  Overload  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Overload
Base name: overload-class
Description: Emulate class function overloading
Version: 1.1.0
PHP version: 5.0
License: Free for non-commercial use
All time users: 506 users
All time rank: 4890
Week users: 0 users
Week rank: 2042 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
April 2009
Number 6
Overloading is a feature built-in in some Object Oriented languages like C++.

It allows calling a class function with the same name but is implemented in multiple ways depending on the number and type of parameters that are passed to a function.

Currently PHP does not provide built-in functionality to provide overload support exactly like in C++. There is an overload extension in PECL but it is not exactly the same thing.

This class provides overload functionality emulation using PHP 5 magic methods.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file Overload.class.php Class Overload-Class for "overloading in PHP"
Accessible without login Plain text file Example.php Example Example for overloading an object in PHP with some does and dont's
Accessible without login Plain text file Help.txt Doc. Summary of the functionality
Accessible without login Plain text file LICENSE.txt Lic. License

Download all files: overload-class.tar.gz overload-class.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.