Source for file message.php
Documentation is available at message.php
* @package Joomla.Administrator
* @subpackage com_messages
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* Messages Component Message Model
* @package Joomla.Administrator
* @subpackage com_messages
* Method (override) to check if you can save a new or existing record.
* Adjusts for the primary key name and hands off to the parent class.
* @param array An array of input data.
* @param string The name of the key for the primary key.
protected function allowSave($data, $key =
'message_id')
* Reply to an existing message.
* This is a simple redirect to the compose form.
if ($replyId =
$this->input->getInt('reply_id'))
$this->setRedirect('index.php?option=com_messages&view=message&layout=edit&reply_id=' .
$replyId);
$this->setRedirect('index.php?option=com_messages&view=messages');
Documentation generated on Tue, 19 Nov 2013 15:08:04 +0100 by phpDocumentor 1.4.3