Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$this->Paginator->Settings()テーブルをページ分割し、2 ページ目または 3 ページ目を使用して変数に保存するオプションはありますか
$this->Paginator->Settings()
$view=$this->Paginate('Post');
次のようにページを指定できます。
$this->Paginate->settings(array('page' => 2)); $posts = $this->Paginate->paginate('Post');
$postsページのレコードが含まれるようになりました2
$posts
2