Source for file view.html.php

Documentation is available at view.html.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_users
  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.  * Users mail view.
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_users
  17.  */
  18. class UsersViewMail extends JViewLegacy
  19. {
  20.     /**
  21.      * @var object form object
  22.      */
  23.     protected $form;
  24.  
  25.     /**
  26.      * Display the view
  27.      */
  28.     public function display($tpl null)
  29.     {
  30.         // Get data from the model
  31.         $this->form = $this->get('Form');
  32.  
  33.         $this->addToolbar();
  34.         parent::display($tpl);
  35.     }
  36.  
  37.     /**
  38.      * Add the page title and toolbar.
  39.      *
  40.      * @since   1.6
  41.      */
  42.     protected function addToolbar()
  43.     {
  44.         JFactory::getApplication()->input->set('hidemainmenu'true);
  45.  
  46.         JToolbarHelper::title(JText::_('COM_USERS_MASS_MAIL')'users massmail');
  47.         JToolbarHelper::custom('mail.send''envelope.png''send_f2.png''COM_USERS_TOOLBAR_MAIL_SEND_MAIL'false);
  48.         JToolbarHelper::cancel('mail.cancel');
  49.         JToolbarHelper::divider();
  50.         JToolbarHelper::preferences('com_users');
  51.         JToolbarHelper::divider();
  52.         JToolbarHelper::help('JHELP_USERS_MASS_MAIL_USERS');
  53.     }
  54. }

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