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 HtBlock</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 HtBlock</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-descendents">Descendents</a>
| <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">This class stands for automatic (x)html blocks indentation.</p>
<p class="description"><p>Design pattern factory, but not very efficient for this time :-)</p></p>
<p class="notes">
Located in <a class="field" href="_base.php.html">/base.php</a> (line <span class="field">423</span>)
</p>
<pre><a href="../default/TextList.html">TextList</a>
|
--<a href="../default/TextWrapper.html">TextWrapper</a>
|
--<a href="../default/HtInlineToInline.html">HtInlineToInline</a>
|
--HtBlock</pre>
</div>
</div>
<a name="sec-descendents"></a>
<div class="info-box">
<div class="info-box-title">Direct descendents</div>
<div class="nav-bar">
<a href="#sec-description">Description</a> |
<span class="disabled">Descendents</span>
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
</div>
<div class="info-box-body">
<table cellpadding="2" cellspacing="0" class="class-table">
<tr>
<th class="class-table-header">Class</th>
<th class="class-table-header">Description</th>
</tr>
<tr>
<td style="padding-right: 2em"><a href="../default/HtJavaScript.html">HtJavaScript</a></td>
<td>
This class stands for automatic (x)html blocks indentation.
</td>
</tr>
<tr>
<td style="padding-right: 2em"><a href="../default/TopBar.html">TopBar</a></td>
<td>
TopBar widget.
</td>
</tr>
<tr>
<td style="padding-right: 2em"><a href="../default/Menu.html">Menu</a></td>
<td>
Menu base class.
</td>
</tr>
<tr>
<td style="padding-right: 2em"><a href="../default/Layout.html">Layout</a></td>
<td>
Page layout base class.
</td>
</tr>
<tr>
<td style="padding-right: 2em"><a href="../default/QueryResult.html">QueryResult</a></td>
<td>
This class stands for automatic (x)html blocks indentation.
</td>
</tr>
<tr>
<td style="padding-right: 2em"><a href="../default/QueryResultMulticol.html">QueryResultMulticol</a></td>
<td>
This class stands for automatic (x)html blocks indentation.
</td>
</tr>
<tr>
<td style="padding-right: 2em"><a href="../default/SimpleForm.html">SimpleForm</a></td>
<td>
This class stands for automatic (x)html blocks indentation.
</td>
</tr>
<tr>
<td style="padding-right: 2em"><a href="../default/SimpleInfo.html">SimpleInfo</a></td>
<td>
This class stands for automatic (x)html blocks indentation.
</td>
</tr>
<tr>
<td style="padding-right: 2em"><a href="../default/SimpleInfoMulticol.html">SimpleInfoMulticol</a></td>
<td>
This class stands for automatic (x)html blocks indentation.
</td>
</tr>
</table>
</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> |
<a href="#sec-descendents">Descendents</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">void</span>
<a href="#drawBegin" title="details" class="method-name">drawBegin</a>
()
</div>
<div class="method-definition">
<span class="method-result">void</span>
<a href="#drawEnd" title="details" class="method-name">drawEnd</a>
()
</div>
<div class="method-definition">
<span class="method-result">Return</span>
<a href="#factory" title="details" class="method-name">factory</a>
(<span class="var-type">szMarkup</span> <span class="var-name">$szMarkup</span>, <span class="var-type">parent</span> <span class="var-name">$parent</span>, [<span class="var-type">szStyle</span> <span class="var-name">$szStyle</span> = <span class="var-default"></span>], [<span class="var-type">attrMap</span> <span class="var-name">$attrMap</span> = <span class="var-default">""NULL</span>])
</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-descendents">Descendents</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="methoddrawBegin" id="drawBegin"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">drawBegin</span> (line <span class="line-number">437</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
drawBegin
</span>
()
</div>
<hr class="separator" />
<div class="notes">Redefinition of:</div>
<dl>
<dt><a href="../default/HtInlineToInline.html#methoddrawBegin">HtInlineToInline::drawBegin()</a></dt>
<dd>Draw the start markup before nested elements drawing.</dd>
</dl>
<hr class="separator" />
<div class="notes">Redefined in descendants as:</div>
<ul class="redefinitions">
<li>
<a href="../default/Layout.html#methoddrawBegin">Layout::drawBegin()</a>
</li>
</ul>
</div>
<a name="methoddrawEnd" id="drawEnd"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">drawEnd</span> (line <span class="line-number">445</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<div class="method-signature">
<span class="method-result">void</span>
<span class="method-name">
drawEnd
</span>
()
</div>
<hr class="separator" />
<div class="notes">Redefinition of:</div>
<dl>
<dt><a href="../default/HtInlineToInline.html#methoddrawEnd">HtInlineToInline::drawEnd()</a></dt>
<dd>Draw the end markup after nested elements drawing.</dd>
</dl>
<hr class="separator" />
<div class="notes">Redefined in descendants as:</div>
<ul class="redefinitions">
<li>
<a href="../default/Layout.html#methoddrawEnd">Layout::drawEnd()</a>
</li>
</ul>
</div>
<a name="methodfactory" id="factory"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">factory</span> (line <span class="line-number">432</span>)
</div>
<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Crate an instance of HtBlock. This emulate design patter factory.</p>
<p class="description"><p>It can be useful in future.</p></p>
<ul class="tags">
<li><span class="field">return:</span> an instance of HtBlock.</li>
</ul>
<div class="method-signature">
<span class="method-result">Return</span>
<span class="method-name">
factory
</span>
(<span class="var-type">szMarkup</span> <span class="var-name">$szMarkup</span>, <span class="var-type">parent</span> <span class="var-name">$parent</span>, <span class="var-type">szStyle</span> <span class="var-name">$szStyle</span>, [<span class="var-type">attrMap</span> <span class="var-name">$attrMap</span> = <span class="var-default">""NULL</span>])
</div>
<ul class="parameters">
<li>
<span class="var-type">szMarkup</span>
<span class="var-name">$szMarkup</span><span class="var-description">: Name of (x)html markup.</span> </li>
<li>
<span class="var-type">parent</span>
<span class="var-name">$parent</span><span class="var-description">: Reference to parent (x)html element. NULL if there is no parent. Any TextList based classes are allowed.</span> </li>
<li>
<span class="var-type">szStyle</span>
<span class="var-name">$szStyle</span><span class="var-description">: Non obligatory parameter setting element css style. Css style can by set later. See setStyle method documentation.</span> </li>
<li>
<span class="var-type">attrMap</span>
<span class="var-name">$attrMap</span><span class="var-description">: Associative array of element's attributes. This can be adjust later by setAttr method.</span> </li>
</ul>
</div>
<h4>Inherited Methods</h4>
<a name='inherited_methods'><!-- --></a>
<!-- =========== Summary =========== -->
<p>Inherited From <span class="classname"><a href="../default/HtInlineToInline.html">HtInlineToInline</a></span></p>
<blockquote>
<span class="method-name"><a href="../default/HtInlineToInline.html#method__construct">HtInlineToInline::__construct()</a></span><br>
<span class="method-name"><a href="../default/HtInlineToInline.html#methoddrawBegin">HtInlineToInline::drawBegin()</a></span><br>
<span class="method-name"><a href="../default/HtInlineToInline.html#methoddrawEnd">HtInlineToInline::drawEnd()</a></span><br>
<span class="method-name"><a href="../default/HtInlineToInline.html#method__call">HtInlineToInline::__call()</a></span><br>
</blockquote>
<!-- =========== Summary =========== -->
<p>Inherited From <span class="classname"><a href="../default/TextWrapper.html">TextWrapper</a></span></p>
<blockquote>
<span class="method-name"><a href="../default/TextWrapper.html#methoddrawBegin">TextWrapper::drawBegin()</a></span><br>
</blockquote>
<!-- =========== Summary =========== -->
<p>Inherited From <span class="classname"><a href="../default/TextList.html">TextList</a></span></p>
<blockquote>
<span class="method-name"><a href="../default/TextList.html#method__construct">TextList::__construct()</a></span><br>
<span class="method-name"><a href="../default/TextList.html#methodadd">TextList::add()</a></span><br>
<span class="method-name"><a href="../default/TextList.html#methodaddText">TextList::addText()</a></span><br>
<span class="method-name"><a href="../default/TextList.html#methoddraw">TextList::draw()</a></span><br>
<span class="method-name"><a href="../default/TextList.html#methodreplace">TextList::replace()</a></span><br>
<span class="method-name"><a href="../default/TextList.html#methodreplaceText">TextList::replaceText()</a></span><br>
</blockquote>
</div>
</div>
<p class="notes" id="credit">
Documentation generated on Sat, 16 Dec 2006 17:12:37 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0</a>
</p>
</div></body>
</html>