edo1z blog

プログラミングなどに関するブログです

element

cakePHP2.3 エレメント・ブロック

http://book.cakephp.org/2.0/ja/views.html // sidebarブロックを作成する $this->start('sidebar'); echo $this->element('sidebar/recent_topics'); echo $this->element('sidebar/recent_comments'); $this->end(); // sidebarの末尾に追加する $this->a…