Location: PHPKode > projects > SithTemplate > SithTemplate-1.1/docs/html/_sith_template_8php.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: SithTemplate.php File 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><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<h1>SithTemplate.php File Reference</h1>  </div>
</div>
<div class="contents">

<p>Entry point of the SithTemplate library, containing global constants and SPL autoloader.  
<a href="#_details">More...</a></p>

<p><a href="_sith_template_8php_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sith_template_8php.html#a890ba4a885cfbf870e3294bead192a14">SITHTEMPLATE_VERSION</a> </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>Current version of the library. </p>
 <a href="_sith_template_8php.html#a890ba4a885cfbf870e3294bead192a14">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sith_template_8php.html#ac35c8f029a79e04ebd7f1bf14e176c74">sithtemplate_spl_autoload</a> ($cls)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">SPL autoloader for SithTemplate.  <a href="#ac35c8f029a79e04ebd7f1bf14e176c74"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Entry point of the SithTemplate library, containing global constants and SPL autoloader. </p>
<p>Available constants:</p>
<ul>
<li>
SITHTEMPLATE_VERSION - non-overridable, contains current version of the library </li>
<li>
SITHTEMPLATE_DIR - overridable, contains path to library's files </li>
<li>
SITHTEMPLATE_NO_AUTOLOADER - if defined, autoloader won't be registered with SPL </li>
<li>
SITHTEMPLATE_MBSTRING_UTF8 - if defined, mbstring internal encoding won't be changed to UTF-8 (note that no other setting is tested, and therefore library may fail to work properly) </li>
<li>
</li>
</ul>
<dl class="author"><dt><b>Author:</b></dt><dd>PiotrLegnica </dd></dl>
<dl class="user"><dt><b>License:</b></dt><dd>Unlicense </dd></dl>

<p>Definition in file <a class="el" href="_sith_template_8php_source.html">SithTemplate.php</a>.</p>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="a890ba4a885cfbf870e3294bead192a14"></a><!-- doxytag: member="SithTemplate.php::SITHTEMPLATE_VERSION" ref="a890ba4a885cfbf870e3294bead192a14" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_sith_template_8php.html#a890ba4a885cfbf870e3294bead192a14">SITHTEMPLATE_VERSION</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Current version of the library. </p>

<p>Definition at line <a class="el" href="_sith_template_8php_source.html#l00191">191</a> of file <a class="el" href="_sith_template_8php_source.html">SithTemplate.php</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ac35c8f029a79e04ebd7f1bf14e176c74"></a><!-- doxytag: member="SithTemplate.php::sithtemplate_spl_autoload" ref="ac35c8f029a79e04ebd7f1bf14e176c74" args="($cls)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sithtemplate_spl_autoload </td>
          <td>(</td>
          <td class="paramtype">$&#160;</td>
          <td class="paramname"> <em>cls</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>SPL autoloader for SithTemplate. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">$cls</td><td>Class to load </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>0.4.0 </dd></dl>

<p>Definition at line <a class="el" href="_sith_template_8php_source.html#l00161">161</a> of file <a class="el" href="_sith_template_8php_source.html">SithTemplate.php</a>.</p>

</div>
</div>
</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