/** * Method to display a view. * * @param boolean If true, the view output will be cached * @param array An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}. * * @return JController This object to support chaining. * @since 1.5 */ public function display($cachable = false, $urlparams = false) { require_once JPATH_COMPONENT . '/helpers/wedding.php'; // BannersHelper::updateReset(); // Load the submenu. WeddingHelper::addSubmenu(JRequest::getCmd('view', 'users')); parent::display(); return $this; }