| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @version $Id: content.php 14401 2010-01-26 14:10:00Z louis $ 4 * @package Joomla 5 * @subpackage Content 6 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant to the 9 * GNU General Public License, and as distributed it includes or is derivative 10 * of works licensed under the GNU General Public License or other free or open 11 * source software licenses. See COPYRIGHT.php for copyright notices and 12 * details. 13 */ 14 15 // no direct access 16 defined('_JEXEC') or die('Restricted access'); 17 18 // Require the com_content helper library 19 require_once (JPATH_COMPONENT.DS.'controller.php'); 20 require_once (JPATH_COMPONENT.DS.'helpers'.DS.'query.php'); 21 require_once (JPATH_COMPONENT.DS.'helpers'.DS.'route.php'); 22 23 // Component Helper 24 jimport('joomla.application.component.helper'); 25 26 // Create the controller 27 $controller = new ContentController(); 28 29 // Register Extra tasks 30 $controller->registerTask( 'new' , 'edit' ); 31 $controller->registerTask( 'apply', 'save' ); 32 $controller->registerTask( 'apply_new', 'save' ); 33 34 // Perform the Request task 35 $controller->execute(JRequest::getVar('task', null, 'default', 'cmd')); 36 $controller->redirect();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |