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

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

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

revision 1.1 by jonen, Thu Jan 30 03:29:16 2003 UTC revision 1.2 by jonen, Sat Feb 22 20:56:30 2003 UTC
# Line 1  Line 1 
1  <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'>  <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>
2  <!--NewPage-->  <!--NewPage-->
3  <HTML>  <HTML>
4  <HEAD>  <HEAD>
5          <!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:27 -0800' -->          <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:16 -0800' -->
6          <TITLE>Docs For Class OLtag</TITLE>          <TITLE>Docs For Class OLtag</TITLE>
7  <LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'>  <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>
8  </HEAD>  </HEAD>
9  <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">  <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">
       
   
10  <!-- Links -->  <!-- Links -->
11  <a NAME="top"></A>  <a NAME="top"></A>
12  <table WIDTH="100%" class="links">  <table WIDTH="100%" class="links">
# Line 18  Line 16 
16        <A HREF="#children_summary" class="links" title="Classes extended from OLtag">Child Classes</A>        <A HREF="#children_summary" class="links" title="Classes extended from OLtag">Child Classes</A>
17        <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>        <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>
18        <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A>        <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A>
19        <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inerited Methods</A>        <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A>
20        <A HREF="#functions_summary" class="links" title="Method Summary">Methods</A>        <A HREF="#method_summary" class="links" title="Method Summary">Methods</A>
21        <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>        <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>
22        <A HREF="#function_detail" class="links" title="Method Detail">Method Detail</A>        <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>
23     </TD>     </TD>
24   </TR>   </TR>
25  </TABLE>  </TABLE>
26  <BR>  <BR>
   
27  <!-- Start of Class Data -->  <!-- Start of Class Data -->
28  <H2>  <H2>
29          Class OLtag          Class OLtag
30  </H2>  </H2> (line <span class="linenumber">874</span>)
   
31  <pre>  <pre>
32  <pre><a href="../phpHtmlLib/Container.html">Container</a>  <a href="../phpHtmlLib/Container.html">Container</a>
33     |     |
34     --<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>     --<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>
35        |        |
36        --<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a>        --<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a>
37           |           |
38           --OLtag</pre>           --OLtag</pre>
39  </pre>  <SPAN class="type">Classes extended from OLtag:</SPAN>
40                    <dl>
41  <A NAME="children_summary"</A>          <dt><a href="../phpHtmlLib/ULtag.html">ULtag</a></dt>
42  <H3>                  <dd>&lt;UL&gt; tag class</dd>
43          Classes extended from OLtag: <A HREF="#top" CLASS="links">^TOP</A>          </dl>
44  </H3>          </p>
 <a href="../phpHtmlLib/ULtag.html">ULtag</a>  
45  <p>  <p>
46          <b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br>          <b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br>
47  </p>  </p>
48  <hr>  <hr>
 <!-- ========== Info from phpDoc block ========= -->  
49  &lt;OL&gt; tag class  &lt;OL&gt; tag class
50  <BR>  <br />
51  The <ol> tag defines the start of an ordered list.  <p>The</p>
   
 OPTIONAL ATTRIBUTES  
   type : 1,A,a,I,i  DEPRICATED DO NOT USE  
   
52  <UL>  <UL>
53                            <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
54          <LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI>          </UL>
           
 </UL>  
   
55  <hr>  <hr>
56  <!-- =========== VAR SUMMARY =========== -->  <!-- =========== VAR SUMMARY =========== -->
57  <A NAME='var_summary'><!-- --></A>  <A NAME='var_summary'><!-- --></A>
# Line 76  OPTIONAL ATTRIBUTES Line 63  OPTIONAL ATTRIBUTES
63                  </TD>                  </TD>
64          </TR>          </TR>
65    
66                            <!-- =========== Summary =========== -->
         <!-- =========== Summary =========== -->  
67          <TR BGCOLOR='white' CLASS='TableRowColor'>          <TR BGCOLOR='white' CLASS='TableRowColor'>
68                  <TD>                  <TD>
69                          <CODE><B><A HREF='OLtag.html#$_tag'>$_tag</A></B></CODE>                          <CODE><B><A HREF="../phpHtmlLib/OLtag.html#var$_tag">$_tag</A></B></CODE>
70                          <BR>                          <BR>
71                          <blockquote>  </blockquote>                          <blockquote>  </blockquote>
72                          <blockquote> Default Value: <CODE>->ol<-</CODE> </blockquote>                          <blockquote> Default Value: <CODE>->&nbsp;"ol"<-</CODE> </blockquote>
73                  </TD>                  </TD>
74          </TR>          </TR>
75                    </TABLE>
 </TABLE>  
   
76  <hr>  <hr>
77  <!-- =========== VAR INHERITED SUMMARY =========== -->  <!-- =========== VAR INHERITED SUMMARY =========== -->
78  <A NAME='var_inherited_summary'><!-- --></A>  <A NAME='var_inherited_summary'><!-- --></A>
79  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
80          <TR CLASS='TableHeadingColor'>          <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
81                  <TD>                  <TD>
82                          <span CLASS="font12bold">Inherited Class Variable Summary</span>                          <span CLASS="font12bold">Inherited Class Variable Summary</span>
83              <A HREF="#top" CLASS="links">^TOP</A>              <A HREF="#top" CLASS="links">^TOP</A>
84                  </TD>                  </TD>
85          </TR>          </TR>
86    
87                            <!-- =========== Summary =========== -->
         <!-- =========== Summary =========== -->  
88          <TR BGCOLOR='white'>          <TR BGCOLOR='white'>
89                  <TD>                  <TD>
90                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
91              <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">              <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
92                          <tr CLASS="tableheadingcolor">                          <tr CLASS="tableheadingcolor">
93                                  <th>Variable</th>                                  <th>Variable</th>
94                                  <th>Default Value</th>                                  <th>Default Value</th>
95                                  <th>Description</th>                                  <th>Description</th>
96                          </tr>                          </tr>
97                                                                                            <tr>
98                          <tr>                                  <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td>
99                                  <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_depricated'>$_depricated</A></td>                                  <td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td>
100                                  <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>                                  <td CLASS="font10">The flags that tell us</td>
                                 <td CLASS="font10">Flag to denote that this tag is  
 depricated by the HTML standard.</td>  
                         </tr>  
                                   
                         <tr>  
                                 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_no_finish_slash_xhtml'>$_no_finish_slash_xhtml</A></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>  
                                 <td CLASS="font10">Flag to tell the renderer not to  
 place the /&gt; if we are in xhtml  
 compliant mode.</td>  
                         </tr>  
                                   
                         <tr>  
                                 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_xhtml_strict_attributes'>$_xhtml_strict_attributes</A></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td>  
                                 <td CLASS="font10">The list of attributes not to render  
 if HTML_RENDER_TYPE is &quot;XHTML STRICT&quot;</td>  
101                          </tr>                          </tr>
102                                                                                            </table>
                         </table>  
103              <BR>              <BR>
104          </TD>          </TD>
105          </TR>          </TR>
106                    </TABLE>
107          <!-- =========== Summary =========== -->  
108          <TR BGCOLOR='white'>  <hr>
109    <!-- =========== METHOD SUMMARY =========== -->
110    <A NAME='method_summary'><!-- --></A>
111    <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
112            <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
113                  <TD>                  <TD>
114                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>                          <span class="font12bold">Method Summary</span>
115              <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">              <A HREF="#top" CLASS="links">^TOP</A>
116                          <tr CLASS="tableheadingcolor">                  </TD>
                                 <th>Variable</th>  
                                 <th>Default Value</th>  
                                 <th>Description</th>  
                         </tr>  
                                   
                         <tr>  
                                 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_closetag'>$newline_after_closetag</A></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>  
                                 <td CLASS="font10">Flag to place a newline after close tag.</td>  
                         </tr>  
                                   
                         <tr>  
                                 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_opentag'>$newline_after_opentag</A></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>  
                                 <td CLASS="font10">Flag to place a newline after open tag.</td>  
                         </tr>  
                                   
                         <tr>  
                                 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_cdata_content_wrap'>$_cdata_content_wrap</A></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>  
                                 <td CLASS="font10">Automatically wrap ALL content</td>  
                         </tr>  
                                   
                         <tr>  
                                 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_postfix'>$_tag_postfix</A></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->&gt;<-</td>  
                                 <td CLASS="font10">holds the tag postfix</td>  
                         </tr>  
                                   
                         <tr>  
                                 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_prefix'>$_tag_prefix</A></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->&lt;<-</td>  
                                 <td CLASS="font10">holds the tag prefix</td>  
                         </tr>  
                                   
                         </table>  
             <BR>  
         </TD>  
117          </TR>          </TR>
118            
119          <!-- =========== Summary =========== -->                  <!-- =========== Summary =========== -->
120          <TR BGCOLOR='white'>          <TR BGCOLOR='white' CLASS='TableRowColor'>
121                  <TD>                  <TD>
122                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>                          <CODE><B><A HREF='../phpHtmlLib/OLtag.html#methodadd'>void add (  )</A></B></CODE>
123              <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">                          <BR>
124                          <tr CLASS="tableheadingcolor">                          <blockquote> add content onto content stack  adds content to tag as a FIFO. </blockquote>
125                                  <th>Variable</th>                  </TD>
                                 <th>Default Value</th>  
                                 <th>Description</th>  
                         </tr>  
                                   
                         <tr>  
                                 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>  
                                 <td CLASS="font10">Flag for pretty (indented) output</td>  
                         </tr>  
                                   
                         <tr>  
                                 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>  
                                 <td CLASS="font10">Do we render a newline after the  
 contents has been rendered?</td>  
                         </tr>  
                                   
                         </table>  
             <BR>  
         </TD>  
126          </TR>          </TR>
127                            <!-- =========== Summary =========== -->
128  </TABLE>          <TR BGCOLOR='white' CLASS='TableRowColor'>
129                    <TD>
130  <hr>                          <CODE><B><A HREF='../phpHtmlLib/OLtag.html#methodadd_reference'>void add_reference ( &$content )</A></B></CODE>
131                            <BR>
132                            <blockquote> push content onto content stack </blockquote>
133                    </TD>
134            </TR>
135            </TABLE>
136  <!-- =========== INHERITED METHOD SUMMARY =========== -->  <!-- =========== INHERITED METHOD SUMMARY =========== -->
137  <A NAME='functions_inherited'><!-- --></A>  <A NAME='functions_inherited'><!-- --></A>
138  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
139          <TR CLASS='TableHeadingColor'>          <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
140                  <TD>                  <TD>
141                          <span CLASS="font12bold">Inherited Method Summary</span>                          <span CLASS="font12bold">Inherited Method Summary</span>
142              <A HREF="#top" CLASS="links">^TOP</A>              <A HREF="#top" CLASS="links">^TOP</A>
143                  </TD>                  </TD>
144          </TR>          </TR>
145    
146                            <!-- =========== Summary =========== -->
         <!-- =========== Summary =========== -->  
147          <TR BGCOLOR='white' CLASS='TableRowColor'>          <TR BGCOLOR='white' CLASS='TableRowColor'>
148                  <TD>                  <TD>
149                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>
# Line 237  contents has been rendered?</td> Line 152  contents has been rendered?</td>
152                                          <th>Function</th>                                          <th>Function</th>
153                                          <th>Description</th>                                          <th>Description</th>
154                                  </tr>                                  </tr>
155                                                                                                    <tr>
156                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodHTMLTagClass">HTMLTagClass::HTMLTagClass()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#constructor HTMLTagClass'>constructor HTMLTagClass ( [$attributes = NULL] )</A></td>  
157                                          <td CLASS="font10">Class Constructor</td>                                          <td CLASS="font10">Class Constructor</td>
158                                                                                                    <tr>
159                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodrender">HTMLTagClass::render()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#render'>render ( [$indent_level = NULL], [$output_debug = 0] )</A></td>  
160                                          <td CLASS="font10">Renders the tag, attributes, content and close tag.</td>                                          <td CLASS="font10">Renders the tag, attributes, content and close tag.</td>
161                                                                                                    <tr>
162                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_class">HTMLTagClass::set_class()</a></td>
163                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_class'>set_class ( $value )</A></td>                                          <td CLASS="font10">This function is a shorthand helper  to setting the class attribute on a  tag.</td>
164                                          <td CLASS="font10">This function is a shorthand helper                                                                  <tr>
165  to setting the class attribute on a                                          <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_id">HTMLTagClass::set_id()</a></td>
166  tag.</td>                                          <td CLASS="font10">This function is a shorthand helper  to setting the id attribute on a  tag.</td>
167                                                                                                    <tr>
168                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_style">HTMLTagClass::set_style()</a></td>
169                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_id'>set_id ( $value )</A></td>                                          <td CLASS="font10">This function is a shorthand helper  to setting the style attribute on a  tag.</td>
170                                          <td CLASS="font10">This function is a shorthand helper                                                                  <tr>
171  to setting the id attribute on a                                          <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_build_attribute_string">HTMLTagClass::_build_attribute_string()</a></td>
 tag.</td>  
                                   
                                 <tr>  
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_style'>set_style ( $value )</A></td>  
                                         <td CLASS="font10">This function is a shorthand helper  
 to setting the style attribute on a  
 tag.</td>  
                                   
                                 <tr>  
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value, [$debug = 0] )</A></td>  
172                                          <td CLASS="font10">this builds an attribute for a tag.</td>                                          <td CLASS="font10">this builds an attribute for a tag.</td>
173                                                                                                    <tr>
174                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_render_tag_debug">HTMLTagClass::_render_tag_debug()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_render_tag_debug'>_render_tag_debug ( $indent_level )</A></td>  
175                                          <td CLASS="font10">This renders that open tag in debug mode.</td>                                          <td CLASS="font10">This renders that open tag in debug mode.</td>
176                                                                                            </table>
                         </table>  
177              <br>                                      <br>                        
178                  </TD>                  </TD>
179          </TR>          </TR>
180                            <!-- =========== Summary =========== -->
         <!-- =========== Summary =========== -->  
181          <TR BGCOLOR='white' CLASS='TableRowColor'>          <TR BGCOLOR='white' CLASS='TableRowColor'>
182                  <TD>                  <TD>
183                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
# Line 286  tag.</td> Line 186  tag.</td>
186                                          <th>Function</th>                                          <th>Function</th>
187                                          <th>Description</th>                                          <th>Description</th>
188                                  </tr>                                  </tr>
189                                                                                                    <tr>
190                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#constructor XMLTagClass'>constructor XMLTagClass ( [$name = ], [$attributes = array()] )</A></td>  
191                                          <td CLASS="font10">The constructor</td>                                          <td CLASS="font10">The constructor</td>
192                                                                                                    <tr>
193                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag'>get_tag (  )</A></td>  
194                                          <td CLASS="font10">This returns the tag declared for this class.</td>                                          <td CLASS="font10">This returns the tag declared for this class.</td>
195                                                                                                    <tr>
196                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag_name'>get_tag_name (  )</A></td>  
197                                          <td CLASS="font10">This method gets the name of the tag</td>                                          <td CLASS="font10">This method gets the name of the tag</td>
198                                                                                                    <tr>
199                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td>
200                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#render'>render ( [$indent_level = 0] )</A></td>                                          <td CLASS="font10">This function is responsible  for rendering the tag and  its contents</td>
201                                          <td CLASS="font10">This function is responsible</td>                                                                  <tr>
202                                                                            <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td>
                                 <tr>  
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#reset_attributes'>reset_attributes ( [$attributes = array()] )</A></td>  
203                                          <td CLASS="font10">clear all attributes and start with new attributes</td>                                          <td CLASS="font10">clear all attributes and start with new attributes</td>
204                                                                                                    <tr>
205                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>  
206                                          <td CLASS="font10">This function turns on the collapse flag</td>                                          <td CLASS="font10">This function turns on the collapse flag</td>
207                                                                                                    <tr>
208                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_closetag'>set_newline_after_closetag ( $flag )</A></td>  
209                                          <td CLASS="font10">set the newline_after_content flag</td>                                          <td CLASS="font10">set the newline_after_content flag</td>
210                                                                                                    <tr>
211                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_opentag'>set_newline_after_opentag ( $flag )</A></td>  
212                                          <td CLASS="font10">set the newline_after_opentag flag</td>                                          <td CLASS="font10">set the newline_after_opentag flag</td>
213                                                                                                    <tr>
214                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td>
215                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attribute'>set_tag_attribute ( $name, [$value = NULL] )</A></td>                                          <td CLASS="font10">add a single attribute (name="value")</td>
216                                          <td CLASS="font10">add a single attribute (name=&quot;value&quot;)</td>                                                                  <tr>
217                                                                            <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td>
218                                  <tr>                                          <td CLASS="font10">add multiple attributes (name="value")</td>
219                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attributes'>set_tag_attributes ( [$attributes = array()] )</A></td>                                                                  <tr>
220                                          <td CLASS="font10">add multiple attributes (name=&quot;value&quot;)</td>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td>
                                   
                                 <tr>  
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_name'>set_tag_name ( $name )</A></td>  
221                                          <td CLASS="font10">This method sets the name of the tag</td>                                          <td CLASS="font10">This method sets the name of the tag</td>
222                                                                                                    <tr>
223                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value )</A></td>  
224                                          <td CLASS="font10">this builds an attribute for an XML tag.</td>                                          <td CLASS="font10">this builds an attribute for an XML tag.</td>
225                                                                                                    <tr>
226                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_get_element'>_get_element ( $cell )</A></td>  
227                                          <td CLASS="font10">get the nth element from content array</td>                                          <td CLASS="font10">get the nth element from content array</td>
228                                                                                                    <tr>
229                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_prepare_flags'>_prepare_flags (  )</A></td>  
230                                          <td CLASS="font10">This function checks to see if</td>                                          <td CLASS="font10">This function checks to see if</td>
231                                                                                                    <tr>
232                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td>
233                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_close_tag'>_render_close_tag ( $indent_level )</A></td>                                          <td CLASS="font10">this function is reposnsible for  rendering the closing tag (if any)</td>
234                                          <td CLASS="font10">this function is reposnsible for                                                                  <tr>
235  rendering the closing tag (if any)</td>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></td>
236                                                                            <td CLASS="font10">this function is reponsible for  rendering the pcdata, or content  of the tag (if any)</td>
237                                  <tr>                                                                  <tr>
238                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_content'>_render_content ( $indent_level, [$output_debug = 0] )</A></td>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></td>
239                                          <td CLASS="font10">this function is reponsible for</td>                                          <td CLASS="font10">this function is responsible for  rendering the open tag.</td>
240                                                                                                    <tr>
241                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td>
242                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_open_tag'>_render_open_tag ( $indent_level, [$finish_slash = TRUE] )</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>
243                                          <td CLASS="font10">this function is responsible for                                                          </table>
 rendering the open tag.</td>  
                                   
                         </table>  
244              <br>                                      <br>                        
245                  </TD>                  </TD>
246          </TR>          </TR>
247                            <!-- =========== Summary =========== -->
         <!-- =========== Summary =========== -->  
248          <TR BGCOLOR='white' CLASS='TableRowColor'>          <TR BGCOLOR='white' CLASS='TableRowColor'>
249                  <TD>                  <TD>
250                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>                          <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
# Line 371  rendering the open tag.</td> Line 253  rendering the open tag.</td>
253                                          <th>Function</th>                                          <th>Function</th>
254                                          <th>Description</th>                                          <th>Description</th>
255                                  </tr>                                  </tr>
256                                                                                                    <tr>
257                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container (  )</A></td>  
258                                          <td CLASS="font10">The constructor.</td>                                          <td CLASS="font10">The constructor.</td>
259                                                                                                    <tr>
260                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add (  )</A></td>  
261                                          <td CLASS="font10">add content onto content stack</td>                                          <td CLASS="font10">add content onto content stack</td>
262                                                                                                    <tr>
263                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td>
264                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td>                                          <td CLASS="font10">Add content onto content stack  so you can change the item later.</td>
265                                          <td CLASS="font10">Add content onto content stack                                                                  <tr>
266  so you can change the item later.</td>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td>
                                   
                                 <tr>  
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content (  )</A></td>  
267                                          <td CLASS="font10">counts the number of content objects</td>                                          <td CLASS="font10">counts the number of content objects</td>
268                                                                                                    <tr>
269                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td>
270                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag (  )</A></td>                                          <td CLASS="font10">This flag gets the current value  of the indent flag</td>
271                                          <td CLASS="font10">This flag gets the current value                                                                  <tr>
272  of the indent flag</td>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td>
                                   
                                 <tr>  
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push (  )</A></td>  
273                                          <td CLASS="font10">Same as add().</td>                                          <td CLASS="font10">Same as add().</td>
274                                                                                                    <tr>
275                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td>
276                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td>                                          <td CLASS="font10">Same as add_reference  NOTE : only exists for compatibility with 1.1.x</td>
277                                          <td CLASS="font10">Same as add_reference                                                                  <tr>
278  NOTE : only exists for compatibility with 1.1.x</td>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td>
279                                                                            <td CLASS="font10">This function is compatible with the  rest of the phpHtmllib API spec.</td>
280                                  <tr>                                                                  <tr>
281                                          <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</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#reset_content'>reset_content (  )</A></td>  
282                                          <td CLASS="font10">destroy existing content and start with new content.</td>                                          <td CLASS="font10">destroy existing content and start with new content.</td>
283                                                                                                    <tr>
284                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>  
285                                          <td CLASS="font10">This function turns on the collapse flag</td>                                          <td CLASS="font10">This function turns on the collapse flag</td>
286                                                                                                    <tr>
287                                  <tr>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td>
                                         <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td>  
288                                          <td CLASS="font10">function to set the indent flag</td>                                          <td CLASS="font10">function to set the indent flag</td>
289                                                                                                    <tr>
290                          </table>                                          <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td>
291                                            <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>
292                                                            </table>
293              <br>                                      <br>                        
294                  </TD>                  </TD>
295          </TR>          </TR>
296                    </TABLE>
 </TABLE>  
   
 <hr>  
 <!-- should have constructor at some point -->  
 <!-- =========== 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='OLtag.html#add'>void add (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> add content onto content stack  
 adds content to tag as a FIFO. </blockquote>  
                 </TD>  
         </TR>  
           
         <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='OLtag.html#add_reference'>void add_reference ( &$content )</A></B></CODE>  
                         <BR>  
                         <blockquote> push content onto content stack </blockquote>  
                 </TD>  
         </TR>  
           
 </TABLE>  
   
297  <hr>  <hr>
298  <!-- ============ VARIABLE DETAIL =========== -->  <!-- ============ VARIABLE DETAIL =========== -->
299    
# Line 474  adds content to tag as a FIFO. </blockqu Line 307  adds content to tag as a FIFO. </blockqu
307          </TR>          </TR>
308  </TABLE>  </TABLE>
309    
310    <A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">875</span>)<br />
 <A NAME='$_tag'><!-- --></A><H3>$_tag</H3>  
311  <b>Data type:</b> mixed<br>  <b>Data type:</b> mixed<br>
312  <!-- ========== Info from phpDoc block ========= -->  <br />
   
 <BR>  
   
313    
314  <UL>  <UL>
315                    </UL>
 </UL>  
   
316  <HR>  <HR>
   
   
317  <hr>  <hr>
318  <!-- ============ FUNCTION DETAIL =========== -->  <!-- ============ METHOD DETAIL =========== -->
319    
320  <A NAME='function_detail'></A>  <A NAME='method_detail'></A>
321  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
322          <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>          <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
323                  <TD>                  <TD>
# Line 502  adds content to tag as a FIFO. </blockqu Line 327  adds content to tag as a FIFO. </blockqu
327          </TR>          </TR>
328  </TABLE>  </TABLE>
329  <BR>  <BR>
   
330  <DIV CLASS="function">  <DIV CLASS="function">
331  <A NAME='add'><!-- --></A>  <A NAME='methodadd'><!-- --></A>
332  <SPAN CLASS="font12bold">add</SPAN>  <SPAN CLASS="font12bold">add</SPAN> (line <span class="linenumber">889</span>)
333  <BR>  <BR>
334  <SPAN CLASS="font10bold">Useage : </SPAN>  <SPAN CLASS="font10bold">Usage : </SPAN>
335  <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
336  <span class="font10bold" style="color: #0000FF">add (  )</SPAN>  <span class="font10bold" style="color: #0000FF">add(
337    mixed
338    $content)</SPAN>
339  <BR>  <BR>
340    
341  <BR>  <BR>
342  <SPAN CLASS="font10bold">Description : </SPAN>  <SPAN CLASS="font10bold">Description : </SPAN>
343  <!-- ========== Info from phpDoc block ========= -->  add content onto content stack  adds content to tag as a FIFO.
344  add content onto content stack  <br />
345  adds content to tag as a FIFO.  <p>You can have n number of parameters.  each one will get added in succession to the content.</p><p>we override this from the parent so we can auto detect if  the user is adding raw strings instead of objects.  If they are trying to add raw strings, then we wrap that in  an LItag object, since you can't add anything other then an &lt;LI&gt;</p>
 <BR>  
 You can have n number of parameters.  
 each one will get added in succession to the content.  
   
 we override this from the parent so we can auto detect if  
 the user is adding raw strings instead of objects.  
 If they are trying to add raw strings, then we wrap that in  
 an LItag object, since you can't add anything other then an &lt;LI&gt;  
346  <DL>  <DL>
347    <DT class="font10bold">Function Parameters:</DT>          <DT class="font10bold">Function Parameters:</DT>
348                      <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object.</DD>
349    <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object.</DD>          
350              <DT class="font10bold">Function Info:</DT>
351                    <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD>
352    <DT class="font10bold">Function Info:</DT>          </DL>
     
   <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD>  
     
 </DL>  
   
353  </DIV>  </DIV>
354  <BR>  <BR>
   
355  <DIV CLASS="function">  <DIV CLASS="function">
356  <A NAME='add_reference'><!-- --></A>  <A NAME='methodadd_reference'><!-- --></A>
357  <SPAN CLASS="font12bold">add_reference</SPAN>  <SPAN CLASS="font12bold">add_reference</SPAN> (line <span class="linenumber">928</span>)
358  <BR>  <BR>
359  <SPAN CLASS="font10bold">Useage : </SPAN>  <SPAN CLASS="font10bold">Usage : </SPAN>
360  <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
361  <span class="font10bold" style="color: #0000FF">add_reference ( &$content )</SPAN>  <span class="font10bold" style="color: #0000FF">add_reference(
362    mixed
363    &$content, mixed
364    $content)</SPAN>
365  <BR>  <BR>
366    
367  <BR>  <BR>
368  <SPAN CLASS="font10bold">Description : </SPAN>  <SPAN CLASS="font10bold">Description : </SPAN>
 <!-- ========== Info from phpDoc block ========= -->  
369  push content onto content stack  push content onto content stack
370  <BR>  <br />
371  adds content to tag as a FIFO  <p>adds content to tag as a FIFO  You can only add 1 element at a time, and  it will be added as a reference.  So you can't do  push_reference("something");, since "something" is a  static.</p><p>we override this from the parent so we can auto detect if  the user is adding raw strings instead of objects.  If they are trying to add raw strings, then we wrap that in  an LItag object, since you can't add anything other then an &lt;LI&gt;</p>
 You can only add 1 element at a time, and  
 it will be added as a reference.  So you can't do  
 push_reference(&quot;something&quot;);, since &quot;something&quot; is a  
 static.  
   
 we override this from the parent so we can auto detect if  
 the user is adding raw strings instead of objects.  
 If they are trying to add raw strings, then we wrap that in  
 an LItag object, since you can't add anything other then an &lt;LI&gt;  
372  <DL>  <DL>
373    <DT class="font10bold">Function Parameters:</DT>          <DT class="font10bold">Function Parameters:</DT>
374                      <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object. the tag object gets stored as a reference to the original, so you can push it, then modify it later.</DD>
375    <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object.          
376                               the tag object gets stored as a          <DT class="font10bold">Function Info:</DT>
377                               reference to the original, so you                  <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD>
378                               can push it, then modify it later.</DD>          </DL>
     
   
   <DT class="font10bold">Function Info:</DT>  
     
   <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD>  
     
 </DL>  
   
379  </DIV>  </DIV>
380  <BR>  <BR>
381            <div id="credit">
382                    <hr>
383  <hr>                  Documention generated on Thu, 20 Feb 2003 16:22:16 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
384  </HTML>          </div>
385    </body>
386    </html>

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

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