small template engine
hello i`m trying to build a small simple parser data from controller to the view but i`m including my files using another function in another class and i would like to use the parse function from bellow code there but without including the file from the parser function i want to include it separated but i can't succeed in doing that can someone please help me i can't figure out by my self why i can't do that. :(
Breath between sentences, it'll help us understand the question.
If you don't want to include that class in a separate file, why not copy and paste it into the file you want to use it from? Or as part of another library file in your arsenal?
I don't want to add there this two functions and i keep them separated because in the future i might add new things or change things around there.. and i want to keep everything in it's own class not mix up things.
(that function i have in the controller class is called by the router class).
so the flow would be something like this
http://www.domain.com/ -> check for headers "parse" the $vars from template load the bits call controller -> method ( i think... i`m kinda of tired in this moment prob my judge is not very good :( )
|All times are GMT. The time now is 08:14 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0