摘要:
前几天在项目中看到这句代码:$this->getHelper('redirector')->goto('login', 'account');找遍了rediretor.php 也找不到goto方法,最后发现原来是在__call中。goto原来就是gotoSimple,呵呵~~public function __call($method, $args) { $method = strtolower($method); if ('goto' == $method) { return call_user_func_array 阅读全文
posted @ 2011-08-06 12:14
越------
阅读(209)
评论(0)
推荐(0)
浙公网安备 33010602011771号