£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyʦ•ꎅȮFÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~芩ÊǍí`ÔÑ©ú뙵'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶êםӼ㞪éUWŸÈË%DÒÕ¬ï‘]/Åcx ‰ï2ß]ä6G[]S£Ôϯrs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ ¯¹ægƒÛowЍø^d™ý½ßB7áyMä9ÜÖUã !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --TEST-- Check actions map with defined action class --SKIPIF-- --INI-- yaf.use_spl_autoload=0 yaf.lowcase_path=0 yaf.use_namespace=0 --FILE-- array( "directory" => APPLICATION_PATH, ), ); file_put_contents(APPLICATION_PATH . "/controllers/Index.php", << "actions/sub.php", ); public function indexAction() { var_dump(\$this->forward('sub')); } } PHP ); file_put_contents(APPLICATION_PATH . "/actions/sub.php", <<getModuleName()); var_dump(\$this->getControllerName()); } } PHP ); file_put_contents(APPLICATION_PATH . "/views/index/index.phtml", "indexAction" . PHP_EOL); file_put_contents(APPLICATION_PATH . "/views/index/sub.phtml", "subAction" . PHP_EOL); $app = new Yaf_Application($config); $request = new Yaf_Request_Simple(); $app->getDispatcher()->dispatch($request); $new_request = new Yaf_Request_Simple(); $new_request->setActionName('sub'); $app->getDispatcher()->dispatch($new_request); ?> --CLEAN-- --EXPECTF-- bool(true) string(5) "Index" string(5) "Index" indexAction subAction string(5) "Index" string(5) "Index" subAction