Skip to content

Header and Footer and Menu on every page BrianDHall

World Wide Web Server edited this page Jul 4, 2012 · 4 revisions

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

[b]Overview:[/b]

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

[b]Approach (brief):[/b]

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,

[b]Approach (in detail):[/b]

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

Clone this wiki locally