| 1 | jonen | 1.1 | <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'> | 
| 2 |  |  | <!--NewPage--> | 
| 3 |  |  | <HTML> | 
| 4 |  |  | <HEAD> | 
| 5 |  |  | <!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:39 -0800' --> | 
| 6 |  |  | <TITLE>Docs For Class TreeNav</TITLE> | 
| 7 |  |  | <LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'> | 
| 8 |  |  | </HEAD> | 
| 9 |  |  | <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> | 
| 10 |  |  |  | 
| 11 |  |  |  | 
| 12 |  |  | <!-- Links --> | 
| 13 |  |  | <a NAME="top"></A> | 
| 14 |  |  | <table WIDTH="100%" class="links"> | 
| 15 |  |  | <TR> | 
| 16 |  |  | <TD class="font10"> | 
| 17 |  |  | Links: | 
| 18 |  |  | <A HREF="#children_summary" class="links" title="Classes extended from TreeNav">Child Classes</A> | 
| 19 |  |  | <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> | 
| 20 |  |  | <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> | 
| 21 |  |  | <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inerited Methods</A> | 
| 22 |  |  | <A HREF="#functions_summary" class="links" title="Method Summary">Methods</A> | 
| 23 |  |  | <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> | 
| 24 |  |  | <A HREF="#function_detail" class="links" title="Method Detail">Method Detail</A> | 
| 25 |  |  | </TD> | 
| 26 |  |  | </TR> | 
| 27 |  |  | </TABLE> | 
| 28 |  |  | <BR> | 
| 29 |  |  |  | 
| 30 |  |  | <!-- Start of Class Data --> | 
| 31 |  |  | <H2> | 
| 32 |  |  | Class TreeNav | 
| 33 |  |  | </H2> | 
| 34 |  |  |  | 
| 35 |  |  | <pre> | 
| 36 |  |  | <pre><a href="../phpHtmlLib/Container.html">Container</a> | 
| 37 |  |  | | | 
| 38 |  |  | --<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> | 
| 39 |  |  | | | 
| 40 |  |  | --TreeNav</pre> | 
| 41 |  |  | </pre> | 
| 42 |  |  |  | 
| 43 |  |  | <A NAME="children_summary"</A> | 
| 44 |  |  | <H3> | 
| 45 |  |  | Classes extended from TreeNav: <A HREF="#top" CLASS="links">^TOP</A> | 
| 46 |  |  | </H3> | 
| 47 |  |  |  | 
| 48 |  |  | <p> | 
| 49 |  |  | <b><i>Located in File: Program_Root/widgets/TreeNav.inc</i></b><br> | 
| 50 |  |  | </p> | 
| 51 |  |  | <hr> | 
| 52 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 53 |  |  | This class tries to build a tree | 
| 54 |  |  | navigational widget. | 
| 55 |  |  | <BR> | 
| 56 |  |  | definetly not done. | 
| 57 |  |  |  | 
| 58 |  |  | <UL> | 
| 59 |  |  |  | 
| 60 |  |  | <LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> | 
| 61 |  |  |  | 
| 62 |  |  | <LI><b>Author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></CODE></LI> | 
| 63 |  |  |  | 
| 64 |  |  | </UL> | 
| 65 |  |  |  | 
| 66 |  |  | <hr> | 
| 67 |  |  | <!-- =========== VAR SUMMARY =========== --> | 
| 68 |  |  | <A NAME='var_summary'><!-- --></A> | 
| 69 |  |  | <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> | 
| 70 |  |  | <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> | 
| 71 |  |  | <TD> | 
| 72 |  |  | <span CLASS="font12bold">Class Variable Summary</span> | 
| 73 |  |  | <A HREF="#top" CLASS="links">^TOP</A> | 
| 74 |  |  | </TD> | 
| 75 |  |  | </TR> | 
| 76 |  |  |  | 
| 77 |  |  |  | 
| 78 |  |  | </TABLE> | 
| 79 |  |  |  | 
| 80 |  |  | <hr> | 
| 81 |  |  | <!-- =========== VAR INHERITED SUMMARY =========== --> | 
| 82 |  |  | <A NAME='var_inherited_summary'><!-- --></A> | 
| 83 |  |  | <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> | 
| 84 |  |  | <TR CLASS='TableHeadingColor'> | 
| 85 |  |  | <TD> | 
| 86 |  |  | <span CLASS="font12bold">Inherited Class Variable Summary</span> | 
| 87 |  |  | <A HREF="#top" CLASS="links">^TOP</A> | 
| 88 |  |  | </TD> | 
| 89 |  |  | </TR> | 
| 90 |  |  |  | 
| 91 |  |  |  | 
| 92 |  |  | <!-- =========== Summary =========== --> | 
| 93 |  |  | <TR BGCOLOR='white'> | 
| 94 |  |  | <TD> | 
| 95 |  |  | <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span> | 
| 96 |  |  | <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> | 
| 97 |  |  | <tr CLASS="tableheadingcolor"> | 
| 98 |  |  | <th>Variable</th> | 
| 99 |  |  | <th>Default Value</th> | 
| 100 |  |  | <th>Description</th> | 
| 101 |  |  | </tr> | 
| 102 |  |  |  | 
| 103 |  |  | <tr> | 
| 104 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#$title'>$title</A></td> | 
| 105 |  |  | <td CLASS="font10" STYLE="white-space: nowrap">-><-</td> | 
| 106 |  |  | <td CLASS="font10">The title of the table.</td> | 
| 107 |  |  | </tr> | 
| 108 |  |  |  | 
| 109 |  |  | <tr> | 
| 110 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#$width'>$width</A></td> | 
| 111 |  |  | <td CLASS="font10" STYLE="white-space: nowrap">->100%<-</td> | 
| 112 |  |  | <td CLASS="font10">the width of the widget</td> | 
| 113 |  |  | </tr> | 
| 114 |  |  |  | 
| 115 |  |  | </table> | 
| 116 |  |  | <BR> | 
| 117 |  |  | </TD> | 
| 118 |  |  | </TR> | 
| 119 |  |  |  | 
| 120 |  |  | <!-- =========== Summary =========== --> | 
| 121 |  |  | <TR BGCOLOR='white'> | 
| 122 |  |  | <TD> | 
| 123 |  |  | <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> | 
| 124 |  |  | <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> | 
| 125 |  |  | <tr CLASS="tableheadingcolor"> | 
| 126 |  |  | <th>Variable</th> | 
| 127 |  |  | <th>Default Value</th> | 
| 128 |  |  | <th>Description</th> | 
| 129 |  |  | </tr> | 
| 130 |  |  |  | 
| 131 |  |  | <tr> | 
| 132 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td> | 
| 133 |  |  | <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> | 
| 134 |  |  | <td CLASS="font10">Flag for pretty (indented) output</td> | 
| 135 |  |  | </tr> | 
| 136 |  |  |  | 
| 137 |  |  | <tr> | 
| 138 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td> | 
| 139 |  |  | <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> | 
| 140 |  |  | <td CLASS="font10">Do we render a newline after the | 
| 141 |  |  | contents has been rendered?</td> | 
| 142 |  |  | </tr> | 
| 143 |  |  |  | 
| 144 |  |  | </table> | 
| 145 |  |  | <BR> | 
| 146 |  |  | </TD> | 
| 147 |  |  | </TR> | 
| 148 |  |  |  | 
| 149 |  |  | </TABLE> | 
| 150 |  |  |  | 
| 151 |  |  | <hr> | 
| 152 |  |  | <!-- =========== INHERITED METHOD SUMMARY =========== --> | 
| 153 |  |  | <A NAME='functions_inherited'><!-- --></A> | 
| 154 |  |  | <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> | 
| 155 |  |  | <TR CLASS='TableHeadingColor'> | 
| 156 |  |  | <TD> | 
| 157 |  |  | <span CLASS="font12bold">Inherited Method Summary</span> | 
| 158 |  |  | <A HREF="#top" CLASS="links">^TOP</A> | 
| 159 |  |  | </TD> | 
| 160 |  |  | </TR> | 
| 161 |  |  |  | 
| 162 |  |  |  | 
| 163 |  |  | <!-- =========== Summary =========== --> | 
| 164 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 165 |  |  | <TD> | 
| 166 |  |  | <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span> | 
| 167 |  |  | <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> | 
| 168 |  |  | <tr CLASS="tableheadingcolor"> | 
| 169 |  |  | <th>Function</th> | 
| 170 |  |  | <th>Description</th> | 
| 171 |  |  | </tr> | 
| 172 |  |  |  | 
| 173 |  |  | <tr> | 
| 174 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_align'>get_align (  )</A></td> | 
| 175 |  |  | <td CLASS="font10">This gets the alignment value | 
| 176 |  |  | for the outer table</td> | 
| 177 |  |  |  | 
| 178 |  |  | <tr> | 
| 179 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_css'>get_css (  )</A></td> | 
| 180 |  |  | <td CLASS="font10">This function provides the</td> | 
| 181 |  |  |  | 
| 182 |  |  | <tr> | 
| 183 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_javascript'>get_javascript (  )</A></td> | 
| 184 |  |  | <td CLASS="font10">Function for returning the raw javascript | 
| 185 |  |  | that is required for this widget.</td> | 
| 186 |  |  |  | 
| 187 |  |  | <tr> | 
| 188 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_title'>get_title (  )</A></td> | 
| 189 |  |  | <td CLASS="font10">Function for accessing the | 
| 190 |  |  | title of this widget</td> | 
| 191 |  |  |  | 
| 192 |  |  | <tr> | 
| 193 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_width'>get_width (  )</A></td> | 
| 194 |  |  | <td CLASS="font10">Function for getting the current | 
| 195 |  |  | widget width setting.</td> | 
| 196 |  |  |  | 
| 197 |  |  | <tr> | 
| 198 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#set_align'>set_align ( $align )</A></td> | 
| 199 |  |  | <td CLASS="font10">This function sets the align attribute | 
| 200 |  |  | for the outer table.</td> | 
| 201 |  |  |  | 
| 202 |  |  | <tr> | 
| 203 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#set_title'>set_title ( [$title = ] )</A></td> | 
| 204 |  |  | <td CLASS="font10">Set the title for the widget.</td> | 
| 205 |  |  |  | 
| 206 |  |  | <tr> | 
| 207 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#set_width'>set_width ( $width )</A></td> | 
| 208 |  |  | <td CLASS="font10">Set the width for the widget.</td> | 
| 209 |  |  |  | 
| 210 |  |  | </table> | 
| 211 |  |  | <br> | 
| 212 |  |  | </TD> | 
| 213 |  |  | </TR> | 
| 214 |  |  |  | 
| 215 |  |  | <!-- =========== Summary =========== --> | 
| 216 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 217 |  |  | <TD> | 
| 218 |  |  | <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> | 
| 219 |  |  | <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> | 
| 220 |  |  | <tr CLASS="tableheadingcolor"> | 
| 221 |  |  | <th>Function</th> | 
| 222 |  |  | <th>Description</th> | 
| 223 |  |  | </tr> | 
| 224 |  |  |  | 
| 225 |  |  | <tr> | 
| 226 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container (  )</A></td> | 
| 227 |  |  | <td CLASS="font10">The constructor.</td> | 
| 228 |  |  |  | 
| 229 |  |  | <tr> | 
| 230 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add (  )</A></td> | 
| 231 |  |  | <td CLASS="font10">add content onto content stack</td> | 
| 232 |  |  |  | 
| 233 |  |  | <tr> | 
| 234 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td> | 
| 235 |  |  | <td CLASS="font10">Add content onto content stack | 
| 236 |  |  | so you can change the item later.</td> | 
| 237 |  |  |  | 
| 238 |  |  | <tr> | 
| 239 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content (  )</A></td> | 
| 240 |  |  | <td CLASS="font10">counts the number of content objects</td> | 
| 241 |  |  |  | 
| 242 |  |  | <tr> | 
| 243 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag (  )</A></td> | 
| 244 |  |  | <td CLASS="font10">This flag gets the current value | 
| 245 |  |  | of the indent flag</td> | 
| 246 |  |  |  | 
| 247 |  |  | <tr> | 
| 248 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push (  )</A></td> | 
| 249 |  |  | <td CLASS="font10">Same as add().</td> | 
| 250 |  |  |  | 
| 251 |  |  | <tr> | 
| 252 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td> | 
| 253 |  |  | <td CLASS="font10">Same as add_reference | 
| 254 |  |  | NOTE : only exists for compatibility with 1.1.x</td> | 
| 255 |  |  |  | 
| 256 |  |  | <tr> | 
| 257 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td> | 
| 258 |  |  | <td CLASS="font10">This function is compatible with the | 
| 259 |  |  | rest of the phpHtmllib API spec.</td> | 
| 260 |  |  |  | 
| 261 |  |  | <tr> | 
| 262 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#reset_content'>reset_content (  )</A></td> | 
| 263 |  |  | <td CLASS="font10">destroy existing content and start with new content.</td> | 
| 264 |  |  |  | 
| 265 |  |  | <tr> | 
| 266 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> | 
| 267 |  |  | <td CLASS="font10">This function turns on the collapse flag</td> | 
| 268 |  |  |  | 
| 269 |  |  | <tr> | 
| 270 |  |  | <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td> | 
| 271 |  |  | <td CLASS="font10">function to set the indent flag</td> | 
| 272 |  |  |  | 
| 273 |  |  | </table> | 
| 274 |  |  | <br> | 
| 275 |  |  | </TD> | 
| 276 |  |  | </TR> | 
| 277 |  |  |  | 
| 278 |  |  | </TABLE> | 
| 279 |  |  |  | 
| 280 |  |  | <hr> | 
| 281 |  |  | <!-- should have constructor at some point --> | 
| 282 |  |  | <!-- =========== Method SUMMARY =========== --> | 
| 283 |  |  | <A NAME='Method_summary'><!-- --></A> | 
| 284 |  |  | <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> | 
| 285 |  |  | <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> | 
| 286 |  |  | <TD> | 
| 287 |  |  | <span class="font12bold">Method Summary</span> | 
| 288 |  |  | <A HREF="#top" CLASS="links">^TOP</A> | 
| 289 |  |  | </TD> | 
| 290 |  |  | </TR> | 
| 291 |  |  |  | 
| 292 |  |  |  | 
| 293 |  |  | <!-- =========== Summary =========== --> | 
| 294 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 295 |  |  | <TD> | 
| 296 |  |  | <CODE><B><A HREF='TreeNav.html#constructor TreeNav'>void constructor TreeNav ( [$width = 760] )</A></B></CODE> | 
| 297 |  |  | <BR> | 
| 298 |  |  | <blockquote> Constructor for this class | 
| 299 |  |  | It just sets the width for the | 
| 300 |  |  | widget. </blockquote> | 
| 301 |  |  | </TD> | 
| 302 |  |  | </TR> | 
| 303 |  |  |  | 
| 304 |  |  | <!-- =========== Summary =========== --> | 
| 305 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 306 |  |  | <TD> | 
| 307 |  |  | <CODE><B><A HREF='TreeNav.html#build_img_td'>void build_img_td (  )</A></B></CODE> | 
| 308 |  |  | <BR> | 
| 309 |  |  | <blockquote> build the image seperator td </blockquote> | 
| 310 |  |  | </TD> | 
| 311 |  |  | </TR> | 
| 312 |  |  |  | 
| 313 |  |  | <!-- =========== Summary =========== --> | 
| 314 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 315 |  |  | <TD> | 
| 316 |  |  | <CODE><B><A HREF='TreeNav.html#build_innertable'>void build_innertable (  )</A></B></CODE> | 
| 317 |  |  | <BR> | 
| 318 |  |  | <blockquote> build all of the idividual nav elements. </blockquote> | 
| 319 |  |  | </TD> | 
| 320 |  |  | </TR> | 
| 321 |  |  |  | 
| 322 |  |  | <!-- =========== Summary =========== --> | 
| 323 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 324 |  |  | <TD> | 
| 325 |  |  | <CODE><B><A HREF='TreeNav.html#build_link_td'>void build_link_td ( $nav )</A></B></CODE> | 
| 326 |  |  | <BR> | 
| 327 |  |  | <blockquote> build the link td. </blockquote> | 
| 328 |  |  | </TD> | 
| 329 |  |  | </TR> | 
| 330 |  |  |  | 
| 331 |  |  | <!-- =========== Summary =========== --> | 
| 332 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 333 |  |  | <TD> | 
| 334 |  |  | <CODE><B><A HREF='TreeNav.html#build_spacer_td'>void build_spacer_td (  )</A></B></CODE> | 
| 335 |  |  | <BR> | 
| 336 |  |  | <blockquote> build a spacer td. </blockquote> | 
| 337 |  |  | </TD> | 
| 338 |  |  | </TR> | 
| 339 |  |  |  | 
| 340 |  |  | <!-- =========== Summary =========== --> | 
| 341 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 342 |  |  | <TD> | 
| 343 |  |  | <CODE><B><A HREF='TreeNav.html#push'>void push ( $url, $text, [$selected = FALSE] )</A></B></CODE> | 
| 344 |  |  | <BR> | 
| 345 |  |  | <blockquote>  </blockquote> | 
| 346 |  |  | </TD> | 
| 347 |  |  | </TR> | 
| 348 |  |  |  | 
| 349 |  |  | <!-- =========== Summary =========== --> | 
| 350 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 351 |  |  | <TD> | 
| 352 |  |  | <CODE><B><A HREF='TreeNav.html#push_blank'>void push_blank ( [$num = 1] )</A></B></CODE> | 
| 353 |  |  | <BR> | 
| 354 |  |  | <blockquote>  </blockquote> | 
| 355 |  |  | </TD> | 
| 356 |  |  | </TR> | 
| 357 |  |  |  | 
| 358 |  |  | <!-- =========== Summary =========== --> | 
| 359 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 360 |  |  | <TD> | 
| 361 |  |  | <CODE><B><A HREF='TreeNav.html#push_text'>void push_text ( $text, [$selected = FALSE] )</A></B></CODE> | 
| 362 |  |  | <BR> | 
| 363 |  |  | <blockquote>  </blockquote> | 
| 364 |  |  | </TD> | 
| 365 |  |  | </TR> | 
| 366 |  |  |  | 
| 367 |  |  | <!-- =========== Summary =========== --> | 
| 368 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 369 |  |  | <TD> | 
| 370 |  |  | <CODE><B><A HREF='TreeNav.html#render'>string render ( [$indent_level = 1], [$output_debug = 0] )</A></B></CODE> | 
| 371 |  |  | <BR> | 
| 372 |  |  | <blockquote> function that will render the widget. </blockquote> | 
| 373 |  |  | </TD> | 
| 374 |  |  | </TR> | 
| 375 |  |  |  | 
| 376 |  |  | <!-- =========== Summary =========== --> | 
| 377 |  |  | <TR BGCOLOR='white' CLASS='TableRowColor'> | 
| 378 |  |  | <TD> | 
| 379 |  |  | <CODE><B><A HREF='TreeNav.html#set_selected'>void set_selected ( $text )</A></B></CODE> | 
| 380 |  |  | <BR> | 
| 381 |  |  | <blockquote> Set this text as the selected | 
| 382 |  |  | item </blockquote> | 
| 383 |  |  | </TD> | 
| 384 |  |  | </TR> | 
| 385 |  |  |  | 
| 386 |  |  | </TABLE> | 
| 387 |  |  |  | 
| 388 |  |  | <hr> | 
| 389 |  |  | <!-- ============ VARIABLE DETAIL =========== --> | 
| 390 |  |  |  | 
| 391 |  |  | <A NAME='variable_detail'></A> | 
| 392 |  |  | <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> | 
| 393 |  |  | <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> | 
| 394 |  |  | <TD> | 
| 395 |  |  | <span CLASS="font12bold">Variable Detail</span> | 
| 396 |  |  | <A HREF="#top" CLASS="links">^TOP</A> | 
| 397 |  |  | </TD> | 
| 398 |  |  | </TR> | 
| 399 |  |  | </TABLE> | 
| 400 |  |  |  | 
| 401 |  |  |  | 
| 402 |  |  |  | 
| 403 |  |  | <hr> | 
| 404 |  |  | <!-- ============ FUNCTION DETAIL =========== --> | 
| 405 |  |  |  | 
| 406 |  |  | <A NAME='function_detail'></A> | 
| 407 |  |  | <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> | 
| 408 |  |  | <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> | 
| 409 |  |  | <TD> | 
| 410 |  |  | <span class="font12bold">Method Detail</span> | 
| 411 |  |  | <A HREF="#top" CLASS="links">^TOP</A> | 
| 412 |  |  | </TD> | 
| 413 |  |  | </TR> | 
| 414 |  |  | </TABLE> | 
| 415 |  |  | <BR> | 
| 416 |  |  |  | 
| 417 |  |  | <DIV CLASS="function"> | 
| 418 |  |  | <A NAME='constructor TreeNav'><!-- --></A> | 
| 419 |  |  | <SPAN CLASS="font12bold">constructor TreeNav</SPAN> | 
| 420 |  |  | <BR> | 
| 421 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 422 |  |  | <span class="font10bold" style="color: #FF0000">void</SPAN>  | 
| 423 |  |  | <span class="font10bold" style="color: #0000FF">constructor TreeNav ( [$width = 760] )</SPAN> | 
| 424 |  |  | <BR> | 
| 425 |  |  |  | 
| 426 |  |  | <BR> | 
| 427 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 428 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 429 |  |  | Constructor for this class | 
| 430 |  |  | It just sets the width for the | 
| 431 |  |  | widget. | 
| 432 |  |  | <BR> | 
| 433 |  |  |  | 
| 434 |  |  | <DL> | 
| 435 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 436 |  |  |  | 
| 437 |  |  | <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$width</SPAN></SPAN> - the width of the widget</DD> | 
| 438 |  |  |  | 
| 439 |  |  |  | 
| 440 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 441 |  |  |  | 
| 442 |  |  | </DL> | 
| 443 |  |  |  | 
| 444 |  |  | </DIV> | 
| 445 |  |  | <BR> | 
| 446 |  |  |  | 
| 447 |  |  | <DIV CLASS="function"> | 
| 448 |  |  | <A NAME='build_img_td'><!-- --></A> | 
| 449 |  |  | <SPAN CLASS="font12bold">build_img_td</SPAN> | 
| 450 |  |  | <BR> | 
| 451 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 452 |  |  | <span class="font10bold" style="color: #FF0000">void</SPAN>  | 
| 453 |  |  | <span class="font10bold" style="color: #0000FF">build_img_td (  )</SPAN> | 
| 454 |  |  | <BR> | 
| 455 |  |  |  | 
| 456 |  |  | <BR> | 
| 457 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 458 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 459 |  |  | build the image seperator td | 
| 460 |  |  | <BR> | 
| 461 |  |  |  | 
| 462 |  |  | <DL> | 
| 463 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 464 |  |  |  | 
| 465 |  |  |  | 
| 466 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 467 |  |  |  | 
| 468 |  |  | </DL> | 
| 469 |  |  |  | 
| 470 |  |  | </DIV> | 
| 471 |  |  | <BR> | 
| 472 |  |  |  | 
| 473 |  |  | <DIV CLASS="function"> | 
| 474 |  |  | <A NAME='build_innertable'><!-- --></A> | 
| 475 |  |  | <SPAN CLASS="font12bold">build_innertable</SPAN> | 
| 476 |  |  | <BR> | 
| 477 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 478 |  |  | <span class="font10bold" style="color: #FF0000">void</SPAN>  | 
| 479 |  |  | <span class="font10bold" style="color: #0000FF">build_innertable (  )</SPAN> | 
| 480 |  |  | <BR> | 
| 481 |  |  |  | 
| 482 |  |  | <BR> | 
| 483 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 484 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 485 |  |  | build all of the idividual nav elements. | 
| 486 |  |  | <BR> | 
| 487 |  |  |  | 
| 488 |  |  | <DL> | 
| 489 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 490 |  |  |  | 
| 491 |  |  |  | 
| 492 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 493 |  |  |  | 
| 494 |  |  | </DL> | 
| 495 |  |  |  | 
| 496 |  |  | </DIV> | 
| 497 |  |  | <BR> | 
| 498 |  |  |  | 
| 499 |  |  | <DIV CLASS="function"> | 
| 500 |  |  | <A NAME='build_link_td'><!-- --></A> | 
| 501 |  |  | <SPAN CLASS="font12bold">build_link_td</SPAN> | 
| 502 |  |  | <BR> | 
| 503 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 504 |  |  | <span class="font10bold" style="color: #FF0000">void</SPAN>  | 
| 505 |  |  | <span class="font10bold" style="color: #0000FF">build_link_td ( $nav )</SPAN> | 
| 506 |  |  | <BR> | 
| 507 |  |  |  | 
| 508 |  |  | <BR> | 
| 509 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 510 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 511 |  |  | build the link td. | 
| 512 |  |  | <BR> | 
| 513 |  |  |  | 
| 514 |  |  | <DL> | 
| 515 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 516 |  |  |  | 
| 517 |  |  |  | 
| 518 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 519 |  |  |  | 
| 520 |  |  | </DL> | 
| 521 |  |  |  | 
| 522 |  |  | </DIV> | 
| 523 |  |  | <BR> | 
| 524 |  |  |  | 
| 525 |  |  | <DIV CLASS="function"> | 
| 526 |  |  | <A NAME='build_spacer_td'><!-- --></A> | 
| 527 |  |  | <SPAN CLASS="font12bold">build_spacer_td</SPAN> | 
| 528 |  |  | <BR> | 
| 529 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 530 |  |  | <span class="font10bold" style="color: #FF0000">void</SPAN>  | 
| 531 |  |  | <span class="font10bold" style="color: #0000FF">build_spacer_td (  )</SPAN> | 
| 532 |  |  | <BR> | 
| 533 |  |  |  | 
| 534 |  |  | <BR> | 
| 535 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 536 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 537 |  |  | build a spacer td. | 
| 538 |  |  | <BR> | 
| 539 |  |  |  | 
| 540 |  |  | <DL> | 
| 541 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 542 |  |  |  | 
| 543 |  |  |  | 
| 544 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 545 |  |  |  | 
| 546 |  |  | </DL> | 
| 547 |  |  |  | 
| 548 |  |  | </DIV> | 
| 549 |  |  | <BR> | 
| 550 |  |  |  | 
| 551 |  |  | <DIV CLASS="function"> | 
| 552 |  |  | <A NAME='push'><!-- --></A> | 
| 553 |  |  | <SPAN CLASS="font12bold">push</SPAN> | 
| 554 |  |  | <BR> | 
| 555 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 556 |  |  | <span class="font10bold" style="color: #FF0000">void</SPAN>  | 
| 557 |  |  | <span class="font10bold" style="color: #0000FF">push ( $url, $text, [$selected = FALSE] )</SPAN> | 
| 558 |  |  | <BR> | 
| 559 |  |  |  | 
| 560 |  |  | <BR> | 
| 561 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 562 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 563 |  |  |  | 
| 564 |  |  | <BR> | 
| 565 |  |  |  | 
| 566 |  |  | <DL> | 
| 567 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 568 |  |  |  | 
| 569 |  |  |  | 
| 570 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 571 |  |  |  | 
| 572 |  |  | </DL> | 
| 573 |  |  |  | 
| 574 |  |  | </DIV> | 
| 575 |  |  | <BR> | 
| 576 |  |  |  | 
| 577 |  |  | <DIV CLASS="function"> | 
| 578 |  |  | <A NAME='push_blank'><!-- --></A> | 
| 579 |  |  | <SPAN CLASS="font12bold">push_blank</SPAN> | 
| 580 |  |  | <BR> | 
| 581 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 582 |  |  | <span class="font10bold" style="color: #FF0000">void</SPAN>  | 
| 583 |  |  | <span class="font10bold" style="color: #0000FF">push_blank ( [$num = 1] )</SPAN> | 
| 584 |  |  | <BR> | 
| 585 |  |  |  | 
| 586 |  |  | <BR> | 
| 587 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 588 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 589 |  |  |  | 
| 590 |  |  | <BR> | 
| 591 |  |  |  | 
| 592 |  |  | <DL> | 
| 593 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 594 |  |  |  | 
| 595 |  |  |  | 
| 596 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 597 |  |  |  | 
| 598 |  |  | </DL> | 
| 599 |  |  |  | 
| 600 |  |  | </DIV> | 
| 601 |  |  | <BR> | 
| 602 |  |  |  | 
| 603 |  |  | <DIV CLASS="function"> | 
| 604 |  |  | <A NAME='push_text'><!-- --></A> | 
| 605 |  |  | <SPAN CLASS="font12bold">push_text</SPAN> | 
| 606 |  |  | <BR> | 
| 607 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 608 |  |  | <span class="font10bold" style="color: #FF0000">void</SPAN>  | 
| 609 |  |  | <span class="font10bold" style="color: #0000FF">push_text ( $text, [$selected = FALSE] )</SPAN> | 
| 610 |  |  | <BR> | 
| 611 |  |  |  | 
| 612 |  |  | <BR> | 
| 613 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 614 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 615 |  |  |  | 
| 616 |  |  | <BR> | 
| 617 |  |  |  | 
| 618 |  |  | <DL> | 
| 619 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 620 |  |  |  | 
| 621 |  |  |  | 
| 622 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 623 |  |  |  | 
| 624 |  |  | </DL> | 
| 625 |  |  |  | 
| 626 |  |  | </DIV> | 
| 627 |  |  | <BR> | 
| 628 |  |  |  | 
| 629 |  |  | <DIV CLASS="function"> | 
| 630 |  |  | <A NAME='render'><!-- --></A> | 
| 631 |  |  | <SPAN CLASS="font12bold">render</SPAN> | 
| 632 |  |  | <BR> | 
| 633 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 634 |  |  | <span class="font10bold" style="color: #FF0000">string</SPAN>  | 
| 635 |  |  | <span class="font10bold" style="color: #0000FF">render ( [$indent_level = 1], [$output_debug = 0] )</SPAN> | 
| 636 |  |  | <BR> | 
| 637 |  |  |  | 
| 638 |  |  | <BR> | 
| 639 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 640 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 641 |  |  | function that will render the widget. | 
| 642 |  |  | <BR> | 
| 643 |  |  |  | 
| 644 |  |  | <DL> | 
| 645 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 646 |  |  |  | 
| 647 |  |  | <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$indent_level</SPAN></SPAN> - the indentation level for | 
| 648 |  |  | the container.</DD> | 
| 649 |  |  |  | 
| 650 |  |  | <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$output_debug</SPAN></SPAN> - the output debug flag to | 
| 651 |  |  | maintain compatibility w/ the API.</DD> | 
| 652 |  |  |  | 
| 653 |  |  |  | 
| 654 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 655 |  |  |  | 
| 656 |  |  | <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - the raw html output.</DD> | 
| 657 |  |  |  | 
| 658 |  |  | </DL> | 
| 659 |  |  |  | 
| 660 |  |  | </DIV> | 
| 661 |  |  | <BR> | 
| 662 |  |  |  | 
| 663 |  |  | <DIV CLASS="function"> | 
| 664 |  |  | <A NAME='set_selected'><!-- --></A> | 
| 665 |  |  | <SPAN CLASS="font12bold">set_selected</SPAN> | 
| 666 |  |  | <BR> | 
| 667 |  |  | <SPAN CLASS="font10bold">Useage : </SPAN> | 
| 668 |  |  | <span class="font10bold" style="color: #FF0000">void</SPAN>  | 
| 669 |  |  | <span class="font10bold" style="color: #0000FF">set_selected ( $text )</SPAN> | 
| 670 |  |  | <BR> | 
| 671 |  |  |  | 
| 672 |  |  | <BR> | 
| 673 |  |  | <SPAN CLASS="font10bold">Description : </SPAN> | 
| 674 |  |  | <!-- ========== Info from phpDoc block ========= --> | 
| 675 |  |  | Set this text as the selected | 
| 676 |  |  | item | 
| 677 |  |  | <BR> | 
| 678 |  |  |  | 
| 679 |  |  | <DL> | 
| 680 |  |  | <DT class="font10bold">Function Parameters:</DT> | 
| 681 |  |  |  | 
| 682 |  |  | <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$text</SPAN></SPAN> - the text item selected.</DD> | 
| 683 |  |  |  | 
| 684 |  |  |  | 
| 685 |  |  | <DT class="font10bold">Function Info:</DT> | 
| 686 |  |  |  | 
| 687 |  |  | </DL> | 
| 688 |  |  |  | 
| 689 |  |  | </DIV> | 
| 690 |  |  | <BR> | 
| 691 |  |  |  | 
| 692 |  |  |  | 
| 693 |  |  | <hr> | 
| 694 |  |  | </HTML> |