| 1 |
jonen |
1.3 |
<?xml version="1.0" encoding="iso-8859-1"?>
|
| 2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| 3 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
| 4 |
|
|
<head>
|
| 5 |
|
|
<!-- template designed by Marco Von Ballmoos -->
|
| 6 |
|
|
<title>Docs For Class RoundTitleTable</title>
|
| 7 |
|
|
<link rel="stylesheet" href="../media/stylesheet.css" />
|
| 8 |
|
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
| 9 |
|
|
</head>
|
| 10 |
|
|
<body>
|
| 11 |
|
|
<div class="page-body">
|
| 12 |
|
|
<h2 class="class-name">Class RoundTitleTable</h2>
|
| 13 |
|
|
|
| 14 |
|
|
<a name="sec-description"></a>
|
| 15 |
|
|
<div class="info-box">
|
| 16 |
|
|
<div class="info-box-title">Description</div>
|
| 17 |
|
|
<div class="nav-bar">
|
| 18 |
|
|
<span class="disabled">Description</span> |
|
| 19 |
|
|
<a href="#sec-vars">Vars</a>
|
| 20 |
|
|
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
| 21 |
|
|
|
| 22 |
|
|
</div>
|
| 23 |
|
|
<div class="info-box-body">
|
| 24 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
| 25 |
|
|
<p class="short-description">This builds a table widget that has a nice rounded title, a subtitle area and any amount of data.</p>
|
| 26 |
|
|
<ul class="tags">
|
| 27 |
|
|
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li>
|
| 28 |
|
|
</ul>
|
| 29 |
|
|
<p class="notes">
|
| 30 |
|
|
Located in <a class="field" href="_widgets_RoundTitleTable_inc.html">/widgets/RoundTitleTable.inc</a> (line <span class="field">25</span>)
|
| 31 |
|
|
</p>
|
| 32 |
|
|
|
| 33 |
|
|
|
| 34 |
jonen |
1.2 |
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
| 35 |
jonen |
1.1 |
| |
| 36 |
|
|
--<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
| 37 |
|
|
| |
| 38 |
jonen |
1.3 |
--RoundTitleTable</pre>
|
| 39 |
|
|
|
| 40 |
|
|
</div>
|
| 41 |
|
|
</div>
|
| 42 |
|
|
|
| 43 |
|
|
|
| 44 |
|
|
|
| 45 |
|
|
|
| 46 |
|
|
<a name="sec-method-summary"></a>
|
| 47 |
|
|
<div class="info-box">
|
| 48 |
|
|
<div class="info-box-title">Method Summary</span></div>
|
| 49 |
|
|
<div class="nav-bar">
|
| 50 |
|
|
<a href="#sec-description">Description</a> |
|
| 51 |
|
|
<a href="#sec-vars">Vars</a>
|
| 52 |
|
|
|
| 53 |
|
|
|
|
| 54 |
|
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
|
| 55 |
|
|
</div>
|
| 56 |
|
|
<div class="info-box-body">
|
| 57 |
|
|
<div class="method-summary">
|
| 58 |
|
|
|
| 59 |
|
|
<div class="method-definition">
|
| 60 |
|
|
<span class="method-result">RoundTitleTable</span>
|
| 61 |
|
|
<a href="#RoundTitleTable" title="details" class="method-name">RoundTitleTable</a>
|
| 62 |
|
|
(<span class="var-type">string</span> <span class="var-name">$title</span>, [<span class="var-type">string</span> <span class="var-name">$subtitle</span> = <span class="var-default">NULL</span>], [<span class="var-type">mixed</span> <span class="var-name">$width</span> = <span class="var-default">"100%"</span>])
|
| 63 |
|
|
</div>
|
| 64 |
|
|
|
| 65 |
|
|
<div class="method-definition">
|
| 66 |
|
|
<span class="method-result">string</span>
|
| 67 |
|
|
<a href="#render" title="details" class="method-name">render</a>
|
| 68 |
|
|
([<span class="var-type">int</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span> <span class="var-name">$output_debug</span>)
|
| 69 |
|
|
</div>
|
| 70 |
|
|
|
| 71 |
|
|
<div class="method-definition">
|
| 72 |
|
|
<span class="method-result">void</span>
|
| 73 |
|
|
<a href="#set_subtitle" title="details" class="method-name">set_subtitle</a>
|
| 74 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$subtitle</span>)
|
| 75 |
|
|
</div>
|
| 76 |
|
|
|
| 77 |
|
|
<div class="method-definition">
|
| 78 |
|
|
<span class="method-result"><a href="../phpHtmlLib/TDtag.html">TDtag</a></span>
|
| 79 |
|
|
<a href="#_build_subtitle" title="details" class="method-name">_build_subtitle</a>
|
| 80 |
|
|
()
|
| 81 |
|
|
</div>
|
| 82 |
|
|
</div>
|
| 83 |
|
|
</div>
|
| 84 |
|
|
</div>
|
| 85 |
|
|
|
| 86 |
|
|
<a name="sec-vars"></a>
|
| 87 |
|
|
<div class="info-box">
|
| 88 |
|
|
<div class="info-box-title">Variables</div>
|
| 89 |
|
|
<div class="nav-bar">
|
| 90 |
|
|
<a href="#sec-description">Description</a> |
|
| 91 |
|
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
|
| 92 |
|
|
|
| 93 |
|
|
|
| 94 |
|
|
|
|
| 95 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
| 96 |
|
|
|
| 97 |
|
|
</div>
|
| 98 |
|
|
<div class="info-box-body">
|
| 99 |
|
|
<h4>Inherited Variables</h4>
|
| 100 |
|
|
<A NAME='inherited_vars'><!-- --></A>
|
| 101 |
|
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
|
| 102 |
|
|
<blockquote>
|
| 103 |
|
|
<span class="var-title">
|
| 104 |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br>
|
| 105 |
|
|
</span>
|
| 106 |
|
|
<span class="var-title">
|
| 107 |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br>
|
| 108 |
|
|
</span>
|
| 109 |
|
|
</blockquote>
|
| 110 |
|
|
|
| 111 |
|
|
</div>
|
| 112 |
|
|
</div>
|
| 113 |
|
|
|
| 114 |
|
|
<a name="sec-methods"></a>
|
| 115 |
|
|
<div class="info-box">
|
| 116 |
|
|
<div class="info-box-title">Methods</div>
|
| 117 |
|
|
<div class="nav-bar">
|
| 118 |
|
|
<a href="#sec-description">Description</a> |
|
| 119 |
|
|
<a href="#sec-vars">Vars</a>
|
| 120 |
|
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
|
| 121 |
|
|
|
| 122 |
|
|
</div>
|
| 123 |
|
|
<div class="info-box-body">
|
| 124 |
|
|
<A NAME='method_detail'></A>
|
| 125 |
|
|
<a name="methodRoundTitleTable" id="RoundTitleTable"><!-- --></a>
|
| 126 |
|
|
<div class="oddrow">
|
| 127 |
|
|
|
| 128 |
|
|
<div class="method-header">
|
| 129 |
|
|
<span class="method-title">Constructor RoundTitleTable</span> (line <span class="line-number">35</span>)
|
| 130 |
|
|
</div>
|
| 131 |
|
|
|
| 132 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
| 133 |
|
|
<p class="short-description">the constructor for this class.</p>
|
| 134 |
|
|
|
| 135 |
|
|
<div class="method-signature">
|
| 136 |
|
|
<span class="method-result">RoundTitleTable</span>
|
| 137 |
|
|
<span class="method-name">
|
| 138 |
|
|
RoundTitleTable
|
| 139 |
|
|
</span>
|
| 140 |
|
|
(<span class="var-type">string</span> <span class="var-name">$title</span>, [<span class="var-type">string</span> <span class="var-name">$subtitle</span> = <span class="var-default">NULL</span>], [<span class="var-type">mixed</span> <span class="var-name">$width</span> = <span class="var-default">"100%"</span>])
|
| 141 |
|
|
</div>
|
| 142 |
|
|
|
| 143 |
|
|
<ul class="parameters">
|
| 144 |
|
|
<li>
|
| 145 |
|
|
<span class="var-type">string</span>
|
| 146 |
|
|
<span class="var-name">$title</span><span class="var-description">: - the title for the widget.</span> </li>
|
| 147 |
|
|
<li>
|
| 148 |
|
|
<span class="var-type">string</span>
|
| 149 |
|
|
<span class="var-name">$subtitle</span><span class="var-description">: - the subtitle if any.</span> </li>
|
| 150 |
|
|
<li>
|
| 151 |
|
|
<span class="var-type">mixed</span>
|
| 152 |
|
|
<span class="var-name">$width</span><span class="var-description">: - the width of the widget. can be a % or an int.</span> </li>
|
| 153 |
|
|
</ul>
|
| 154 |
|
|
|
| 155 |
|
|
|
| 156 |
|
|
</div>
|
| 157 |
|
|
<a name="methodrender" id="render"><!-- --></a>
|
| 158 |
|
|
<div class="evenrow">
|
| 159 |
|
|
|
| 160 |
|
|
<div class="method-header">
|
| 161 |
|
|
<span class="method-title">render</span> (line <span class="line-number">98</span>)
|
| 162 |
|
|
</div>
|
| 163 |
|
|
|
| 164 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
| 165 |
|
|
<p class="short-description">Render the Navtable and its content.</p>
|
| 166 |
|
|
<ul class="tags">
|
| 167 |
|
|
<li><span class="field">return:</span> the raw html output.</li>
|
| 168 |
|
|
</ul>
|
| 169 |
|
|
|
| 170 |
|
|
<div class="method-signature">
|
| 171 |
|
|
<span class="method-result">string</span>
|
| 172 |
|
|
<span class="method-name">
|
| 173 |
|
|
render
|
| 174 |
|
|
</span>
|
| 175 |
|
|
([<span class="var-type">int</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span> <span class="var-name">$output_debug</span>)
|
| 176 |
|
|
</div>
|
| 177 |
|
|
|
| 178 |
|
|
<ul class="parameters">
|
| 179 |
|
|
<li>
|
| 180 |
|
|
<span class="var-type">int</span>
|
| 181 |
|
|
<span class="var-name">$indent_level</span><span class="var-description">: - the indentation level for the container.</span> </li>
|
| 182 |
|
|
<li>
|
| 183 |
|
|
<span class="var-type">int</span>
|
| 184 |
|
|
<span class="var-name">$output_debug</span><span class="var-description">: - the output debug flag to maintain compatibility w/ the API.</span> </li>
|
| 185 |
|
|
</ul>
|
| 186 |
|
|
|
| 187 |
|
|
<hr class="separator" />
|
| 188 |
|
|
<div class="notes">Redefinition of:</div>
|
| 189 |
|
|
<dl>
|
| 190 |
|
|
<dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt>
|
| 191 |
|
|
<dd>This function is compatible with the rest of the phpHtmllib API spec.</dd>
|
| 192 |
|
|
</dl>
|
| 193 |
|
|
|
| 194 |
|
|
</div>
|
| 195 |
|
|
<a name="methodset_subtitle" id="set_subtitle"><!-- --></a>
|
| 196 |
|
|
<div class="oddrow">
|
| 197 |
|
|
|
| 198 |
|
|
<div class="method-header">
|
| 199 |
|
|
<span class="method-title">set_subtitle</span> (line <span class="line-number">43</span>)
|
| 200 |
|
|
</div>
|
| 201 |
|
|
|
| 202 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
| 203 |
|
|
|
| 204 |
|
|
<div class="method-signature">
|
| 205 |
|
|
<span class="method-result">void</span>
|
| 206 |
|
|
<span class="method-name">
|
| 207 |
|
|
set_subtitle
|
| 208 |
|
|
</span>
|
| 209 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$subtitle</span>)
|
| 210 |
|
|
</div>
|
| 211 |
|
|
|
| 212 |
|
|
|
| 213 |
|
|
|
| 214 |
|
|
</div>
|
| 215 |
|
|
<a name="method_build_subtitle" id="_build_subtitle"><!-- --></a>
|
| 216 |
|
|
<div class="evenrow">
|
| 217 |
|
|
|
| 218 |
|
|
<div class="method-header">
|
| 219 |
|
|
<span class="method-title">_build_subtitle</span> (line <span class="line-number">80</span>)
|
| 220 |
|
|
</div>
|
| 221 |
|
|
|
| 222 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
| 223 |
|
|
<p class="short-description">this function builds the subtitle td to hold the...subtitle!</p>
|
| 224 |
|
|
<ul class="tags">
|
| 225 |
|
|
<li><span class="field">return:</span> object</li>
|
| 226 |
|
|
</ul>
|
| 227 |
|
|
|
| 228 |
|
|
<div class="method-signature">
|
| 229 |
|
|
<span class="method-result"><a href="../phpHtmlLib/TDtag.html">TDtag</a></span>
|
| 230 |
|
|
<span class="method-name">
|
| 231 |
|
|
_build_subtitle
|
| 232 |
|
|
</span>
|
| 233 |
|
|
()
|
| 234 |
|
|
</div>
|
| 235 |
|
|
|
| 236 |
|
|
|
| 237 |
|
|
|
| 238 |
|
|
</div>
|
| 239 |
|
|
<h4>Inherited Methods</h4>
|
| 240 |
|
|
<a name='inherited_methods'><!-- --></a>
|
| 241 |
|
|
<!-- =========== Summary =========== -->
|
| 242 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
|
| 243 |
|
|
<blockquote>
|
| 244 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br>
|
| 245 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br>
|
| 246 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br>
|
| 247 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br>
|
| 248 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br>
|
| 249 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br>
|
| 250 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br>
|
| 251 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br>
|
| 252 |
|
|
</blockquote>
|
| 253 |
|
|
<!-- =========== Summary =========== -->
|
| 254 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p>
|
| 255 |
|
|
<blockquote>
|
| 256 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br>
|
| 257 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br>
|
| 258 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br>
|
| 259 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br>
|
| 260 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_element">Container::get_element()</a></span><br>
|
| 261 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br>
|
| 262 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br>
|
| 263 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br>
|
| 264 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br>
|
| 265 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br>
|
| 266 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br>
|
| 267 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br>
|
| 268 |
|
|
</blockquote>
|
| 269 |
|
|
|
| 270 |
|
|
</div>
|
| 271 |
|
|
</div>
|
| 272 |
|
|
|
| 273 |
|
|
|
| 274 |
|
|
<p class="notes" id="credit">
|
| 275 |
|
|
Documentation generated on Thu, 1 Apr 2004 09:39:10 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a>
|
| 276 |
|
|
</p>
|
| 277 |
|
|
</div></body>
|
| 278 |
|
|
</html>
|