Post by longdrake » Wed Jan 12, 2011 3:57 pm

opencart 的MVC結構是怎麼把template下和controller下的同目錄名的文件相關聯呢 比如$home,$header这些變量的值是怎麼取得的呢

Newbie

Posts

Joined
Wed Jan 12, 2011 3:11 pm

Post by arke » Thu Apr 07, 2011 3:27 pm

Controler 中的 $this->data['header'] 對應 模板 Template 的 $header
其它都是一樣的

Newbie

Posts

Joined
Thu Apr 07, 2011 3:19 pm

Post by wend » Sat Jul 30, 2011 6:48 pm

贊一個 ;D

Write less, Do more. Learning jQuery, Javascript, PHP, CSS


User avatar
Newbie

Posts

Joined
Sat Jul 30, 2011 8:56 am
Location - Shenzhen-China
Who is online

Users browsing this forum: No registered users and 2 guests