There seems to be a problem that I've found when brought up by someone on
#zftalk. It seems that Zend_Server_Reflection has problems with the use of
func_get_args() when there is an @param php doc stating extra params.

Example:

  /**

  * Internally redirects one action to another

  *

  * @param string $action The new action to be redirected to

  * @param mixed  Any other parameters passed to this method will be passed
as

  *               parameters to the new action.

  * @access public

  */

  function setAction($action) {

  $this->action = $action;

  $args = func_get_args();

  unset($args[0]);

  call_user_func_array(array(&$this, $action), $args);

  }

Error msg: ( ! ) Fatal error: Call to a member function isOptional() on a
non-object in Zend/Server/Reflection/Function/Abstract.php on line 346

-------------------

http://www.spotsec.com SpotSec 
-- 
View this message in context: 
http://www.nabble.com/Zend_Server_Reflection-tf3822461s16154.html#a10821733
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to