/** * Gets the methods of the JApplicationWeb object. * * @return array * * @since 3.4 */ public static function getMethods() { // Collect all the relevant methods in JApplicationWeb (work in progress). $methods = array('allowCache', 'appendBody', 'clearHeaders', 'execute', 'get', 'getBody', 'getDocument', 'getHeaders', 'getLanguage', 'getSession', 'loadConfiguration', 'loadDocument', 'loadLanguage', 'loadSession', 'prependBody', 'redirect', 'sendHeaders', 'set', 'setBody', 'setHeader'); return array_merge($methods, parent::getMethods()); }
/** * Gets the methods of the JApplicationCli object. * * @return array * * @since 3.4 */ public static function getMethods() { // Collect all the relevant methods in JApplicationCli. $methods = array('get', 'execute', 'loadConfiguration', 'out', 'in', 'set'); return array_merge($methods, parent::getMethods()); }