/** * get singleton * * @access public * @return object **/ public static function getInstance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }