PHP Classes
elePHPant
Icontem

PHP Anonymous Function use keyword: Call functions dynamically added to objects

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-02-19 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 230 All time: 7,281 This week: 1,055Up
Version License PHP version Categories  
anonymous-function 1.0GNU General Publi...5PHP 5, Language
Description Author  

This is a very simple class can call functions dynamically added to objects.

It extends the StdClass class to be able to call an anonymous function that employs the use keyword to be added dynamically to an object of the class.

The class can pass to the anonymous function any parameters passed to the call.

Picture of Abraham Cruz Sustaita
Name: Abraham Cruz Sustaita <contact>
Classes: 5 packages by
Country: Mexico Mexico
Age: 29
All time rank: 174819 in Mexico Mexico
Week rank: 913 Up13 in Mexico Mexico Up

  Files folder image Files  
File Role Description
Files folder imageCore (1 file)
Accessible without login Plain text file Example.php Example Example

  Files folder image Files  /  Core  
File Role Description
  Plain text file Std.php Class Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:230All time:7,281
 This week:0This week:1,055Up