function display($tpl = null) { JToolBarHelper::title(JText::_('COM_RAIDPLANNER_RAIDS'), 'generic.png'); JToolBarHelper::addNew(); JToolBarHelper::editList(); JToolBarHelper::deleteList(); RaidPlannerHelper::showToolbarButtons(); // Get data from the model $raids = $this->get('Data'); $pagination = $this->get('Pagination'); $this->assign('guilds', RaidPlannerHelper::getGuilds()); $this->assignRef('raids', $raids); $this->assignRef('pagination', $pagination); /* Call the state object */ $state = $this->get('state'); /* Get the values from the state object that were inserted in the model's construct function */ $lists['search'] = $state->get('filter_raid_search'); $lists['guild_filter'] = $state->get('filter_guild_filter'); $lists['start_time_min'] = $state->get('filter_raid_start_time_min'); $lists['start_time_max'] = $state->get('filter_raid_start_time_max'); $lists['order_Dir'] = $state->get('filter_order_Dir'); $lists['order'] = $state->get('filter_order'); $this->assignRef('lists', $lists); parent::display($tpl); }
/** * display method of Hello view * @return void **/ function display($tpl = null) { //get the data JToolBarHelper::title(JText::_('COM_RAIDPLANNER')); JToolBarHelper::preferences('com_raidplanner'); RaidPlannerHelper::showToolbarButtons(); $plugins = $this->getPluginList(); $this->assignRef('installed_plugins', $plugins); parent::display($tpl); }
function display($tpl = null) { JToolBarHelper::title(JText::_('COM_RAIDPLANNER_ROLES'), 'generic.png'); JToolBarHelper::addNew(); JToolBarHelper::editList(); JToolBarHelper::deleteList(); RaidPlannerHelper::showToolbarButtons(); // Get data from the model $roles = $this->get('Data'); $this->assignRef('roles', $roles); parent::display($tpl); }
/** * display method of Stats view * @return void **/ function display($tpl = null) { /* Load Javascript and CSS files */ RaidPlannerHelper::loadJSFramework(); JHTML::stylesheet('com_raidplanner/raidplanner_admin.css', false, true, false); //get the data JToolBarHelper::title(JText::_('COM_RAIDPLANNER_STATS')); RaidPlannerHelper::showToolbarButtons(); /* Call the state object */ $state = $this->get('state'); /* Get the values from the state object that were inserted in the model's construct function */ $lists['filter_start_time'] = $state->get('filter_start_time'); $lists['filter_end_time'] = $state->get('filter_end_time'); $lists['filter_character_id'] = $state->get('filter_character_id'); $lists['filter_group_id'] = $state->get('filter_group_id'); $this->assign('guilds', RaidPlannerHelper::getGuilds()); $this->assign('groups', RaidPlannerHelper::getGroups()); $this->assign('characters', RaidPlannerHelper::getCharacters()); $this->assignRef('lists', $lists); parent::display($tpl); }