PHP Classes
elePHPant
Icontem

QBaseClass: Add variable management functions to sub-classes

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-06-30 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 141 All time: 8,228 This week: 1,075Up
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  
Name: Tom Schaefer <contact>
Classes: 39 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 9x

Winner: 1x

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

  Files folder image Files  /  core  
File Role Description
  Plain text file QBaseClass.class.php Class php stdClass extension
  Plain text file QConfig.class.php Class config singleton
  Plain text file QCoreException.class.php Class Exception handler class
  Plain text file QParameter.class.php Class Sample class
  Plain text file QWebParameter.class.php Class Retrieve Parameters from Request (Sample Class)

  Files folder image Files  /  sample  
File Role Description
  Accessible without login Plain text file sample.request.php Example Sample for showing how it works

 Version Control Unique User Downloads Download Rankings  
 0%
Total:141
This week:0
All time:8,228
This week:1,075Up