Source for file history.php
Documentation is available at history.php
* @package Joomla.Administrator
* @subpackage com_contenthistory
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* Contenthistory list controller class.
* @package Joomla.Administrator
* @subpackage com_contenthistory
* Deletes and returns correctly.
// Get items to remove from the request.
$cid =
$this->input->get('cid', array(), 'array');
// Make sure the item ids are integers
jimport('joomla.utilities.arrayhelper');
if ($model->delete($cid))
'index.php?option=com_contenthistory&view=history&layout=modal&tmpl=component&item_id='
.
$this->input->getInt('item_id') .
'&type_id=' .
$this->input->getInt('type_id')
* @param string $name The name of the model
* @param string $prefix The prefix for the model
* @param array $config An additional array of parameters
* @return JModelLegacy The model
public function getModel($name =
'History', $prefix =
'ContenthistoryModel', $config =
array('ignore_request' =>
true))
return parent::getModel($name, $prefix, $config);
* Toggles the keep forever value for one or more history rows. If it was Yes, changes to No. If No, changes to Yes.
// Get items to remove from the request.
$cid =
$this->input->get('cid', array(), 'array');
// Make sure the item ids are integers
jimport('joomla.utilities.arrayhelper');
'index.php?option=com_contenthistory&view=history&layout=modal&tmpl=component&item_id='
.
$this->input->getInt('item_id') .
'&type_id=' .
$this->input->getInt('type_id')
Documentation generated on Tue, 19 Nov 2013 15:04:44 +0100 by phpDocumentor 1.4.3