[eluser]Doodlez[/eluser]
All this function does is set the doc type and page header I figure since I will call it constantly I could just create a function that creates a view and passes it my variables. My problem is that I don't under stand the scope of the Controller object(at least I think thats what I mean) Where would this code be placed? Is this a helper?
function declareHeader($pageTitle,$metaData){
$decleration=array(
'pageTitle'=> $pageTitle,
'metta'=> $metaData
);
$this->load->view('decleration',$decleration);
}