Source for file contenthistory.php
Documentation is available at contenthistory.php
* @package Joomla.Libraries
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Field to select a user id from a modal list.
* @package Joomla.Libraries
public $type =
'ContentHistory';
* Method to get the content history field input markup.
* @return string The field input markup.
$itemId =
$this->form->getValue('id');
$label =
JText::_('JTOOLBAR_VERSIONS');
$link =
'index.php?option=com_contenthistory&view=history&layout=modal&tmpl=component&field='
.
$this->id .
'&item_id=' .
$itemId .
'&type_id=' .
$typeId .
'&type_alias='
// Load the modal behavior script.
JHtml::_('behavior.modal', 'a.modal_' .
$this->id);
$html[] =
' <a class="btn modal_' .
$this->id .
'" title="' .
$label .
'" href="' .
$link .
'"'
.
' rel="{handler: \'iframe\', size: {x: 800, y: 500}}">';
$html[] =
'<i class="icon-archive"></i>';
Documentation generated on Tue, 19 Nov 2013 14:56:59 +0100 by phpDocumentor 1.4.3