How do I grab the page number in the controller of my php code and also set it?
2039 次
2 に答える
1
現在のページ番号はコントローラーにありますparams
。
デバッグして内容を表示するか、DebugKitを使用してみてください。
// Within your controller action:
debug($this->request->params);
于 2012-08-09T05:12:40.893 に答える