我认为双下划线总是意味着私有功能,但是在像这样的例子中,在cakephp 2.0中它是什么意思 http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html
例如
$this->Session->setFlash(__('The user could not be saved. Please, try again.'));
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2793 次 |
| 最近记录: |