Skip to content

Header and Footer and Menu on every page BrianDHall

Derek Jones edited this page Jul 5, 2012 · 4 revisions

Category:Approaches::Header and Footer and Menu on every page

Overview:

[i] ... yet to be updated ... [/i]

Approach (brief):

Declare public variable $data in the constructor, then pass $this->data to views.

When adding information to views you just always add them to $this->data - great for one-controller applications or for data only needed in one controller,

Approach (in detail):

[i] ... yet to be updated ... [/i]

Clone this wiki locally