/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/TreeNav.html
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/TreeNav.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jonen, Sat Feb 22 20:56:37 2003 UTC revision 1.3 by jonen, Sat Sep 20 00:24:04 2003 UTC
# Line 1  Line 1 
1  <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>  <?xml version="1.0" encoding="iso-8859-1"?>
2  <!--NewPage-->  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3  <HTML>    <html xmlns="http://www.w3.org/1999/xhtml">
4  <HEAD>                  <head>
5          <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:23:51 -0800' -->                          <!-- template designed by Marco Von Ballmoos -->
6          <TITLE>Docs For Class TreeNav</TITLE>                          <title>Docs For Class TreeNav</title>
7  <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>                          <link rel="stylesheet" href="../media/stylesheet.css" />
8  </HEAD>                          <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
9  <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">                  </head>
10  <!-- Links -->                  <body>
11  <a NAME="top"></A>                          <div class="page-body">                
12  <table WIDTH="100%" class="links">  <h2 class="class-name">Class TreeNav</h2>
13   <TR>  
14     <TD class="font10">  <a name="sec-description"></a>
15        Links:  <div class="info-box">
16        <A HREF="#children_summary" class="links" title="Classes extended from TreeNav">Child Classes</A>          <div class="info-box-title">Description</div>
17        <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>          <div class="nav-bar">
18        <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A>                                          <span class="disabled">Description</span> |
19        <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A>                                                                                                          <a href="#sec-vars">Vars</a>
20        <A HREF="#method_summary" class="links" title="Method Summary">Methods</A>                                                  |                                                                                       <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
21        <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>                                                  
22        <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>                          </div>
23     </TD>          <div class="info-box-body">
24   </TR>                  <!-- ========== Info from phpDoc block ========= -->
25  </TABLE>  <p class="short-description">This class tries to build a tree  navigational widget.</p>
26  <BR>  <p class="description"><p>definetly not done.</p></p>
27  <!-- Start of Class Data -->          <ul class="tags">
28  <H2>                                  <li><span class="field">author:</span> <p>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</p></li>
29          Class TreeNav                          </ul>
30  </H2> (line <span class="linenumber">25</span>)                  <p class="notes">
31  <pre>                          Located in <a class="field" href="_widgets_TreeNav_inc.html">Program_Root/widgets/TreeNav.inc</a> (line <span class="field">25</span>)
32  <a href="../phpHtmlLib/Container.html">Container</a>                  </p>
33                    
34                            
35                    <pre><a href="../phpHtmlLib/Container.html">Container</a>
36     |     |
37     --<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a>     --<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a>
38        |        |
39        --TreeNav</pre>        --TreeNav</pre>
40  <p>          
41          <b><i>Located in File: Program_Root/widgets/TreeNav.inc</i></b><br>                          </div>
42  </p>  </div>
 <hr>  
 This class tries to build a tree  navigational widget.  
 <br />  
 <p>definetly not done.</p>  
 <UL>  
                 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>  
         </UL>  
 <hr>  
 <!-- =========== VAR SUMMARY =========== -->  
 <A NAME='var_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Class Variable Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
         </TABLE>  
 <hr>  
 <!-- =========== VAR INHERITED SUMMARY =========== -->  
 <A NAME='var_inherited_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Inherited Class Variable Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white'>  
                 <TD>  
                         <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span>  
             <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">  
                         <tr CLASS="tableheadingcolor">  
                                 <th>Variable</th>  
                                 <th>Default Value</th>  
                                 <th>Description</th>  
                         </tr>  
                                                         <tr>  
                                 <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->''<-</td>  
                                 <td CLASS="font10">The title of the table.</td>  
                         </tr>  
                                                         <tr>  
                                 <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->"100%"<-</td>  
                                 <td CLASS="font10">the width of the widget</td>  
                         </tr>  
                                                         </table>  
             <BR>  
         </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white'>  
                 <TD>  
                         <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>  
             <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">  
                         <tr CLASS="tableheadingcolor">  
                                 <th>Variable</th>  
                                 <th>Default Value</th>  
                                 <th>Description</th>  
                         </tr>  
                                                         <tr>  
                                 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td>  
                                 <td CLASS="font10">The flags that tell us</td>  
                         </tr>  
                                                         </table>  
             <BR>  
         </TD>  
         </TR>  
         </TABLE>  
   
 <hr>  
 <!-- =========== METHOD SUMMARY =========== -->  
 <A NAME='method_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Method Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodTreeNav'>void constructor TreeNav ( [$width = 760] )</A></B></CODE>  
                         <BR>  
                         <blockquote> Constructor for this class  It just sets the width for the  widget. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodbuild_img_td'>void build_img_td (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> build the image seperator td </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodbuild_innertable'>void build_innertable (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> build all of the idividual nav elements. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodbuild_link_td'>void build_link_td ( $nav )</A></B></CODE>  
                         <BR>  
                         <blockquote> build the link td. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodbuild_spacer_td'>void build_spacer_td (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> build a spacer td. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodpush'>void push ( $url, $text, [$selected = FALSE] )</A></B></CODE>  
                         <BR>  
                         <blockquote>  </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodpush_blank'>void push_blank ( [$num = 1] )</A></B></CODE>  
                         <BR>  
                         <blockquote>  </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodpush_text'>void push_text ( $text, [$selected = FALSE] )</A></B></CODE>  
                         <BR>  
                         <blockquote>  </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodrender'>string render ( [$indent_level = 1], [$output_debug = 0] )</A></B></CODE>  
                         <BR>  
                         <blockquote> function that will render the widget. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/TreeNav.html#methodset_selected'>void set_selected ( $text )</A></B></CODE>  
                         <BR>  
                         <blockquote> Set this text as the selected  item </blockquote>  
                 </TD>  
         </TR>  
         </TABLE>  
 <!-- =========== INHERITED METHOD SUMMARY =========== -->  
 <A NAME='functions_inherited'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Inherited Method Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span>  
             <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">  
                                 <tr CLASS="tableheadingcolor">  
                                         <th>Function</th>  
                                         <th>Description</th>  
                                 </tr>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></td>  
                                         <td CLASS="font10">This gets the alignment value  for the outer table</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></td>  
                                         <td CLASS="font10">This function provides the  mechanism to build and return  the css needed by this widget</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></td>  
                                         <td CLASS="font10">Function for returning the raw javascript  that is required for this widget.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></td>  
                                         <td CLASS="font10">Function for accessing the  title of this widget</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></td>  
                                         <td CLASS="font10">Function for getting the current  widget width setting.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></td>  
                                         <td CLASS="font10">This function sets the align attribute  for the outer table.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></td>  
                                         <td CLASS="font10">Set the title for the widget.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></td>  
                                         <td CLASS="font10">Set the width for the widget.</td>  
                                                         </table>  
             <br>                          
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>  
             <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">  
                                 <tr CLASS="tableheadingcolor">  
                                         <th>Function</th>  
                                         <th>Description</th>  
                                 </tr>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td>  
                                         <td CLASS="font10">The constructor.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td>  
                                         <td CLASS="font10">add content onto content stack</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td>  
                                         <td CLASS="font10">Add content onto content stack  so you can change the item later.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td>  
                                         <td CLASS="font10">counts the number of content objects</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td>  
                                         <td CLASS="font10">This flag gets the current value  of the indent flag</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td>  
                                         <td CLASS="font10">Same as add().</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td>  
                                         <td CLASS="font10">Same as add_reference  NOTE : only exists for compatibility with 1.1.x</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td>  
                                         <td CLASS="font10">This function is compatible with the  rest of the phpHtmllib API spec.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td>  
                                         <td CLASS="font10">destroy existing content and start with new content.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td>  
                                         <td CLASS="font10">This function turns on the collapse flag</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td>  
                                         <td CLASS="font10">function to set the indent flag</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td>  
                                         <td CLASS="font10">This method is used to set the bitmask  flags for this tag.  It tells the  class how to render the tag.</td>  
                                                         </table>  
             <br>                          
                 </TD>  
         </TR>  
         </TABLE>  
 <hr>  
 <!-- ============ VARIABLE DETAIL =========== -->  
   
 <A NAME='variable_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Variable Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
   
 <hr>  
 <!-- ============ METHOD DETAIL =========== -->  
   
 <A NAME='method_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Method Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodTreeNav'><!-- --></A>  
 <SPAN CLASS="font12bold">Constructor TreeNav</SPAN> (line <span class="linenumber">34</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">TreeNav(  
 [int  
 $width = 760])</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 Constructor for this class  It just sets the width for the  widget.  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <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>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodbuild_img_td'><!-- --></A>  
 <SPAN CLASS="font12bold">build_img_td</SPAN> (line <span class="linenumber">70</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">build_img_td(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 build the image seperator td  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodbuild_innertable'><!-- --></A>  
 <SPAN CLASS="font12bold">build_innertable</SPAN> (line <span class="linenumber">121</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">build_innertable(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 build all of the idividual nav elements.  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodbuild_link_td'><!-- --></A>  
 <SPAN CLASS="font12bold">build_link_td</SPAN> (line <span class="linenumber">86</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">build_link_td(  
 mixed  
 $nav)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 build the link td.  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodbuild_spacer_td'><!-- --></A>  
 <SPAN CLASS="font12bold">build_spacer_td</SPAN> (line <span class="linenumber">103</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">build_spacer_td(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 build a spacer td.  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodpush'><!-- --></A>  
 <SPAN CLASS="font12bold">push</SPAN> (line <span class="linenumber">41</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">push(  
 mixed  
 $url, mixed  
 $text, [mixed  
 $selected = FALSE])</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
   
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodpush_blank'><!-- --></A>  
 <SPAN CLASS="font12bold">push_blank</SPAN> (line <span class="linenumber">46</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">push_blank(  
 [mixed  
 $num = 1])</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
   
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodpush_text'><!-- --></A>  
 <SPAN CLASS="font12bold">push_text</SPAN> (line <span class="linenumber">51</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">push_text(  
 mixed  
 $text, [mixed  
 $selected = FALSE])</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
   
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodrender'><!-- --></A>  
 <SPAN CLASS="font12bold">render</SPAN> (line <span class="linenumber">156</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">render(  
 [int  
 $indent_level = 1], int  
 $output_debug)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 function that will render the widget.  
 <br />  
43    
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <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 the container.</DD>  
                 <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 maintain compatibility w/ the API.</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - the raw html output.</DD>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_selected'><!-- --></A>  
 <SPAN CLASS="font12bold">set_selected</SPAN> (line <span class="linenumber">62</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_selected(  
 string  
 $text)</SPAN>  
 <BR>  
44    
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 Set this text as the selected  item  
 <br />  
45    
46  <DL>          <a name="sec-method-summary"></a>
47          <DT class="font10bold">Function Parameters:</DT>          <div class="info-box">
48                  <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>                  <div class="info-box-title">Method Summary</span></div>
49                            <div class="nav-bar">
50          <DT class="font10bold">Function Info:</DT>                          <a href="#sec-description">Description</a> |
51          </DL>                                                                                                                          <a href="#sec-vars">Vars</a>
52  </DIV>                                  
53  <BR>                                  |
54          <div id="credit">                                                  <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
55                  <hr>                  </div>
56                  Documention generated on Thu, 20 Feb 2003 16:23:51 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>                  <div class="info-box-body">                    
57                            <div class="method-summary">
58                                                                    
59                                    <div class="method-definition">
60                                                                                            <span class="method-result">void</span>
61                                                                                    <a href="#TreeNav" title="details" class="method-name">TreeNav</a>
62                                                                                            ([<span class="var-type">int</span>&nbsp;<span class="var-name">$width</span> = <span class="var-default">760</span>])
63                                                                            </div>
64                                                                    
65                                    <div class="method-definition">
66                                                                                            <span class="method-result">void</span>
67                                                                                    <a href="#build_img_td" title="details" class="method-name">build_img_td</a>
68                                                                                    ()
69                                                                            </div>
70                                                                    
71                                    <div class="method-definition">
72                                                                                            <span class="method-result">void</span>
73                                                                                    <a href="#build_innertable" title="details" class="method-name">build_innertable</a>
74                                                                                    ()
75                                                                            </div>
76                                                                    
77                                    <div class="method-definition">
78                                                                                            <span class="method-result">void</span>
79                                                                                    <a href="#build_link_td" title="details" class="method-name">build_link_td</a>
80                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$nav</span>)
81                                                                            </div>
82                                                                    
83                                    <div class="method-definition">
84                                                                                            <span class="method-result">void</span>
85                                                                                    <a href="#build_spacer_td" title="details" class="method-name">build_spacer_td</a>
86                                                                                    ()
87                                                                            </div>
88                                                                    
89                                    <div class="method-definition">
90                                                                                            <span class="method-result">void</span>
91                                                                                    <a href="#push" title="details" class="method-name">push</a>
92                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$selected</span> = <span class="var-default">FALSE</span>])
93                                                                            </div>
94                                                                    
95                                    <div class="method-definition">
96                                                                                            <span class="method-result">void</span>
97                                                                                    <a href="#push_blank" title="details" class="method-name">push_blank</a>
98                                                                                            ([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$num</span> = <span class="var-default">1</span>])
99                                                                            </div>
100                                                                    
101                                    <div class="method-definition">
102                                                                                            <span class="method-result">void</span>
103                                                                                    <a href="#push_text" title="details" class="method-name">push_text</a>
104                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$selected</span> = <span class="var-default">FALSE</span>])
105                                                                            </div>
106                                                                    
107                                    <div class="method-definition">
108                                                                                            <span class="method-result">string</span>
109                                                                                    <a href="#render" title="details" class="method-name">render</a>
110                                                                                            ([<span class="var-type">int</span>&nbsp;<span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$output_debug</span>)
111                                                                            </div>
112                                                                    
113                                    <div class="method-definition">
114                                                                                            <span class="method-result">void</span>
115                                                                                    <a href="#set_selected" title="details" class="method-name">set_selected</a>
116                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
117                                                                            </div>
118                                                            </div>
119                    </div>
120            </div>          
121    
122            <a name="sec-vars"></a>
123            <div class="info-box">
124                    <div class="info-box-title">Variables</div>
125                    <div class="nav-bar">
126                            <a href="#sec-description">Description</a> |
127                                                                                    <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
128                                                    
129                            
130                                                            |
131                                                                            <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
132                                                            
133                                            </div>
134                    <div class="info-box-body">
135                                                                                    <h4>Inherited Variables</h4>
136                                    <A NAME='inherited_vars'><!-- --></A>
137                                                                            <p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
138                                            <blockquote>
139                                                                                                            <span class="var-title">
140                                                                    <span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br>
141                                                            </span>
142                                                                                                            <span class="var-title">
143                                                                    <span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br>
144                                                            </span>
145                                                                                            </blockquote>
146                                                                            <p>Inherited from <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p>
147                                            <blockquote>
148                                                                                                            <span class="var-title">
149                                                                    <span class="var-name"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></span><br>
150                                                            </span>
151                                                                                            </blockquote>
152                                                                                    
153                    </div>
154          </div>          </div>
155  </body>          
156            <a name="sec-methods"></a>
157            <div class="info-box">
158                    <div class="info-box-title">Methods</div>
159                    <div class="nav-bar">
160                            <a href="#sec-description">Description</a> |
161                                                                                                                            <a href="#sec-vars">Vars</a>
162                                                                                                                    <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
163                                                    
164                    </div>
165                    <div class="info-box-body">
166                            <A NAME='method_detail'></A>
167    <a name="methodTreeNav" id="TreeNav"><!-- --></a>
168    <div class="evenrow">
169            
170            <div class="method-header">
171                    <span class="method-title">Constructor TreeNav</span> (line <span class="line-number">34</span>)
172            </div>
173            
174            <!-- ========== Info from phpDoc block ========= -->
175    <p class="short-description">Constructor for this class  It just sets the width for the  widget.</p>
176            
177            <div class="method-signature">
178                    <span class="method-result">void</span>
179                    <span class="method-name">
180                            TreeNav
181                    </span>
182                                            ([<span class="var-type">int</span>&nbsp;<span class="var-name">$width</span> = <span class="var-default">760</span>])
183                            </div>
184            
185                            <ul class="parameters">
186                                            <li>
187                                    <span class="var-type">int</span>
188                                    <span class="var-name">$width</span><span class="var-description">: <p>- the width of the widget</p></span>                     </li>
189                                    </ul>
190                    
191                    
192            </div>
193    <a name="methodbuild_img_td" id="build_img_td"><!-- --></a>
194    <div class="oddrow">
195            
196            <div class="method-header">
197                    <span class="method-title">build_img_td</span> (line <span class="line-number">70</span>)
198            </div>
199            
200            <!-- ========== Info from phpDoc block ========= -->
201    <p class="short-description">build the image seperator td</p>
202            
203            <div class="method-signature">
204                    <span class="method-result">void</span>
205                    <span class="method-name">
206                            build_img_td
207                    </span>
208                                    ()
209                            </div>
210            
211                    
212                    
213            </div>
214    <a name="methodbuild_innertable" id="build_innertable"><!-- --></a>
215    <div class="evenrow">
216            
217            <div class="method-header">
218                    <span class="method-title">build_innertable</span> (line <span class="line-number">121</span>)
219            </div>
220            
221            <!-- ========== Info from phpDoc block ========= -->
222    <p class="short-description">build all of the idividual nav elements.</p>
223            
224            <div class="method-signature">
225                    <span class="method-result">void</span>
226                    <span class="method-name">
227                            build_innertable
228                    </span>
229                                    ()
230                            </div>
231            
232                    
233                    
234            </div>
235    <a name="methodbuild_link_td" id="build_link_td"><!-- --></a>
236    <div class="oddrow">
237            
238            <div class="method-header">
239                    <span class="method-title">build_link_td</span> (line <span class="line-number">86</span>)
240            </div>
241            
242            <!-- ========== Info from phpDoc block ========= -->
243    <p class="short-description">build the link td.</p>
244            
245            <div class="method-signature">
246                    <span class="method-result">void</span>
247                    <span class="method-name">
248                            build_link_td
249                    </span>
250                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$nav</span>)
251                            </div>
252            
253                    
254                    
255            </div>
256    <a name="methodbuild_spacer_td" id="build_spacer_td"><!-- --></a>
257    <div class="evenrow">
258            
259            <div class="method-header">
260                    <span class="method-title">build_spacer_td</span> (line <span class="line-number">103</span>)
261            </div>
262            
263            <!-- ========== Info from phpDoc block ========= -->
264    <p class="short-description">build a spacer td.</p>
265            
266            <div class="method-signature">
267                    <span class="method-result">void</span>
268                    <span class="method-name">
269                            build_spacer_td
270                    </span>
271                                    ()
272                            </div>
273            
274                    
275                    
276            </div>
277    <a name="methodpush" id="push"><!-- --></a>
278    <div class="oddrow">
279            
280            <div class="method-header">
281                    <span class="method-title">push</span> (line <span class="line-number">41</span>)
282            </div>
283            
284            <!-- ========== Info from phpDoc block ========= -->
285            
286            <div class="method-signature">
287                    <span class="method-result">void</span>
288                    <span class="method-name">
289                            push
290                    </span>
291                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$selected</span> = <span class="var-default">FALSE</span>])
292                            </div>
293            
294                    
295                            <hr class="separator" />
296                    <div class="notes">Redefinition of:</div>
297                    <dl>
298                            <dt><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></dt>
299                                                    <dd>Same as add().</dd>
300                                            </dl>
301                    
302            </div>
303    <a name="methodpush_blank" id="push_blank"><!-- --></a>
304    <div class="evenrow">
305            
306            <div class="method-header">
307                    <span class="method-title">push_blank</span> (line <span class="line-number">46</span>)
308            </div>
309            
310            <!-- ========== Info from phpDoc block ========= -->
311            
312            <div class="method-signature">
313                    <span class="method-result">void</span>
314                    <span class="method-name">
315                            push_blank
316                    </span>
317                                            ([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$num</span> = <span class="var-default">1</span>])
318                            </div>
319            
320                    
321                    
322            </div>
323    <a name="methodpush_text" id="push_text"><!-- --></a>
324    <div class="oddrow">
325            
326            <div class="method-header">
327                    <span class="method-title">push_text</span> (line <span class="line-number">51</span>)
328            </div>
329            
330            <!-- ========== Info from phpDoc block ========= -->
331            
332            <div class="method-signature">
333                    <span class="method-result">void</span>
334                    <span class="method-name">
335                            push_text
336                    </span>
337                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$selected</span> = <span class="var-default">FALSE</span>])
338                            </div>
339            
340                    
341                    
342            </div>
343    <a name="methodrender" id="render"><!-- --></a>
344    <div class="evenrow">
345            
346            <div class="method-header">
347                    <span class="method-title">render</span> (line <span class="line-number">156</span>)
348            </div>
349            
350            <!-- ========== Info from phpDoc block ========= -->
351    <p class="short-description">function that will render the widget.</p>
352            <ul class="tags">
353                                    <li><span class="field">return:</span> <p>the raw html output.</p></li>
354                            </ul>
355            
356            <div class="method-signature">
357                    <span class="method-result">string</span>
358                    <span class="method-name">
359                            render
360                    </span>
361                                            ([<span class="var-type">int</span>&nbsp;<span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$output_debug</span>)
362                            </div>
363            
364                            <ul class="parameters">
365                                            <li>
366                                    <span class="var-type">int</span>
367                                    <span class="var-name">$indent_level</span><span class="var-description">: <p>- the indentation level for               the container.</p></span>                       </li>
368                                            <li>
369                                    <span class="var-type">int</span>
370                                    <span class="var-name">$output_debug</span><span class="var-description">: <p>- the output debug flag to               maintain compatibility w/ the API.</p></span>                    </li>
371                                    </ul>
372                    
373                            <hr class="separator" />
374                    <div class="notes">Redefinition of:</div>
375                    <dl>
376                            <dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt>
377                                                    <dd>This function is compatible with the  rest of the phpHtmllib API spec.</dd>
378                                            </dl>
379                    
380            </div>
381    <a name="methodset_selected" id="set_selected"><!-- --></a>
382    <div class="oddrow">
383            
384            <div class="method-header">
385                    <span class="method-title">set_selected</span> (line <span class="line-number">62</span>)
386            </div>
387            
388            <!-- ========== Info from phpDoc block ========= -->
389    <p class="short-description">Set this text as the selected  item</p>
390            
391            <div class="method-signature">
392                    <span class="method-result">void</span>
393                    <span class="method-name">
394                            set_selected
395                    </span>
396                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
397                            </div>
398            
399                            <ul class="parameters">
400                                            <li>
401                                    <span class="var-type">string</span>
402                                    <span class="var-name">$text</span><span class="var-description">: <p>- the text item selected.</p></span>                      </li>
403                                    </ul>
404                    
405                    
406            </div>
407                                                            <h4>Inherited Methods</h4>
408                                    <a name='inherited_methods'><!-- --></a>        
409                                                                            <!-- =========== Summary =========== -->
410                                            <p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
411                                            <blockquote>
412                                                                                                            <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br>
413                                                                                                            <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br>
414                                                                                                            <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br>
415                                                                                                            <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br>
416                                                                                                            <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br>
417                                                                                                            <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br>
418                                                                                                            <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br>
419                                                                                                            <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br>
420                                                                                            </blockquote>
421                                                                            <!-- =========== Summary =========== -->
422                                            <p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p>
423                                            <blockquote>
424                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br>
425                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br>
426                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br>
427                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br>
428                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br>
429                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br>
430                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br>
431                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br>
432                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br>
433                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br>
434                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br>
435                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></span><br>
436                                                                                            </blockquote>
437                                                                                    
438                    </div>
439            </div>
440            
441            <p class="notes" id="credit">
442                    Documention generated on Thu, 31 Jul 2003 18:33:52 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a>
443            </p>
444            </div></body>
445  </html>  </html>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed