/** * Returns instance of Tinebase_Application * * @return Tinebase_Application */ public static function getInstance() { if (self::$instance === NULL) { self::$instance = new Tinebase_Application(); } return self::$instance; }