Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yaf_Controller_Abstract::display函数的第一个参数增加默认值 #170

Open
mlboy opened this issue Jun 18, 2015 · 1 comment
Open

Comments

@mlboy
Copy link

mlboy commented Jun 18, 2015

能否给Yaf_Controller_Abstract::display函数的第一个参数增加默认值。
因为在关闭自动模板(Yaf_Dispatcher::disableView())情况下,
调用模板$this->display('action');来显示模板,但多数情况还是控制器本身的名字,所以每次都多写一次比较麻烦。

@letwang
Copy link

letwang commented Jun 12, 2019

最好默认填充

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants