Archive for 10月, 2009
elementの呼び出し方
Posted by goku in cakePHP1.2 on 2009年10月16日
よく忘れるのでメモ
hoge.ctpをelementsフォルダに保存。
で、
呼び出すctpファイル上に
<?php echo $this->renderElement(’hoge’); ?>
と記述すると呼び出される。
Posted by goku in cakePHP1.2 on 2009年10月16日
よく忘れるのでメモ
hoge.ctpをelementsフォルダに保存。
で、
呼び出すctpファイル上に
<?php echo $this->renderElement(’hoge’); ?>
と記述すると呼び出される。
You are currently browsing the archives for 10月, 2009
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^