Login   Register  
PHP Classes
elePHPant
Icontem

PHP Public Wrap: Access an object private variables and functions

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 (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-05-22 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 298 All time: 6,517 This week: 1,826Up
Version License PHP version Categories  
public-wrap 1.0BSD License5.3PHP 5, Language, Testing
Description Author  

This class can access an object private attributes and methods.

It takes a given object and uses reflection to access its private attributes and methods from outside.

The class implements __set, __get and __call methods to provide the access to the wrapped object externally.

Picture of Ninsuo
Name: Ninsuo <contact>
Classes: 2 packages by
Country: France France
Age: 30
All time rank: 298681 in France France
Week rank: 1846 Up54 in France France Up

  Files folder image Files  
File Role Description
Plain text file PublicWrap.php Class Core class
Accessible without login Plain text file PublicWrap.demo.php Example Demo: a full usage example
Accessible without login Plain text file readme.txt Doc. Documentation
Accessible without login Plain text file PublicWrap.test.php Test PHPUnit tests

 Version Control Unique User Downloads Download Rankings  
 0%Total:298All time:6,517
 This week:0This week:1,826Up