|
|
| Name: |
Property |
| Base name: |
property |
| Description: |
Add read-only class variables dynamically |
| Related classes: |
property |
| Version: |
- |
| PHP version: |
5 |
| License: |
GNU General Public License (GPL) |
| All time users: |
542 users |
| All time rank: |
4400 |
| Week users: |
1 user |
| Week rank: |
2417 |
| |
|
 |
|
Innovation award
 Nominee: 2x |
This package can be used to add and remove variables to a class dynamically at run-time.
The variables may be made read-only. Read-only variables may not be changed or removed.
Each variable may have associated custom setter and getter functions in order to implement special purpose behavior when the variable is changed or retrieved.
 December 2006
Number 9 |
Under PHP 5, you can have classes with variables with restricted access using private and protected accessor clauses. However, these keywords do not provide read-only access to a variable.
This class implements read-only access control into class variables. It uses special getter and setter functions to overcome the original access control restrictions of 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 |
|
|