我对 Cakephp 中的分页助手有疑问
我按照 book.cakephp 中的示例进行操作,并尝试搜索它的解决方案但没有找到 这个问题
Warning (512): Method PaginatorHelper::option does not exist [CORE\cake\libs\view\helper.php, line 154]
Code | Context
Helper::call__() - CORE\cake\libs\view\helper.php, line 154
Overloadable::__call() - CORE\cake\libs\overloadable_php5.php, line 50
PaginatorHelper::option() - APP\views\layouts\default.ctp, line 41
include - APP\views\layouts\default.ctp, line 41
View::_render() - CORE\cake\libs\view\view.php, line 731
View::renderLayout() - CORE\cake\libs\view\view.php, line 489
View::render() - CORE\cake\libs\view\view.php, line 435
Controller::render() - CORE\cake\libs\controller\controller.php, line 909
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 207
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
[main] - APP\webroot\index.php, line 83
最小化代码用户控制器和视图 在此处输入链接说明
感谢您的回答
I follow in example in book.cakephp and I try to search solution for it but not found
this it problem
Warning (512): Method PaginatorHelper::option does not exist [CORE\cake\libs\view\helper.php, line 154]
Code | Context
Helper::call__() - CORE\cake\libs\view\helper.php, line 154
Overloadable::__call() - CORE\cake\libs\overloadable_php5.php, line 50
PaginatorHelper::option() - APP\views\layouts\default.ctp, line 41
include - APP\views\layouts\default.ctp, line 41
View::_render() - CORE\cake\libs\view\view.php, line 731
View::renderLayout() - CORE\cake\libs\view\view.php, line 489
View::render() - CORE\cake\libs\view\view.php, line 435
Controller::render() - CORE\cake\libs\controller\controller.php, line 909
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 207
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
[main] - APP\webroot\index.php, line 83
minimize code User Controller and view
enter link description here
Thank for answer
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它应该是(api)
而不是
(注意s)
希望有帮助:)
It should be (api)
instead of
(note the s)
Hope it helps :)
您的代码中没有包含 AjaxHelper。
You don't have the AjaxHelper included in your code.