Re: Re: ページURLを取得したい
2012年6月8日 at 8:29
$this->set は controller.php から view.phpに値を渡すという処理です。
$bbbb = 'テストテストテスト';
$this->set('aa',$bbbb);
controller.php で上記の処理をした場合
view.php では $aa として使えます。
echo $aa;
とすると表示は
テストテストテスト
になります。
Your post has been saved and will be published after approval by the forum moderator.