| Current Path : /var/www/administrator/components/com_contactpush/classes/ |
| Current File : /var/www/administrator/components/com_contactpush/classes/controller.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 Contact Push
* @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 Controller
*
* @package Contactpush
* @subpackage
*/
class ContactpushCkClassController extends CkJController
{
/**
* Call the parent display function. Trick for forking overrides.
*
* @access protected
*
*
* @since Cook 2.0
*
* @return void
*/
protected function _parentDisplay()
{
//Add the fork views path (LIFO) instead of FIFO
array_push($this->paths['view'], JPATH_CONTACTPUSH . '/fork/views');
parent::display();
}
}
// Load the fork
ContactpushHelper::loadFork(__FILE__);
// Fallback if no fork has been found
if (!class_exists('ContactpushClassController')){ class ContactpushClassController extends ContactpushCkClassController{} }