| Current Path : /var/www/components/com_contactpush/controllers/ |
| Current File : /var/www/components/com_contactpush/controllers/messagerecipient.php |
<?php
/** ______________________________________________
* o O | |
* ((((( o < Generated with Cook Self Service V3.1 |
* ( o o ) |______________________________________________|
* --------oOOO-----(_)-----OOOo---------------------------------- www.j-cook.pro --- +
* @version 1.0.0
* @package Contact Push
* @subpackage Message recipients
* @copyright Netamity 2017
* @author Andy Hickey - www.netamity.com - andy@netamity.com
* @license GPL V2+
*
* .oooO Oooo.
* ( ) ( )
* -------------\ (----) /----------------------------------------------------------- +
* \_) (_/
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
/**
* Contactpush Messagerecipient Controller
*
* @package Contactpush
* @subpackage Messagerecipient
*/
class ContactpushCkControllerMessagerecipient extends ContactpushClassControllerItem
{
/**
* The context for storing internal data, e.g. record.
*
* @var string
*/
protected $context = 'messagerecipient';
/**
* The URL view item variable.
*
* @var string
*/
protected $view_item = 'messagerecipient';
/**
* The URL view list variable.
*
* @var string
*/
protected $view_list = 'messagerecipients';
/**
* Constructor
*
* @access public
* @param array $config An optional associative array of configuration settings.
*
* @return void
*/
public function __construct($config = array())
{
parent::__construct($config);
$app = JFactory::getApplication();
}
/**
* Return the current layout.
*
* @access protected
* @param bool $default If true, return the default layout.
*
* @return string Requested layout or default layout
*/
protected function getLayout($default = null)
{
if ($default)
return '';
$jinput = JFactory::getApplication()->input;
return $jinput->get('layout', '', 'CMD');
}
}
// Load the fork
ContactpushHelper::loadFork(__FILE__);
// Fallback if no fork has been found
if (!class_exists('ContactpushControllerMessagerecipient')){ class ContactpushControllerMessagerecipient extends ContactpushCkControllerMessagerecipient{} }