| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. 4 * @license GNU General Public License version 2 or later; see LICENSE.txt 5 */ 6 7 // no direct access 8 defined('_JEXEC') or die; 9 10 include_once dirname(__FILE__).'/../default/view.php'; 11 12 /** 13 * Extension Manager Update View 14 * 15 * @package Joomla.Administrator 16 * @subpackage com_installer 17 * @since 1.6 18 */ 19 class InstallerViewUpdate extends InstallerViewDefault 20 { 21 /** 22 * @since 1.6 23 */ 24 function display($tpl=null) 25 { 26 // Get data from the model 27 $this->state = $this->get('State'); 28 $this->items = $this->get('Items'); 29 $this->pagination = $this->get('Pagination'); 30 31 $paths = new stdClass(); 32 $paths->first = ''; 33 34 $this->assignRef('paths', $paths); 35 36 parent::display($tpl); 37 } 38 39 /** 40 * Add the page title and toolbar. 41 * 42 * @since 1.6 43 */ 44 protected function addToolbar() 45 { 46 $canDo = InstallerHelper::getActions(); 47 48 JToolBarHelper::custom('update.update', 'upload', 'upload', 'COM_INSTALLER_TOOLBAR_UPDATE', true, false); 49 JToolBarHelper::custom('update.find', 'refresh', 'refresh', 'COM_INSTALLER_TOOLBAR_FIND_UPDATES', false, false); 50 JToolBarHelper::custom('update.purge', 'purge', 'purge', 'JTOOLBAR_PURGE_CACHE', false, false); 51 JToolBarHelper::divider(); 52 parent::addToolbar(); 53 JToolBarHelper::help('JHELP_EXTENSIONS_EXTENSION_MANAGER_UPDATE'); 54 } 55 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |