PHP Classes

QBaseClass: Add variable management functions to sub-classes

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 143 All time: 9,177 This week: 660Up
Version License PHP version Categories
qbaseclass 0.1BSD License5.0PHP 5, Language
Description 

Author

This class can be used to add automatic variable management functions to classes.

Its default class function handler (__call) is defined in such way that it adds new automatic functions to the class to manage class variables.

The automatic functions are recognized by their name prefixes. Currently it supports:

- has for checking if a variable is defined
- set to defined the value of a variable
- get to get the value of a variable
- add to set the value of an entry of an associative array variable
- merge to change the values of multiple entries of associative array variables

Picture of Tom Schaefer
  Performance   Level  
Innovation award
Innovation award
Nominee: 9x

Winner: 1x

 

  Files folder image Files (7)  
File Role Description
Files folder imagecore (5 files)
Files folder imagesample (1 file)
Accessible without login Plain text file config.inc.php Conf. configuration

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:143
This week:0
All time:9,177
This week:660Up