Drobné programy (C, C++, C#, ...)
Detail souboru
Zdrojový kód
<?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>Docs For Class Indentor</title>
<link rel="stylesheet" href="../media/stylesheet.css" />
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
</head>
<body>
<div class="page-body">
<h2 class="class-name">Class Indentor</h2>
<a name="sec-description"></a>
<div class="info-box">
<div class="info-box-title">Description</div>
<div class="nav-bar">
<span class="disabled">Description</span> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Indentor is (x)html page source code indenting engine. This is useful for reading the page source code by people.</p>
<p class="description"><p>Browsers do not need this ;-) Design patter singleton.</p></p>
<p class="notes">
Located in <a class="field" href="_base.php.html">/base.php</a> (line <span class="field">127</span>)
</p>
<pre></pre>
</div>
</div>
<a name="sec-method-summary"></a>
<div class="info-box">
<div class="info-box-title">Method Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<div class="method-summary">
<div class="method-definition">
<span class="method-result">Indentor</span>
<a href="#__construct" title="details" class="method-name">__construct</a>
()
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#enter" title="details" class="method-name">enter</a>
()
</div>
<div class="method-definition">
<span class="method-result">Return</span>
<a href="#indent" title="details" class="method-name">indent</a>
()
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#indentDirect" title="details" class="method-name">indentDirect</a>
()
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#leave" title="details" class="method-name">leave</a>
()
</div>
<div class="method-definition">
<span class="method-result">Return</span>
<a href="#level" title="details" class="method-name">level</a>
()
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#puts" title="details" class="method-name">puts</a>
(<span class="var-type">szText</span> <span class="var-name">$szText</span>)
</div>
<div class="method-definition">
<span class="method-result">Return</span>
<a href="#singleton" title="details" class="method-name">singleton</a>
()
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#__clone" title="details" class="method-name">__clone</a>
()
</div>
</div>
</div>
</div>
<a name="sec-methods"></a>
<div class="info-box">
<div class="info-box-title">Methods</div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
</div>
<div class="info-box-body">
<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">Constructor __construct</span> (line <span class="line-number">186</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">Indentor</span>
<span class="method-name">
__construct
</span>
()
</div>
</div>
<a name="methodenter" id="enter"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">enter</span> (line <span class="line-number">149</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">You should call this method if you are about to nest.</p>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
enter
</span>
()
</div>
</div>
<a name="methodindent" id="indent"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">indent</span> (line <span class="line-number">161</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">return:</span> string containing indentation for current level of nest.</li>
</ul>
<div class="method-signature">
<span class="method-result">Return</span>
<span class="method-name">
indent
</span>
()
</div>
</div>
<a name="methodindentDirect" id="indentDirect"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">indentDirect</span> (line <span class="line-number">168</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Put indentation string direct to document.</p>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
indentDirect
</span>
()
</div>
</div>
<a name="methodleave" id="leave"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">leave</span> (line <span class="line-number">153</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">You should call this method if you are about to leave nested block.</p>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
leave
</span>
()
</div>
</div>
<a name="methodlevel" id="level"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">level</span> (line <span class="line-number">157</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">return:</span> current level of nest.</li>
</ul>
<div class="method-signature">
<span class="method-result">Return</span>
<span class="method-name">
level
</span>
()
</div>
</div>
<a name="methodputs" id="puts"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">puts</span> (line <span class="line-number">173</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Put indented given string direct to document.</p>
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
puts
</span>
(<span class="var-type">szText</span> <span class="var-name">$szText</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">szText</span>
<span class="var-name">$szText</span><span class="var-description">: String tu put (indented) to the document.</span> </li>
</ul>
</div>
<a name="methodsingleton" id="singleton"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">singleton</span> (line <span class="line-number">131</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<ul class="tags">
<li><span class="field">return:</span> pointer to singleton object.</li>
</ul>
<div class="method-signature">
<span class="method-result">Return</span>
<span class="method-name">
singleton
</span>
()
</div>
</div>
<a name="method__clone" id="__clone"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">__clone</span> (line <span class="line-number">179</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
__clone
</span>
()
</div>
</div>
</div>
</div>
<p class="notes" id="credit">
Documentation generated on Sat, 16 Dec 2006 17:12:38 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0</a>
</p>
</div></body>
</html>