lilj

Results 7 comments of lilj

在3.1.4下,$request->setParam("1", "bbb"); 也是如此。 但是之前都是使用 ```php $request->setParam([ 0=>'aaa', 1=>'bbb' ]); ``` 不会有这个问题。

另外 在Cli下面, 用 ``` Yaf_Dispatcher::getInstance()->autoRender(false); Yaf_Dispatcher::getInstance()->disableView(); ``` 未能阻止视图,提示找不到视图文件出错。 ``` protected $yafAutoRender = false; ``` 也无效, 用 ``` protected $yafAutoRender = 0; ``` 可以, 不报错 奇怪的问题。

可以自己写路由. 在 2013-8-5 下午4:55,"Albert Lee" [email protected]写道: > 好……继续关注。谢谢 > > — > Reply to this email directly or view it on GitHubhttps://github.com/laruence/php-yaf/issues/50#issuecomment-22093967 > .

我是想把Trait按规则放到单独的文件里面. 不用include 神马的, 直接就可以use了. 现在的 lib 不正是这样的么?

可以了, 没有registerLocalNameSpace ... 找到一点资料. http://stackoverflow.com/questions/10641824/php5-4-autoloading-traits Sorry, 没仔细研究就发问了.

好多年过去了, 鸟哥最近频繁出没, 重新提一下这个需求,这样就能不用spl_autoload了。 ```php