开发者

view($id = null) what does it mean?

    function view($id = null) {
 开发者_StackOverflow   $this->Post->id = $id;

What is the purpose of ($id = null)?


It uses null as the default value for the function argument $id. See Default argument values for the details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜