 |
|
Innovation award
 Nominee: 3x |
This class can be used to provide access to protected or private functions from friend classes.
It is a base class that provides alternative methods prefixed with the name friend_ .
When a function is called with that prefix, the base class calls the function with the name after the prefix, if it is considered a friend method.
 August 2008
Number 3
Prize: One book of choice by Packt |
Certain packages consist of multiple classes that are used in cooperation. Such classes usually need to access each other protected variables or functions.
In other languages there are friend classes like in C++ or package classes like in Java that allow restricting the access to variables of functions to cooperating classes.
Even with the enhancements of version 5 object model, there is no PHP support to this concept similar to C++ friend or Java package classes.
This class provides an emulation of such concept that works under PHP 5.
Manuel Lemos |
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|