$label, 'name' => $name, 'options' => $options, 'noDefault' => $noDefault); } /** * Returns an array of all filters * * @return array * * @since 3.0 * @deprecated 4.0 Use JHtmlSidebar::getFilters() instead. */ public static function getFilters() { try { JLog::add( sprintf('%s() is deprecated. Use JHtmlSidebar::getFilters() instead.', __METHOD__), JLog::WARNING, 'deprecated' ); } catch (RuntimeException $exception) { // Informational log only } return self::$filters; } /** * Set value for the action attribute of the filter form * * @param string $action Value for the action attribute of the form * * @return void * * @since 3.0 * @deprecated 4.0 Use JHtmlSidebar::setAction() instead. */ public static function setAction($action) { try { JLog::add( sprintf('%s() is deprecated. Use JHtmlSidebar::setAction() instead.', __METHOD__), JLog::WARNING, 'deprecated' ); } catch (RuntimeException $exception) { // Informational log only } self::$action = $action; } /** * Get value for the action attribute of the filter form * * @return string Value for the action attribute of the form * * @since 3.0 * @deprecated 4.0 Use JHtmlSidebar::getAction() instead. */ public static function getAction() { try { JLog::add( sprintf('%s() is deprecated. Use JHtmlSidebar::getAction() instead.', __METHOD__), JLog::WARNING, 'deprecated' ); } catch (RuntimeException $exception) { // Informational log only } return self::$action; } }