public static function getInstance() { if (!is_object(self::$objInstance)) { self::$objInstance = new self(); self::$objInstance->__construct(); } return self::$objInstance; }