InterJinn

Development Framework For PHP

Tag: <jinn:prepend/>

Abstract

This will cause a PHP prepend statement to occur at the beginning of the compiled content. This will only ever output one prepend statement, even if it is used multiple times. The path to the prepend file is that set by the configPath in the project configuration. The prepend tag is important when you are using template based inclusion of the InterJinn engine. This avoids the need to set the auto prepend configuration value of you php.ini file and makes it easy to manage InterJinn project configurations. Another nice thing about using this method is that if you do not wish for InterJinn to be loaded for any given page then you can omit this statement.

Example:
<jinn:prepend/>