ExtendingDwoo

Extending Dwoo
Here is a simplified version of the Dwoo wrapper class I use in my CMS, it uses some nice features that you might be interested in.

This class has several purposes :
 * Allowing the creation of custom templates for a different language
 * Allowing you to add custom instructions to the compiler, but without loading it until it's necessary, as it is a huge file and class it takes php a few milliseconds to load it so avoid it if you can
 * Allowing you to add $dwoo.XXX constants to be used in all of your templates

To use this class here's what you do basically when you want to build a template :

Using the Include Plugin
If you decide to use the include plugin in your template you will need to add an extra method to the above class above to get it to work.