Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class functionsClass{
- private $version = '1.0.0.0';
- private $dependsOn = array();
- static protected $instance = null;
- public function __construct(){}
- static function getInstance(){
- if(!self :: $instance)
- self :: $instance = new self();
- return self :: $instance;
- }
- public function __call($funcName,$args){
- if(!function_exists($funcName))
- include_once '/includes/functions/'.$funcName.'.php5';
- return call_user_func_array($funcName,$args);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement