I have a problem that I don't think is quite covered in all the threads I've looked at, although
this thread looks like it has something close to what I'm looking for.
My web page header and footer are defined in a PHP class called Navigation. I pass a number of variables to the methods within the class, then have the following code that places header and footer, respectively, on the page:
Code:
echo $Navigation->getHeader();
echo $Navigation->getFooter();
How can I incorporate a PHP object into my template so that I don't have to maintain it in two separate places, one for the rest of my site and the other for phpDig?
<added>
For clarification, my header includes everything from the <html> tag through the <body> tag.
</added>