Thursday, 28 April 2016 16:02

How can I call Joomla controller from another controller?

Written by
Rate this item
(1 Vote)
include_once ( JPATH_COMPONENT . DS . 'controllers' . DS . 'ControllerName' . '.php' );
$controller = new ControllerName(); 
$controller->execute('task');

 

Read 620 times
Admin

Live and Be Free