有人使用nooku框架?Joomla - nooku框架 - 什麼是調度?
與切入點
defined('_JEXEC') or die('Restricted access');
if(!defined('KOOWA')){
JError::raiseWarning(0, JText::_("Koowa wasn't found. Please install the Koowa plugin and enable it."));
return;
}
$view = KRequest::get('get.view', 'cmd', 'hellos');
echo "<pre>";
var_dump(KFactory::get('admin::com.hello.dispatcher'));
KFactory::get('admin::com.hello.dispatcher')->dispatch($view);
時的var_dump我得到一個對象,但我沒有看到調度()