Repeating, my own function, how? |
[eluser]Pascal Kriete[/eluser]
You would could create a library. Code: class Layout { Name that file layout.php and plop it in your application/libraries folder. To use, autoload 'layout' and in your constructors do: Code: $this->layout->show_header(); Obviously you can add functions as your heart desires. Here's some complimentary reading. Hope that helps. |
Messages In This Thread |
Repeating, my own function, how? - by El Forum - 05-13-2008, 09:52 AM
Repeating, my own function, how? - by El Forum - 05-13-2008, 11:08 AM
Repeating, my own function, how? - by El Forum - 05-15-2008, 07:50 AM
|