/** * Get the template instance. * * @param boolean $create * Whether to create the instance if it doesn't exist. * * @return Template * The template object. */ public static function getInstance($create = true) { return parent::getInstance($create); }
/** * Get the current session. * * @param boolean $create_object * Whether to create a new object if it doesn't exist. * @param boolean $create_session * Whether to create a new session for the client if one doesn't exit. * * @return Session * The current session. */ public static function getInstance($create_object = true, $create_session = true) { return parent::getInstance($create_object, $create_session); }