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:

  • ... yet to be updated ... *

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):

  • ... yet to be updated ... *
Clone this wiki locally