纠正手册错误
手册“控制器”一章“重新定义方法的调用规则”代码function _remap($method)
{
if ($method == 'c')
{
$this->$comment();
}
else
{
$this->method();
}
}
应该修改为:
function _remap($method)
{
if ($method == 'c')
{
$this->comment();
}
else
{
$this->$method();
}
}
非常感谢,错误已根据官方文档进行了修正。 鄙视下楼主
$method 这个变色加粗干什么!
页:
[1]