help with Zend dispatcher
- by simple
this is the Zend Controller Dispatcher Standart
public function isDispatchable(Zend_Controller_Request_Abstract $request)
{
$className = $this->getControllerClass($request);
echo 'is dispatchanble started';
var_dump($className);
if (!$className) {
return false;
}
var_dump(class_exists($className, false));
if (class_exists($className, false)) {
return true;
}
$fileSpec = $this->classToFilename($className);
$dispatchDir = $this->getDispatchDirectory();
$test = $dispatchDir . DIRECTORY_SEPARATOR . $fileSpec;
return Zend_Loader::isReadable($test);
}
I need to set up custom modular structure and loading just using plugins (I need to setup the path where zend looks for controller), so I am stuck
tracing down I came to the isDispatchable method that returns false and consequently the dispatching returns error . This method returns false because class_exists return false , it is surely has to do with auto loading ,but confused. help will be appreciated,though I got the feeling that I am looking at wrong place.