/** * Will __CALL the proper methods; * * This method will call the proper methods, that aren't defined as self-standing methods, but are defined as cases in a * switch statement in this method. We do this because some of the functions here, due to our style of programming, share * many repetitive configuration options, meaning that for an action, we only write the code once, and if we need to * modify something somewhere, than we know exactly where to find it; * * Another argument is that for the moment no inheritance is really needed. Besides that, we could simulate inheritance by * doing a default CALL to the parent method, which means that if there wasn't any case that matched the current object scope, * than the calling function will be passed up the parent. It's a nice way of having extremely organized code, while keeping * the advantages of an almost full OOP programming style, without loss in performance; */ public function __CALL($objFunctionName, $objFunctionArgs) { switch ($objFunctionName) { default: return parent::__CALL($objFunctionName, $objFunctionArgs); break; } }