Source for file view.html.php
Documentation is available at view.html.php
* @package Joomla.Administrator
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* View to edit a user group.
* @package Joomla.Administrator
public function display($tpl =
null)
if (count($errors =
$this->get('Errors')))
* Add the page title and toolbar.
$isNew =
($this->item->id ==
0);
JToolbarHelper::title(JText::_($isNew ?
'COM_USERS_VIEW_NEW_GROUP_TITLE' :
'COM_USERS_VIEW_EDIT_GROUP_TITLE'), 'users groups-add');
if ($canDo->get('core.edit') ||
$canDo->get('core.create'))
if ($canDo->get('core.create'))
// If an existing item, can save to a copy.
if (!$isNew &&
$canDo->get('core.create'))
if (empty($this->item->id))
Documentation generated on Tue, 19 Nov 2013 15:17:34 +0100 by phpDocumentor 1.4.3