Source for file toolbar.php

Documentation is available at toolbar.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_postinstall
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. /**
  13.  * The Toolbar class renders the component title area and the toolbar.
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_postinstall
  17.  * @since       3.2
  18.  */
  19. {
  20.     /**
  21.      * Setup the toolbar and title
  22.      *
  23.      * @return  void 
  24.      *
  25.      * @since   3.2
  26.      */
  27.     public function onMessages()
  28.     {
  29.         $extension_name JText::_('COM_POSTINSTALL_TITLE_JOOMLA');
  30.  
  31.         $eid $this->input->getInt('eid'700);
  32.  
  33.         if ($eid != 700)
  34.         {
  35.             $model FOFModel::getTmpInstance('Messages''PostinstallModel');
  36.             $extension_name $model->getExtensionName($eid);
  37.         }
  38.  
  39.         JToolBarHelper::title(JText::sprintf('COM_POSTINSTALL_MESSAGES_TITLE'$extension_name));
  40.         JToolBarHelper::preferences($this->config['option']550875);
  41.     }
  42. }

Documentation generated on Tue, 19 Nov 2013 15:15:48 +0100 by phpDocumentor 1.4.3