Location: PHPKode > projects > SithTemplate > SithTemplate-1.1/docs/html/class_template_environ.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>SithTemplate: TemplateEnviron Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<h1>TemplateEnviron Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TemplateEnviron" -->
<p>Template environment - library's end-user API.  
<a href="#_details">More...</a></p>

<p><a href="class_template_environ-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a873058cdbe887d87f8a1b4d235e7a35a">__construct</a> (array $settings=array())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a873058cdbe887d87f8a1b4d235e7a35a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a77902cf744027639a5d6a87acd054cbc">compile</a> (<a class="el" href="interface_i_template_i_o_driver.html">ITemplateIODriver</a> $io, $template)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compile given template.  <a href="#a77902cf744027639a5d6a87acd054cbc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#ad0960ce6c608f4f3b7fbba321cec3a9e">include_</a> ($template, $mode=null, $returnMeta=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Includes template's code into global namespace via I/O driver given in DSN.  <a href="#ad0960ce6c608f4f3b7fbba321cec3a9e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a83a8ca46797584a7a175198532b220e7">get</a> ($template, $mode=null)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns template instance.  <a href="#a83a8ca46797584a7a175198532b220e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a132df401c128e10eafa3a5e923622964">getMeta</a> ($template, $mode=null)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns user-defined template metadata.  <a href="#a132df401c128e10eafa3a5e923622964"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a5387aedb93a098eb199e94fdab8bc92f">cachedGet</a> ($template, $mode=null)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Cached version of <a class="el" href="class_template_environ.html#a83a8ca46797584a7a175198532b220e7">TemplateEnviron::get</a>.  <a href="#a5387aedb93a098eb199e94fdab8bc92f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a564c04dff7b3d6d026ae07adf64dc8b2">render</a> ($template, array $context, $mode=null)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the template directly.  <a href="#a564c04dff7b3d6d026ae07adf64dc8b2"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a9b30f6017bfdf15e9c0234d52ecf5a8d">createFromINI</a> ($settingsINI)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Named constructor.  <a href="#a9b30f6017bfdf15e9c0234d52ecf5a8d"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a5b9029c41ea8dec7765f56b762a349d5">RECOMPILE_ALWAYS</a> = 1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">One of recompilation modes - always recompile.  <a href="#a5b9029c41ea8dec7765f56b762a349d5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a78aacb9bf4a8ffd591bfb89e12f2637d">RECOMPILE_IF_CHANGED</a> = 0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">One of recompilation modes - recompile only when necessary (default).  <a href="#a78aacb9bf4a8ffd591bfb89e12f2637d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a9d912ae01fa388c0e04af9085327eda1">RECOMPILE_NEVER</a> = -1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">One of recompilation modes - never recompile (a.k.a.  <a href="#a9d912ae01fa388c0e04af9085327eda1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a5029fb8f59f467ed9b8cbc0586fcea9c">SECURITY_DISABLE</a> = 0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">One of security modes - do not test against the lists.  <a href="#a5029fb8f59f467ed9b8cbc0586fcea9c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a6e3c4bc113cd6efc66cff819431ea0db">SECURITY_ALLOW_ALL</a> = 1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">One of security modes - first allow all, then check 'disallowed' list.  <a href="#a6e3c4bc113cd6efc66cff819431ea0db"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a5dfd0bca9d3d50d7efcf2360d237d2c8">SECURITY_ALLOW_DENY</a> = 2</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">One of security modes - first check 'allowed' list, then 'disallowed'.  <a href="#a5dfd0bca9d3d50d7efcf2360d237d2c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#ab9c3628bda2698c4f4fd3bbd7d06b7f8">SECURITY_DENY_ALLOW</a> = 3</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">One of security modes - first check 'disallowed' list, then 'allowed'.  <a href="#ab9c3628bda2698c4f4fd3bbd7d06b7f8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#ae3f379fc7bd67ba77f1ad1ad998db3eb">SECURITY_DENY_ALL</a> = 4</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">One of security modes - first disallow all, then check 'allowed' list.  <a href="#ae3f379fc7bd67ba77f1ad1ad998db3eb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">SECURITY_MATCH_EVERYTHING</a> = true</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">May be used instead of <code>allowed</code> or <code>disallowed</code> list, as a wildcard matching everything.  <a href="#ae42a4d9c0cd3c832af7121f75f11806a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a0c4ef7d9a5ced3764fb32398fa6217af">LOAD_ALL_PLUGINS</a> = true</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">May be used as <code>loadPlugins</code> setting to always load all available plugins on all search paths.  <a href="#a0c4ef7d9a5ced3764fb32398fa6217af"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a1a6916c9094781e70523b3ed7ba20b68">$settings</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default environment settings.  <a href="#a1a6916c9094781e70523b3ed7ba20b68"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a5938e33eabf69f562786fd45c6488d1b">$templateCache</a> = array()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal template objects cache.  <a href="#a5938e33eabf69f562786fd45c6488d1b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_template_environ.html#a87e53363d52c31747335d98c93eab978">$compiler</a> = null</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compiler instance.  <a href="#a87e53363d52c31747335d98c93eab978"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Template environment - library's end-user API. </p>
<dl><dt><b>Examples: </b></dt><dd>
<p><a class="el" href="00_hello_8php-example.html#_a0">00_hello.php</a>, <a class="el" href="01_io_8php-example.html#_a0">01_io.php</a>, <a class="el" href="02_settings_8php-example.html#_a0">02_settings.php</a>, <a class="el" href="03_context_8php-example.html#_a0">03_context.php</a>, <a class="el" href="08_security_8php-example.html#_a0">08_security.php</a>, and <a class="el" href="09_errors_8php-example.html#_a0">09_errors.php</a>.</p>
</dd>
</dl>
<p>Definition at line <a class="el" href="_environment_8php_source.html#l00198">198</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a873058cdbe887d87f8a1b4d235e7a35a"></a><!-- doxytag: member="TemplateEnviron::__construct" ref="a873058cdbe887d87f8a1b4d235e7a35a" args="(array $settings=array())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::__construct </td>
          <td>(</td>
          <td class="paramtype">array $&#160;</td>
          <td class="paramname"> <em>settings</em> = <code>array()</code>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<p>Optionally sets up initial settings.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$settings</td><td>Settings array </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_template_environ.html#a1a6916c9094781e70523b3ed7ba20b68" title="Default environment settings.">TemplateEnviron::$settings</a> </dd></dl>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00412">412</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>References <a class="el" href="_environment_8php_source.html#l00363">$settings</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9b30f6017bfdf15e9c0234d52ecf5a8d"></a><!-- doxytag: member="TemplateEnviron::createFromINI" ref="a9b30f6017bfdf15e9c0234d52ecf5a8d" args="($settingsINI)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static TemplateEnviron::createFromINI </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>settingsINI</em>&#160;)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Named constructor. </p>
<p>Shorthand for INI parsing.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$settingsINI</td><td>Settings INI filename </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="class_template_environ.html">TemplateEnviron</a> instance </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_template_environ.html#a873058cdbe887d87f8a1b4d235e7a35a" title="Constructor.">TemplateEnviron::__construct</a> </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="02_settings_8php-example.html#a1">02_settings.php</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="_environment_8php_source.html#l00426">426</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

</div>
</div>
<a class="anchor" id="a77902cf744027639a5d6a87acd054cbc"></a><!-- doxytag: member="TemplateEnviron::compile" ref="a77902cf744027639a5d6a87acd054cbc" args="(ITemplateIODriver $io, $template)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::compile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="interface_i_template_i_o_driver.html">ITemplateIODriver</a> $&#160;</td>
          <td class="paramname"> <em>io</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>template</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compile given template. </p>
<p>This doesn't check <code>recompilationMode</code> setting, so it may be used to forcibly recompile template. It doesn't use DSN - you must provide correct I/O driver object.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$io</td><td>I/O driver </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$template</td><td>Template name </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00438">438</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>References <a class="el" href="_compiler_ex_8php_source.html#l00117">TemplateCompilerEx::compile()</a>.</p>

<p>Referenced by <a class="el" href="_environment_8php_source.html#l00458">include_()</a>.</p>

</div>
</div>
<a class="anchor" id="ad0960ce6c608f4f3b7fbba321cec3a9e"></a><!-- doxytag: member="TemplateEnviron::include_" ref="ad0960ce6c608f4f3b7fbba321cec3a9e" args="($template, $mode=null, $returnMeta=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::include_ </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>template</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>mode</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>returnMeta</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Includes template's code into global namespace via I/O driver given in DSN. </p>
<p>I/O system checks <code>recompilationMode</code> (which you may override per-template using <code>$mode</code> parameter) and acts accordingly, recompiling only when it's required either by this setting or template change. Also recursively handles inclusion of template parent.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$template</td><td>Template name </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$mode</td><td>Per-template recompilation mode override (optional) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$returnMeta</td><td>If <code>true</code>, then returns metadata instead of including the code </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Template's class name, as string; or metadata, as array </dd></dl>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00458">458</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>References <a class="el" href="_environment_8php_source.html#l00438">compile()</a>, and <a class="el" href="_utils_8php_source.html#l00153">TemplateUtils::parseIODSN()</a>.</p>

<p>Referenced by <a class="el" href="_environment_8php_source.html#l00487">get()</a>, and <a class="el" href="_environment_8php_source.html#l00501">getMeta()</a>.</p>

</div>
</div>
<a class="anchor" id="a83a8ca46797584a7a175198532b220e7"></a><!-- doxytag: member="TemplateEnviron::get" ref="a83a8ca46797584a7a175198532b220e7" args="($template, $mode=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::get </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>template</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>mode</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns template instance. </p>
<p>Keep in mind that it doesn't cache template objects - every call will result in object construction, which may lead to performance loss. If you want to use internal object cache, use <a class="el" href="class_template_environ.html#a5387aedb93a098eb199e94fdab8bc92f">TemplateEnviron::cachedGet</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$template</td><td>Template ID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$mode</td><td>Per-template recompilation mode override (optional) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="class_template.html">Template</a> subclass instance - an template object </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_template_environ.html#ad0960ce6c608f4f3b7fbba321cec3a9e" title="Includes template&#39;s code into global namespace via I/O driver given in DSN.">TemplateEnviron::include_</a> </dd>
<dd>
<a class="el" href="class_template_environ.html#a5387aedb93a098eb199e94fdab8bc92f" title="Cached version of TemplateEnviron::get.">TemplateEnviron::cachedGet</a> </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="00_hello_8php-example.html#a1">00_hello.php</a>, <a class="el" href="01_io_8php-example.html#a1">01_io.php</a>, and <a class="el" href="03_context_8php-example.html#a1">03_context.php</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="_environment_8php_source.html#l00487">487</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>References <a class="el" href="_environment_8php_source.html#l00458">include_()</a>.</p>

</div>
</div>
<a class="anchor" id="a132df401c128e10eafa3a5e923622964"></a><!-- doxytag: member="TemplateEnviron::getMeta" ref="a132df401c128e10eafa3a5e923622964" args="($template, $mode=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::getMeta </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>template</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>mode</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns user-defined template metadata. </p>
<p>It will trigger the compilation, if neccessary. Keep in mind, that the core doesn't cache the metadata. Every call will result in I/O, array unserialization and array filtering.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$template</td><td>Template ID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$mode</td><td>Per-template recompilation mode override (optional) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Metadata array </dd></dl>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00501">501</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>References <a class="el" href="_environment_8php_source.html#l00458">include_()</a>.</p>

</div>
</div>
<a class="anchor" id="a5387aedb93a098eb199e94fdab8bc92f"></a><!-- doxytag: member="TemplateEnviron::cachedGet" ref="a5387aedb93a098eb199e94fdab8bc92f" args="($template, $mode=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::cachedGet </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>template</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>mode</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cached version of <a class="el" href="class_template_environ.html#a83a8ca46797584a7a175198532b220e7">TemplateEnviron::get</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$template</td><td>Template ID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$mode</td><td>Per-template recompilation mode override (optional) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="class_template.html">Template</a> subclass instance - an template object </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_template_environ.html#a5938e33eabf69f562786fd45c6488d1b" title="Internal template objects cache.">TemplateEnviron::$templateCache</a> </dd></dl>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00522">522</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_environment_8php_source.html#l00538">render()</a>.</p>

</div>
</div>
<a class="anchor" id="a564c04dff7b3d6d026ae07adf64dc8b2"></a><!-- doxytag: member="TemplateEnviron::render" ref="a564c04dff7b3d6d026ae07adf64dc8b2" args="($template, array $context, $mode=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::render </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>template</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">array $&#160;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>mode</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Render the template directly. </p>
<p>Uses internal cache.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$template</td><td>Template ID </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$context</td><td>Context array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$mode</td><td>Per-template recompilation mode override (optional) </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_template.html#a42044ff0ff501881954eaabce3da54ac" title="Render template using given context.">Template::render</a> </dd>
<dd>
<a class="el" href="class_template_environ.html#a5387aedb93a098eb199e94fdab8bc92f" title="Cached version of TemplateEnviron::get.">TemplateEnviron::cachedGet</a> </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="08_security_8php-example.html#a1">08_security.php</a>, and <a class="el" href="09_errors_8php-example.html#a1">09_errors.php</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="_environment_8php_source.html#l00538">538</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>References <a class="el" href="_environment_8php_source.html#l00522">cachedGet()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a5b9029c41ea8dec7765f56b762a349d5"></a><!-- doxytag: member="TemplateEnviron::RECOMPILE_ALWAYS" ref="a5b9029c41ea8dec7765f56b762a349d5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#a5b9029c41ea8dec7765f56b762a349d5">TemplateEnviron::RECOMPILE_ALWAYS</a> = 1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>One of recompilation modes - always recompile. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="02_settings_8php-example.html#a2">02_settings.php</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="_environment_8php_source.html#l00202">202</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_i_o_8php_source.html#l00185">TemplateStringIO::upToDate()</a>, and <a class="el" href="_i_o_8php_source.html#l00093">TemplateFileIO::upToDate()</a>.</p>

</div>
</div>
<a class="anchor" id="a78aacb9bf4a8ffd591bfb89e12f2637d"></a><!-- doxytag: member="TemplateEnviron::RECOMPILE_IF_CHANGED" ref="a78aacb9bf4a8ffd591bfb89e12f2637d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#a78aacb9bf4a8ffd591bfb89e12f2637d">TemplateEnviron::RECOMPILE_IF_CHANGED</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>One of recompilation modes - recompile only when necessary (default). </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00206">206</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_i_o_8php_source.html#l00093">TemplateFileIO::upToDate()</a>.</p>

</div>
</div>
<a class="anchor" id="a9d912ae01fa388c0e04af9085327eda1"></a><!-- doxytag: member="TemplateEnviron::RECOMPILE_NEVER" ref="a9d912ae01fa388c0e04af9085327eda1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#a9d912ae01fa388c0e04af9085327eda1">TemplateEnviron::RECOMPILE_NEVER</a> = -1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>One of recompilation modes - never recompile (a.k.a. </p>
<p>performance mode). </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00210">210</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_i_o_8php_source.html#l00093">TemplateFileIO::upToDate()</a>.</p>

</div>
</div>
<a class="anchor" id="a5029fb8f59f467ed9b8cbc0586fcea9c"></a><!-- doxytag: member="TemplateEnviron::SECURITY_DISABLE" ref="a5029fb8f59f467ed9b8cbc0586fcea9c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#a5029fb8f59f467ed9b8cbc0586fcea9c">TemplateEnviron::SECURITY_DISABLE</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>One of security modes - do not test against the lists. </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00215">215</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_utils_8php_source.html#l00191">TemplateUtils::checkIfAllowed()</a>.</p>

</div>
</div>
<a class="anchor" id="a6e3c4bc113cd6efc66cff819431ea0db"></a><!-- doxytag: member="TemplateEnviron::SECURITY_ALLOW_ALL" ref="a6e3c4bc113cd6efc66cff819431ea0db" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#a6e3c4bc113cd6efc66cff819431ea0db">TemplateEnviron::SECURITY_ALLOW_ALL</a> = 1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>One of security modes - first allow all, then check 'disallowed' list. </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00219">219</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_utils_8php_source.html#l00191">TemplateUtils::checkIfAllowed()</a>.</p>

</div>
</div>
<a class="anchor" id="a5dfd0bca9d3d50d7efcf2360d237d2c8"></a><!-- doxytag: member="TemplateEnviron::SECURITY_ALLOW_DENY" ref="a5dfd0bca9d3d50d7efcf2360d237d2c8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#a5dfd0bca9d3d50d7efcf2360d237d2c8">TemplateEnviron::SECURITY_ALLOW_DENY</a> = 2</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>One of security modes - first check 'allowed' list, then 'disallowed'. </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00223">223</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_utils_8php_source.html#l00191">TemplateUtils::checkIfAllowed()</a>.</p>

</div>
</div>
<a class="anchor" id="ab9c3628bda2698c4f4fd3bbd7d06b7f8"></a><!-- doxytag: member="TemplateEnviron::SECURITY_DENY_ALLOW" ref="ab9c3628bda2698c4f4fd3bbd7d06b7f8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#ab9c3628bda2698c4f4fd3bbd7d06b7f8">TemplateEnviron::SECURITY_DENY_ALLOW</a> = 3</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>One of security modes - first check 'disallowed' list, then 'allowed'. </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00227">227</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_utils_8php_source.html#l00191">TemplateUtils::checkIfAllowed()</a>.</p>

</div>
</div>
<a class="anchor" id="ae3f379fc7bd67ba77f1ad1ad998db3eb"></a><!-- doxytag: member="TemplateEnviron::SECURITY_DENY_ALL" ref="ae3f379fc7bd67ba77f1ad1ad998db3eb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#ae3f379fc7bd67ba77f1ad1ad998db3eb">TemplateEnviron::SECURITY_DENY_ALL</a> = 4</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>One of security modes - first disallow all, then check 'allowed' list. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="08_security_8php-example.html#a2">08_security.php</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="_environment_8php_source.html#l00231">231</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_utils_8php_source.html#l00191">TemplateUtils::checkIfAllowed()</a>.</p>

</div>
</div>
<a class="anchor" id="ae42a4d9c0cd3c832af7121f75f11806a"></a><!-- doxytag: member="TemplateEnviron::SECURITY_MATCH_EVERYTHING" ref="ae42a4d9c0cd3c832af7121f75f11806a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">TemplateEnviron::SECURITY_MATCH_EVERYTHING</a> = true</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>May be used instead of <code>allowed</code> or <code>disallowed</code> list, as a wildcard matching everything. </p>
<p>Implemented for greater flexibility than only hardcoded modes specified above. </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00238">238</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

</div>
</div>
<a class="anchor" id="a0c4ef7d9a5ced3764fb32398fa6217af"></a><!-- doxytag: member="TemplateEnviron::LOAD_ALL_PLUGINS" ref="a0c4ef7d9a5ced3764fb32398fa6217af" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_template_environ.html#a0c4ef7d9a5ced3764fb32398fa6217af">TemplateEnviron::LOAD_ALL_PLUGINS</a> = true</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>May be used as <code>loadPlugins</code> setting to always load all available plugins on all search paths. </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00244">244</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

</div>
</div>
<a class="anchor" id="a1a6916c9094781e70523b3ed7ba20b68"></a><!-- doxytag: member="TemplateEnviron::$settings" ref="a1a6916c9094781e70523b3ed7ba20b68" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::$settings</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default environment settings. </p>
<p>Available settings are:</p>
<ul>
<li>
<code>inputPrefix</code> (string) - will be prefixed to all input filenames. Interpretation is up to the I/O driver. In bundled <code>'file'</code> I/O: source directory name. In bundled <code>'string'</code> I/O: not used. By default it's <code>'</code>./templates/'.  </li>
<li>
<code>outputPrefix</code> (string) - will be prefixed to all output filenames. Interpretation is up to the I/O driver. In both bundled I/O drivers (<code>'file'</code> and <code>'string'</code>): output directory name. By default it's <code>'</code>./templates_c/'.  </li>
<li>
<code>loadPlugins</code> (array) - if it's an array: list of plugins to load when compilation starts. Plugins are not loaded until compilation is required.  </li>
<li>
<code>loadPlugins</code> (bool) - if it's a boolean (value is not checked, but you should use <a class="el" href="class_template_environ.html#a0c4ef7d9a5ced3764fb32398fa6217af">TemplateEnviron::LOAD_ALL_PLUGINS</a> for better self-documentation): library will gather and load all plugins, on every path given in <code>pluginsPaths</code>. It's also a default behaviour.  </li>
<li>
<code>pluginsPaths</code> (array) - plugins' search paths. When plugin is loaded, all paths given in this array are searched for plugin's file. See <a class="el" href="extending-st.html">Extending SithTemplate</a> for more information about plugins.  </li>
<li>
<code>useDefaultPluginsPath</code> (bool) - determines whether default plugins' search path (i.e. <code>SITHTEMPLATE_DIR/plugins/</code>) should be used. Note that it works only on construction (by appending to <code>pluginsPaths</code>) - if you override <code>pluginsPaths</code> later, this setting won't have any effect. By default it's <code>true</code>.  </li>
<li>
<code>recompilationMode</code> (int) - controls how recompilation is handled. One of <a class="el" href="class_template_environ.html#a5b9029c41ea8dec7765f56b762a349d5">TemplateEnviron::RECOMPILE_ALWAYS</a> (templates are recompiled on each request), <a class="el" href="class_template_environ.html#a78aacb9bf4a8ffd591bfb89e12f2637d">TemplateEnviron::RECOMPILE_IF_CHANGED</a> (templates are recompiled when modified), or <a class="el" href="class_template_environ.html#a9d912ae01fa388c0e04af9085327eda1">TemplateEnviron::RECOMPILE_NEVER</a> (templates are compiled once and never recompiled). By default it's <code>RECOMPILE_IF_CHANGED</code>.  </li>
<li>
<code>defaultIODriver</code> (string) - default I/O driver to use. Note that you must register it using <a class="el" href="class_template_i_o.html#a5b2d380a38929dd3e1df52ec5218467f">TemplateIO::register</a> before you request any template.  </li>
<li>
<code>autoEscape</code> (bool) - should variables not marked with pseudofilter <code>safe</code> be automatically escaped, using <code>StdLibEx</code> filter <code>escape</code>? Do not enable, if you do not use <code>StdLibEx</code>. Disabled by default.  </li>
<li>
<code>allowInternalRequest</code> (bool) - should access to super-globals be allowed through <code>{{ internal.request }}</code>? Enabled by default.  </li>
<li>
<code>allowInternalConstants</code> (bool) - should access to global constants be allowed through <code>{{ internal.const }}</code>? Enabled by default.  </li>
<li>
<code>restrictIncludeIO</code> (bool) - should all {% include %} calls be restricted to the same I/O driver used in <a class="el" href="class_template_environ.html#a83a8ca46797584a7a175198532b220e7">TemplateEnviron::get</a> or <a class="el" href="class_template_environ.html#a5387aedb93a098eb199e94fdab8bc92f">TemplateEnviron::cachedGet</a>? Disabled by default. Note that it is only enforced at runtime.  </li>
<li>
<code>restrictExtendIO</code> (bool) - should all {% extend %} calls be restricted to the same I/O driver used in <a class="el" href="class_template_environ.html#a83a8ca46797584a7a175198532b220e7">TemplateEnviron::get</a> or <a class="el" href="class_template_environ.html#a5387aedb93a098eb199e94fdab8bc92f">TemplateEnviron::cachedGet</a>? Disabled by default. Note that it is only enforced at compile time.  </li>
<li>
<code>securityEvalMode</code> (int) - specifies whether and how all plugins, tags, filters and function calls should be tested against security (allow/disallow) lists. One of <a class="el" href="class_template_environ.html#a5029fb8f59f467ed9b8cbc0586fcea9c">TemplateEnviron::SECURITY_DISABLE</a>, <a class="el" href="class_template_environ.html#a6e3c4bc113cd6efc66cff819431ea0db">TemplateEnviron::SECURITY_ALLOW_ALL</a>, <a class="el" href="class_template_environ.html#a5dfd0bca9d3d50d7efcf2360d237d2c8">TemplateEnviron::SECURITY_ALLOW_DENY</a>, <a class="el" href="class_template_environ.html#ab9c3628bda2698c4f4fd3bbd7d06b7f8">TemplateEnviron::SECURITY_DENY_ALLOW</a>, <a class="el" href="class_template_environ.html#ae3f379fc7bd67ba77f1ad1ad998db3eb">TemplateEnviron::SECURITY_DENY_ALL</a>. Default is <code>SECURITY_DISABLE</code>.  </li>
<li>
<code>allowedPlugins</code> (array) - whitelist of entire plugins. You can also use <a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">TemplateEnviron::SECURITY_MATCH_EVERYTHING</a>.  </li>
<li>
<code>disallowedPlugins</code> (array) - blacklist of entire plugins. You can also use <a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">TemplateEnviron::SECURITY_MATCH_EVERYTHING</a>.  </li>
<li>
<code>allowedTags</code> (array) - whitelist of single tags. You can also use <a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">TemplateEnviron::SECURITY_MATCH_EVERYTHING</a>.  </li>
<li>
<code>disallowedTags</code> (array) - blacklist of single tags. You can also use <a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">TemplateEnviron::SECURITY_MATCH_EVERYTHING</a>.  </li>
<li>
<code>allowedFilters</code> (array) - whitelist of single filters. You can also use <a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">TemplateEnviron::SECURITY_MATCH_EVERYTHING</a>.  </li>
<li>
<code>disallowedFilters</code> (array) - blacklist of single filters. You can also use <a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">TemplateEnviron::SECURITY_MATCH_EVERYTHING</a>.  </li>
<li>
<code>allowedFunctions</code> (array) - whitelist of single functions (used in <code>{% call %}</code>). You can also use <a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">TemplateEnviron::SECURITY_MATCH_EVERYTHING</a>. Note that these are the only lists that have effect not only during compilation, but also on runtime.  </li>
<li>
<code>disallowedFunctions</code> (array) - blacklist of single functions (used in <code>{% call %}</code>). You can also use <a class="el" href="class_template_environ.html#ae42a4d9c0cd3c832af7121f75f11806a">TemplateEnviron::SECURITY_MATCH_EVERYTHING</a>. Note that these are the only lists that have effect not only during compilation, but also on runtime.  </li>
</ul>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00363">363</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

<p>Referenced by <a class="el" href="_environment_8php_source.html#l00412">__construct()</a>.</p>

</div>
</div>
<a class="anchor" id="a5938e33eabf69f562786fd45c6488d1b"></a><!-- doxytag: member="TemplateEnviron::$templateCache" ref="a5938e33eabf69f562786fd45c6488d1b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::$templateCache = array()</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Internal template objects cache. </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00399">399</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

</div>
</div>
<a class="anchor" id="a87e53363d52c31747335d98c93eab978"></a><!-- doxytag: member="TemplateEnviron::$compiler" ref="a87e53363d52c31747335d98c93eab978" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TemplateEnviron::$compiler = null</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compiler instance. </p>
<p>Created when compilation is required. </p>

<p>Definition at line <a class="el" href="_environment_8php_source.html#l00404">404</a> of file <a class="el" href="_environment_8php_source.html">Environment.php</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_environment_8php_source.html">Environment.php</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Fri Jan 14 2011 20:08:37 for SithTemplate by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>
Return current item: SithTemplate