当前位置: 首页>>代码示例>>PHP>>正文


PHP JLToolBarHelper::deleteList方法代码示例

本文整理汇总了PHP中JLToolBarHelper::deleteList方法的典型用法代码示例。如果您正苦于以下问题:PHP JLToolBarHelper::deleteList方法的具体用法?PHP JLToolBarHelper::deleteList怎么用?PHP JLToolBarHelper::deleteList使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JLToolBarHelper的用法示例。


在下文中一共展示了JLToolBarHelper::deleteList方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: addToolbar

 /**
  * Add the page title and toolbar.
  */
 protected function addToolbar()
 {
     // Set toolbar items for the page
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_DIVS_TITLE'));
     JLToolBarHelper::addNew('division.add');
     JLToolBarHelper::editList('division.edit');
     JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_DIVISIONS_DELETE_WARNING'), 'division.remove');
     JToolBarHelper::divider();
     JToolBarHelper::help('screen.joomleague', true);
 }
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:13,代码来源:view.html.php

示例2: addToolbar

 /**
  * Add the page title and toolbar.
  *
  * @since	1.7
  */
 protected function addToolbar()
 {
     // Set toolbar items for the page
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_DIVS_TITLE'));
     JLToolBarHelper::addNewX('division.add');
     JLToolBarHelper::editListX('division.edit');
     JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_DIVISIONS_DELETE_WARNING'), 'division.remove');
     JToolBarHelper::divider();
     JLToolBarHelper::onlinehelp();
     JToolBarHelper::preferences(JRequest::getCmd('option'));
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:16,代码来源:view.html.php

示例3: addToolbar

 protected function addToolbar()
 {
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TREETOS_TITLE'), 'Tree');
     JLToolBarHelper::apply('treeto.saveshort');
     JLToolBarHelper::publishList('treeto.publish');
     JLToolBarHelper::unpublishList('treeto.unpublish');
     JToolBarHelper::divider();
     JLToolBarHelper::addNew('treeto.save');
     JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_TREETOS_WARNING'), 'treeto.remove');
     JToolBarHelper::divider();
     JToolBarHelper::help('screen.joomleague', true);
 }
开发者ID:Heart1010,项目名称:JoomLeague,代码行数:12,代码来源:view.html.php

示例4: display

 function display($tpl = null)
 {
     $mainframe =& JFactory::getApplication();
     $db =& JFactory::getDBO();
     $uri =& JFactory::getURI();
     $document =& JFactory::getDocument();
     $option = JRequest::getCmd('option');
     $optiontext = strtoupper(JRequest::getCmd('option') . '_');
     $this->assignRef('optiontext', $optiontext);
     // Set toolbar items for the page
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_ROSTERPOSITIONS_TITLE'), 'generic.png');
     /*
         JToolBarHelper::addNewX();
     JToolBarHelper::editListX();
     JToolBarHelper::custom('import','upload','upload',JText::_('COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT'),false);
     JToolBarHelper::archiveList('export',JText::_('COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'));
     JToolBarHelper::deleteList();
     JToolBarHelper::divider();
     */
     //    JLToolBarHelper::addNew('rosterposition.add');
     JToolBarHelper::custom('rosterposition.addhome', 'new', 'new', JText::_('COM_JOOMLEAGUE_ADMIN_ROSTERPOSITIONS_HOME'), false);
     JToolBarHelper::custom('rosterposition.addaway', 'new', 'new', JText::_('COM_JOOMLEAGUE_ADMIN_ROSTERPOSITIONS_AWAY'), false);
     JLToolBarHelper::editList('rosterposition.edit');
     JToolBarHelper::custom('rosterposition.import', 'upload', 'upload', JText::_('COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT'), false);
     JToolBarHelper::archiveList('rosterposition.export', JText::_('COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'));
     //JToolBarHelper::deleteList();
     JLToolBarHelper::deleteList('', 'rosterposition.remove');
     JToolBarHelper::divider();
     JLToolBarHelper::onlinehelp();
     JToolBarHelper::preferences(JRequest::getCmd('option'));
     $db =& JFactory::getDBO();
     $uri =& JFactory::getURI();
     $filter_order = $mainframe->getUserStateFromRequest($option . 'l_filter_order', 'filter_order', 'obj.ordering', 'cmd');
     $filter_order_Dir = $mainframe->getUserStateFromRequest($option . 'l_filter_order_Dir', 'filter_order_Dir', '', 'word');
     $search = $mainframe->getUserStateFromRequest($option . 'l_search', 'search', '', 'string');
     $search = JString::strtolower($search);
     $items =& $this->get('Data');
     $total =& $this->get('Total');
     $pagination =& $this->get('Pagination');
     // table ordering
     $lists['order_Dir'] = $filter_order_Dir;
     $lists['order'] = $filter_order;
     // search filter
     $lists['search'] = $search;
     $this->assignRef('user', JFactory::getUser());
     $this->assignRef('lists', $lists);
     $this->assignRef('items', $items);
     $this->assignRef('pagination', $pagination);
     $this->assignRef('request_url', $uri->toString());
     parent::display($tpl);
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:51,代码来源:view.html.php


注:本文中的JLToolBarHelper::deleteList方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。