http://example.com/some/where
in my indexController:
public function __call($func, $args) {
  print_r($this->_getAllParams());
}

I was expecting to get Array('some'=>'where'), but instead I get an error:
Array ( [error] => Zend_Controller_Router_Exception Object (
[message:protected] => Request could not be mapped to a route.
[string:private] => [code:protected] => 0 [file:protected] =>
/home/jeff/www/library/Zend/library/Zend/Controller/Router.php
[line:protected] => 100 [trace:private] => Array ( [0] => Array ( [file] =>
/home/jeff/www/library/Zend/library/Zend/Controller/Front.php [line] => 231
[function] => route [class] => Zend_Controller_Router [type] => ->  [args]
=> Array ( [0] => Zend_Controller_Dispatcher Object ( [_directory:protected]
=> /some/directory/path ) ) ) [1] => Array ( [file] =>
/some/directory/path/index.php [line] => 43 [function] => dispatch [class]
=> Zend_Controller_Front [type] => ->  [args] => Array ( ) ) ) ) )

Is this normal behavior?

-- 
View this message in context: 
http://www.nabble.com/IndexController-__call%28%29-and-_getAllParams-Issue-tf2420787s16154.html#a6749150
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to