Location: PHPKode > projects > PHPLayouts > PHPLayouts/docs/elementindex_php-layouts.html
<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
			<!-- template designed by Marco Von Ballmoos -->
			<title></title>
			<link rel="stylesheet" href="media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
						<a name="top"></a>
<h2>[php-layouts] element index</h2>
<a href="elementindex.html">All elements</a>
<br />
<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_php-layouts.html#a">a</a>
	<a class="index-letter" href="elementindex_php-layouts.html#c">c</a>
	<a class="index-letter" href="elementindex_php-layouts.html#d">d</a>
	<a class="index-letter" href="elementindex_php-layouts.html#e">e</a>
	<a class="index-letter" href="elementindex_php-layouts.html#g">g</a>
	<a class="index-letter" href="elementindex_php-layouts.html#h">h</a>
	<a class="index-letter" href="elementindex_php-layouts.html#i">i</a>
	<a class="index-letter" href="elementindex_php-layouts.html#j">j</a>
	<a class="index-letter" href="elementindex_php-layouts.html#l">l</a>
	<a class="index-letter" href="elementindex_php-layouts.html#r">r</a>
	<a class="index-letter" href="elementindex_php-layouts.html#s">s</a>
	<a class="index-letter" href="elementindex_php-layouts.html#t">t</a>
	<a class="index-letter" href="elementindex_php-layouts.html#v">v</a>
	<a class="index-letter" href="elementindex_php-layouts.html#_">_</a>
</div>

	<a name="_"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">_</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">_cleanDir</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#method_cleanDir">Template::_cleanDir()</a> in Template.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">_searchTemplateDir</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#method_searchTemplateDir">Template::_searchTemplateDir()</a> in Template.php</div>
							<div class="index-item-description">This function look for a template directory when a template name is provided</div>
					</dd>
			<dt class="field">
						<span class="method-title">_setContentBlock</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#method_setContentBlock">Layout::_setContentBlock()</a> in Layout.php</div>
							<div class="index-item-description">Set the content of a block of the layout</div>
					</dd>
			<dt class="field">
						<span class="method-title">__call</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#method__call">Template::__call()</a> in Template.php</div>
							<div class="index-item-description">Allow to use cache() function to access to  the _cache var class.</div>
					</dd>
			<dt class="field">
						<span class="method-title">__construct</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#method__construct">Template::__construct()</a> in Template.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">__construct</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#method__construct">Cache::__construct()</a> in Cache.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">__construct</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#method__construct">Layout::__construct()</a> in Layout.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">__get</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#method__get">Template::__get()</a> in Template.php</div>
							<div class="index-item-description">Prevent E_NOTICE for nonexistent values</div>
					</dd>
			<dt class="field">
						<span class="method-title">__isset</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#method__isset">Template::__isset()</a> in Template.php</div>
							<div class="index-item-description">Allows testing with empty() and isset() to work inside  templates.</div>
					</dd>
			<dt class="field">
						<span class="method-title">__set</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#method__set">Template::__set()</a> in Template.php</div>
							<div class="index-item-description">Directly assigns a variable to the view script.</div>
					</dd>
			<dt class="field">
						<span class="method-title">__unset</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#method__unset">Template::__unset()</a> in Template.php</div>
							<div class="index-item-description">Allows unset() on object properties to work</div>
					</dd>
		</dl>
	<a name="a"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">a</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">activate</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#methodactivate">Cache::activate()</a> in Cache.php</div>
							<div class="index-item-description">Enable the cache handler</div>
					</dd>
			<dt class="field">
						<span class="method-title">activate</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodactivate">Layout::activate()</a> in Layout.php</div>
							<div class="index-item-description">Enable the layout handler</div>
					</dd>
			<dt class="field">
						<span class="method-title">addBlock</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodaddBlock">Layout::addBlock()</a> in Layout.php</div>
							<div class="index-item-description">Gestion des blocks pour la page finale.</div>
					</dd>
			<dt class="field">
						<span class="method-title">addTemplateDir</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methodaddTemplateDir">Template::addTemplateDir()</a> in Template.php</div>
							<div class="index-item-description">Add a template directory</div>
					</dd>
		</dl>
	<a name="c"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">c</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						Cache
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html">Cache</a> in Cache.php</div>
							<div class="index-item-description">Cache Handler</div>
					</dd>
			<dt class="field">
						<span class="include-title">Cache.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/_Cache.php.html">Cache.php</a> in Cache.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">charset</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Helper.html#methodcharset">Helper::charset()</a> in Helper.php</div>
							<div class="index-item-description">Display the specified charset tag</div>
					</dd>
			<dt class="field">
						<span class="method-title">checkCache</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#methodcheckCache">Cache::checkCache()</a> in Cache.php</div>
							<div class="index-item-description">Check if the cache file need to be re-compiled or not.</div>
					</dd>
			<dt class="field">
						<span class="method-title">clearAllCache</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#methodclearAllCache">Cache::clearAllCache()</a> in Cache.php</div>
							<div class="index-item-description">Clear all the cache</div>
					</dd>
			<dt class="field">
						<span class="method-title">clearVars</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methodclearVars">Template::clearVars()</a> in Template.php</div>
							<div class="index-item-description">Clear all templates variables</div>
					</dd>
			<dt class="field">
						<span class="method-title">countBlocks</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodcountBlocks">Layout::countBlocks()</a> in Layout.php</div>
							<div class="index-item-description">Return the number of block</div>
					</dd>
			<dt class="field">
						<span class="method-title">createCache</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#methodcreateCache">Cache::createCache()</a> in Cache.php</div>
							<div class="index-item-description">Create a new cache file</div>
					</dd>
			<dt class="field">
						<span class="method-title">css</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Helper.html#methodcss">Helper::css()</a> in Helper.php</div>
							<div class="index-item-description">Display the specified link tag</div>
					</dd>
		</dl>
	<a name="d"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">d</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">debug</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methoddebug">Template::debug()</a> in Template.php</div>
							<div class="index-item-description">Show a debug template</div>
					</dd>
			<dt class="field">
						<span class="method-title">deleteCache</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#methoddeleteCache">Cache::deleteCache()</a> in Cache.php</div>
							<div class="index-item-description">Delete a specified cache file</div>
					</dd>
			<dt class="field">
						<span class="method-title">desactivate</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#methoddesactivate">Cache::desactivate()</a> in Cache.php</div>
							<div class="index-item-description">Disable the cache handler</div>
					</dd>
			<dt class="field">
						<span class="method-title">desactivate</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methoddesactivate">Layout::desactivate()</a> in Layout.php</div>
							<div class="index-item-description">Disable the layout handler</div>
					</dd>
			<dt class="field">
						<span class="method-title">display</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methoddisplay">Template::display()</a> in Template.php</div>
							<div class="index-item-description">Displays a template</div>
					</dd>
			<dt class="field">
						<span class="method-title">doctype</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Helper.html#methoddoctype">Helper::doctype()</a> in Helper.php</div>
							<div class="index-item-description">Display the specified doctype tag</div>
					</dd>
		</dl>
	<a name="e"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">e</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						EOL
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#constEOL">Template::EOL</a> in Template.php</div>
					</dd>
			<dt class="field">
						EOL
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Helper.html#constEOL">Helper::EOL</a> in Helper.php</div>
					</dd>
		</dl>
	<a name="g"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">g</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">getBlock</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodgetBlock">Layout::getBlock()</a> in Layout.php</div>
							<div class="index-item-description">Returns the contents of the specified block</div>
					</dd>
			<dt class="field">
						<span class="method-title">getBlocks</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodgetBlocks">Layout::getBlocks()</a> in Layout.php</div>
							<div class="index-item-description">Return all blocks in an array</div>
					</dd>
			<dt class="field">
						<span class="method-title">getCacheDir</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#methodgetCacheDir">Cache::getCacheDir()</a> in Cache.php</div>
							<div class="index-item-description">Get cache directory</div>
					</dd>
			<dt class="field">
						<span class="method-title">getLayout</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodgetLayout">Layout::getLayout()</a> in Layout.php</div>
							<div class="index-item-description">Return the name of the main layout</div>
					</dd>
			<dt class="field">
						<span class="method-title">getLayoutDir</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodgetLayoutDir">Layout::getLayoutDir()</a> in Layout.php</div>
							<div class="index-item-description">Get layout directory</div>
					</dd>
			<dt class="field">
						<span class="method-title">getTemplateDir</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methodgetTemplateDir">Template::getTemplateDir()</a> in Template.php</div>
							<div class="index-item-description">Returns an array containing the template directory</div>
					</dd>
			<dt class="field">
						<span class="method-title">getVars</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methodgetVars">Template::getVars()</a> in Template.php</div>
							<div class="index-item-description">Get all assigned variables</div>
					</dd>
		</dl>
	<a name="h"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">h</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						Helper
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Helper.html">Helper</a> in Helper.php</div>
							<div class="index-item-description">Helpers</div>
					</dd>
			<dt class="field">
						<span class="include-title">Helper.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/_Helper.php.html">Helper.php</a> in Helper.php</div>
					</dd>
		</dl>
	<a name="i"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">i</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">isActivated</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodisActivated">Layout::isActivated()</a> in Layout.php</div>
							<div class="index-item-description">Return if the layout handler is activated or not</div>
					</dd>
			<dt class="field">
						<span class="method-title">isActivated</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#methodisActivated">Cache::isActivated()</a> in Cache.php</div>
							<div class="index-item-description">Return if the cache handler is activated or not.</div>
					</dd>
		</dl>
	<a name="j"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">j</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">javascript</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Helper.html#methodjavascript">Helper::javascript()</a> in Helper.php</div>
							<div class="index-item-description">Display the specified script tag</div>
					</dd>
		</dl>
	<a name="l"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">l</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						Layout
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html">Layout</a> in Layout.php</div>
							<div class="index-item-description">Layout Handler</div>
					</dd>
			<dt class="field">
						<span class="include-title">Layout.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/_Layout.php.html">Layout.php</a> in Layout.php</div>
					</dd>
		</dl>
	<a name="r"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">r</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">removeBlock</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodremoveBlock">Layout::removeBlock()</a> in Layout.php</div>
							<div class="index-item-description">Delete the specified block</div>
					</dd>
			<dt class="field">
						<span class="method-title">render</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methodrender">Template::render()</a> in Template.php</div>
							<div class="index-item-description">Render a template file.</div>
					</dd>
			<dt class="field">
						<span class="method-title">rss</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Helper.html#methodrss">Helper::rss()</a> in Helper.php</div>
							<div class="index-item-description">Display the specified link-rss tag</div>
					</dd>
		</dl>
	<a name="s"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">s</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">setCacheDir</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Cache.html#methodsetCacheDir">Cache::setCacheDir()</a> in Cache.php</div>
							<div class="index-item-description">Set cache directory</div>
					</dd>
			<dt class="field">
						<span class="method-title">setLayout</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodsetLayout">Layout::setLayout()</a> in Layout.php</div>
							<div class="index-item-description">Set the name of the main layout</div>
					</dd>
			<dt class="field">
						<span class="method-title">setLayoutDir</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Layout.html#methodsetLayoutDir">Layout::setLayoutDir()</a> in Layout.php</div>
							<div class="index-item-description">Set layout directory</div>
					</dd>
			<dt class="field">
						<span class="method-title">setTemplateDir</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methodsetTemplateDir">Template::setTemplateDir()</a> in Template.php</div>
							<div class="index-item-description">Set a default template directory</div>
					</dd>
			<dt class="field">
						<span class="method-title">setVar</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methodsetVar">Template::setVar()</a> in Template.php</div>
							<div class="index-item-description">Set a template variable</div>
					</dd>
		</dl>
	<a name="t"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">t</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						Template
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html">Template</a> in Template.php</div>
					</dd>
			<dt class="field">
						<span class="include-title">Template.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/_Template.php.html">Template.php</a> in Template.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">templateExists</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#methodtemplateExists">Template::templateExists()</a> in Template.php</div>
							<div class="index-item-description">Checks if the specified template file exists or not</div>
					</dd>
			<dt class="field">
						<span class="method-title">title</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Helper.html#methodtitle">Helper::title()</a> in Helper.php</div>
							<div class="index-item-description">Display the specified title tag</div>
					</dd>
		</dl>
	<a name="v"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">v</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						VERSION
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="php-layouts/Template.html#constVERSION">Template::VERSION</a> in Template.php</div>
					</dd>
		</dl>

<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_php-layouts.html#a">a</a>
	<a class="index-letter" href="elementindex_php-layouts.html#c">c</a>
	<a class="index-letter" href="elementindex_php-layouts.html#d">d</a>
	<a class="index-letter" href="elementindex_php-layouts.html#e">e</a>
	<a class="index-letter" href="elementindex_php-layouts.html#g">g</a>
	<a class="index-letter" href="elementindex_php-layouts.html#h">h</a>
	<a class="index-letter" href="elementindex_php-layouts.html#i">i</a>
	<a class="index-letter" href="elementindex_php-layouts.html#j">j</a>
	<a class="index-letter" href="elementindex_php-layouts.html#l">l</a>
	<a class="index-letter" href="elementindex_php-layouts.html#r">r</a>
	<a class="index-letter" href="elementindex_php-layouts.html#s">s</a>
	<a class="index-letter" href="elementindex_php-layouts.html#t">t</a>
	<a class="index-letter" href="elementindex_php-layouts.html#v">v</a>
	<a class="index-letter" href="elementindex_php-layouts.html#_">_</a>
</div>	</body>
</html>
Return current item: PHPLayouts