$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() { JLog::add('JSubMenuHelper::getFilters() is deprecated. Use JHtmlSidebar::getFilters() instead.', JLog::WARNING, 'deprecated'); 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) { JLog::add('JSubMenuHelper::setAction() is deprecated. Use JHtmlSidebar::setAction() instead.', JLog::WARNING, 'deprecated'); 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() { JLog::add('JSubMenuHelper::getAction() is deprecated. Use JHtmlSidebar::getAction() instead.', JLog::WARNING, 'deprecated'); return self::$action; } }