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.
CakePHP でのレイアウトの使用を無視できますか? 通常、デフォルトのレイアウトが機能するか、次のように自分で指定できます
$this->layout='userdefined';
しかし、ページにレイアウトを適用する必要がなくなったので、そのページを完全に空白にする必要があります。そこに送信するデータのみを処理する必要があります。出来ますか?もしそうなら、その方法は何ですか?
あなたができる:
$this->layout = false;