Skip to content
このドキュメントは、CakePHP 2.x の PHP 8 対応フォーク pieceofcake2/cakephp のものです。 フォークについて

Router ​

ルーター(Router) は URL をコントローラ、アクション、あらゆるパラメータの指定を含む配列に変換し、 また逆に、URL の配列(例: ['controller' => 'posts', 'action' => 'index'] )から文字列としての URL に変換をします。

詳しくは ルーターの設定 をする方法と Router クラスを見てください。

Based on the CakePHP Cookbook. Content licensed under CC BY-NC-SA 4.0. Not affiliated with the Cake Software Foundation.