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:41 -0800' --> |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:24:02 -0800' --> |
6 |
<TITLE>Docs For Class XMLTagClass</TITLE> |
<TITLE>Docs For Class XMLTagClass</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"> |
16 |
<A HREF="#children_summary" class="links" title="Classes extended from XMLTagClass">Child Classes</A> |
<A HREF="#children_summary" class="links" title="Classes extended from XMLTagClass">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 XMLTagClass |
Class XMLTagClass |
30 |
</H2> |
</H2> (line <span class="linenumber">35</span>) |
|
|
|
31 |
<pre> |
<pre> |
32 |
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
<a href="../phpHtmlLib/Container.html">Container</a> |
33 |
| |
| |
34 |
--XMLTagClass</pre> |
--XMLTagClass</pre> |
35 |
</pre> |
<SPAN class="type">Classes extended from XMLTagClass:</SPAN> |
36 |
|
<dl> |
37 |
<A NAME="children_summary"</A> |
<dt><a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></dt> |
38 |
<H3> |
<dd>Base class for all HTML Tag classes.</dd> |
39 |
Classes extended from XMLTagClass: <A HREF="#top" CLASS="links">^TOP</A> |
</dl> |
40 |
</H3> |
<dl> |
41 |
<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a>, <a href="../phpHtmlLib/SVGTagClass.html">SVGTagClass</a>, <a href="../phpHtmlLib/WMLTagClass.html">WMLTagClass</a>, <a href="../phpHtmlLib/DOCTYPEtag.html">DOCTYPEtag</a>, <a href="../phpHtmlLib/XMLtag.html">XMLtag</a> |
<dt><a href="../phpHtmlLib/SVGTagClass.html">SVGTagClass</a></dt> |
42 |
|
<dd>This overrides the WMLTagClass to define some methods that set some commonly used SVG tag attributes.</dd> |
43 |
|
</dl> |
44 |
|
<dl> |
45 |
|
<dt><a href="../phpHtmlLib/WMLTagClass.html">WMLTagClass</a></dt> |
46 |
|
<dd>Base class for all WML Tag classes.</dd> |
47 |
|
</dl> |
48 |
|
<dl> |
49 |
|
<dt><a href="../phpHtmlLib/DOCTYPEtag.html">DOCTYPEtag</a></dt> |
50 |
|
<dd><!DOCTYPE> tag class</dd> |
51 |
|
</dl> |
52 |
|
<dl> |
53 |
|
<dt><a href="../phpHtmlLib/XMLtag.html">XMLtag</a></dt> |
54 |
|
<dd>xml tag class</dd> |
55 |
|
</dl> |
56 |
|
</p> |
57 |
<p> |
<p> |
58 |
<b><i>Located in File: Program_Root/XMLTagClass.inc</i></b><br> |
<b><i>Located in File: Program_Root/XMLTagClass.inc</i></b><br> |
59 |
</p> |
</p> |
60 |
<hr> |
<hr> |
61 |
<!-- ========== Info from phpDoc block ========= --> |
This class is used for building and rendering an XML tag. |
62 |
This class is used for building and rendering |
<br /> |
63 |
an XML tag. |
<p>This class is the base class for the HTMLTagClass.</p><p>This is part of the phphtmllib libraries released under the LGPL license.</p> |
|
<BR> |
|
|
This class is the base class for the |
|
|
HTMLTagClass. |
|
|
|
|
|
This is part of the phphtmllib libraries |
|
|
released under the LGPL license. |
|
|
|
|
64 |
<UL> |
<UL> |
65 |
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
66 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
</UL> |
|
|
|
|
<LI><b>Author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></CODE></LI> |
|
|
|
|
|
</UL> |
|
|
|
|
67 |
<hr> |
<hr> |
68 |
<!-- =========== VAR SUMMARY =========== --> |
<!-- =========== VAR SUMMARY =========== --> |
69 |
<A NAME='var_summary'><!-- --></A> |
<A NAME='var_summary'><!-- --></A> |
75 |
</TD> |
</TD> |
76 |
</TR> |
</TR> |
77 |
|
|
78 |
|
</TABLE> |
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='XMLTagClass.html#$newline_after_closetag'>$newline_after_closetag</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Flag to place a newline after close tag. </blockquote> |
|
|
<blockquote> Default Value: <CODE>->TRUE<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='XMLTagClass.html#$newline_after_opentag'>$newline_after_opentag</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Flag to place a newline after open tag. </blockquote> |
|
|
<blockquote> Default Value: <CODE>->TRUE<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='XMLTagClass.html#$_cdata_content_wrap'>$_cdata_content_wrap</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Automatically wrap ALL content </blockquote> |
|
|
<blockquote> Default Value: <CODE>->FALSE<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='XMLTagClass.html#$_tag_postfix'>$_tag_postfix</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> holds the tag postfix </blockquote> |
|
|
<blockquote> Default Value: <CODE>->><-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='XMLTagClass.html#$_tag_prefix'>$_tag_prefix</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> holds the tag prefix </blockquote> |
|
|
<blockquote> Default Value: <CODE>-><<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
</TABLE> |
|
|
|
|
79 |
<hr> |
<hr> |
80 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
81 |
<A NAME='var_inherited_summary'><!-- --></A> |
<A NAME='var_inherited_summary'><!-- --></A> |
82 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
83 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
84 |
<TD> |
<TD> |
85 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
86 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
87 |
</TD> |
</TD> |
88 |
</TR> |
</TR> |
89 |
|
|
90 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
91 |
<TR BGCOLOR='white'> |
<TR BGCOLOR='white'> |
92 |
<TD> |
<TD> |
93 |
<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> |
97 |
<th>Default Value</th> |
<th>Default Value</th> |
98 |
<th>Description</th> |
<th>Description</th> |
99 |
</tr> |
</tr> |
100 |
|
<tr> |
101 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td> |
102 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td> |
<td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td> |
103 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
<td CLASS="font10">The flags that tell us</td> |
|
<td CLASS="font10">Flag for pretty (indented) output</td> |
|
104 |
</tr> |
</tr> |
105 |
|
</table> |
|
<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> |
|
106 |
<BR> |
<BR> |
107 |
</TD> |
</TD> |
108 |
</TR> |
</TR> |
109 |
|
</TABLE> |
|
</TABLE> |
|
110 |
|
|
111 |
<hr> |
<hr> |
112 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
<!-- =========== METHOD SUMMARY =========== --> |
113 |
<A NAME='functions_inherited'><!-- --></A> |
<A NAME='method_summary'><!-- --></A> |
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR 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/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#constructor Container'>constructor Container ( )</A></td> |
|
|
<td CLASS="font10">The constructor.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td> |
|
|
<td CLASS="font10">add content onto content stack</td> |
|
|
|
|
|
<tr> |
|
|
<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> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td> |
|
|
<td CLASS="font10">counts the number of content objects</td> |
|
|
|
|
|
<tr> |
|
|
<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> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td> |
|
|
<td CLASS="font10">Same as add().</td> |
|
|
|
|
|
<tr> |
|
|
<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> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</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> |
|
|
<td CLASS="font10">destroy existing content and start with new content.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> |
|
|
<td CLASS="font10">This function turns on the collapse flag</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td> |
|
|
<td CLASS="font10">function to set the indent flag</td> |
|
|
|
|
|
</table> |
|
|
<br> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
</TABLE> |
|
|
|
|
|
<hr> |
|
|
<!-- should have constructor at some point --> |
|
|
<!-- =========== Method SUMMARY =========== --> |
|
|
<A NAME='Method_summary'><!-- --></A> |
|
114 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
115 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
116 |
<TD> |
<TD> |
119 |
</TD> |
</TD> |
120 |
</TR> |
</TR> |
121 |
|
|
122 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
123 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
124 |
<TD> |
<TD> |
125 |
<CODE><B><A HREF='XMLTagClass.html#constructor XMLTagClass'>void constructor XMLTagClass ( $name, [$attributes = array()] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodXMLTagClass'>void constructor XMLTagClass ( $name, [$attributes = array()] )</A></B></CODE> |
126 |
<BR> |
<BR> |
127 |
<blockquote> The constructor </blockquote> |
<blockquote> The constructor </blockquote> |
128 |
</TD> |
</TD> |
129 |
</TR> |
</TR> |
130 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
131 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
132 |
<TD> |
<TD> |
133 |
<CODE><B><A HREF='XMLTagClass.html#get_tag'>string get_tag ( )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodget_tag'>string get_tag ( )</A></B></CODE> |
134 |
<BR> |
<BR> |
135 |
<blockquote> This returns the tag declared for this class. </blockquote> |
<blockquote> This returns the tag declared for this class. </blockquote> |
136 |
</TD> |
</TD> |
137 |
</TR> |
</TR> |
138 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
139 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
140 |
<TD> |
<TD> |
141 |
<CODE><B><A HREF='XMLTagClass.html#get_tag_name'>string get_tag_name ( )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodget_tag_name'>string get_tag_name ( )</A></B></CODE> |
142 |
<BR> |
<BR> |
143 |
<blockquote> This method gets the name of the tag </blockquote> |
<blockquote> This method gets the name of the tag </blockquote> |
144 |
</TD> |
</TD> |
145 |
</TR> |
</TR> |
146 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
147 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
148 |
<TD> |
<TD> |
149 |
<CODE><B><A HREF='XMLTagClass.html#render'>void render ( [$indent_level = 0] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodrender'>void render ( [$indent_level = 0] )</A></B></CODE> |
150 |
<BR> |
<BR> |
151 |
<blockquote> This function is responsible </blockquote> |
<blockquote> This function is responsible for rendering the tag and its contents </blockquote> |
152 |
</TD> |
</TD> |
153 |
</TR> |
</TR> |
154 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
155 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
156 |
<TD> |
<TD> |
157 |
<CODE><B><A HREF='XMLTagClass.html#reset_attributes'>void reset_attributes ( [$attributes = array()] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodreset_attributes'>void reset_attributes ( [$attributes = array()] )</A></B></CODE> |
158 |
<BR> |
<BR> |
159 |
<blockquote> clear all attributes and start with new attributes </blockquote> |
<blockquote> clear all attributes and start with new attributes </blockquote> |
160 |
</TD> |
</TD> |
161 |
</TR> |
</TR> |
162 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
163 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
164 |
<TD> |
<TD> |
165 |
<CODE><B><A HREF='XMLTagClass.html#set_collapse'>void set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodset_collapse'>void set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></B></CODE> |
166 |
<BR> |
<BR> |
167 |
<blockquote> This function turns on the collapse flag </blockquote> |
<blockquote> This function turns on the collapse flag </blockquote> |
168 |
</TD> |
</TD> |
169 |
</TR> |
</TR> |
170 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
171 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
172 |
<TD> |
<TD> |
173 |
<CODE><B><A HREF='XMLTagClass.html#set_newline_after_closetag'>void set_newline_after_closetag ( $flag )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag'>void set_newline_after_closetag ( $flag )</A></B></CODE> |
174 |
<BR> |
<BR> |
175 |
<blockquote> set the newline_after_content flag </blockquote> |
<blockquote> set the newline_after_content flag </blockquote> |
176 |
</TD> |
</TD> |
177 |
</TR> |
</TR> |
178 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
179 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
180 |
<TD> |
<TD> |
181 |
<CODE><B><A HREF='XMLTagClass.html#set_newline_after_opentag'>void set_newline_after_opentag ( $flag )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag'>void set_newline_after_opentag ( $flag )</A></B></CODE> |
182 |
<BR> |
<BR> |
183 |
<blockquote> set the newline_after_opentag flag </blockquote> |
<blockquote> set the newline_after_opentag flag </blockquote> |
184 |
</TD> |
</TD> |
185 |
</TR> |
</TR> |
186 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
187 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
188 |
<TD> |
<TD> |
189 |
<CODE><B><A HREF='XMLTagClass.html#set_tag_attribute'>void set_tag_attribute ( $name, [$value = NULL] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute'>void set_tag_attribute ( $name, [$value = NULL] )</A></B></CODE> |
190 |
<BR> |
<BR> |
191 |
<blockquote> add a single attribute (name="value") </blockquote> |
<blockquote> add a single attribute (name="value") </blockquote> |
192 |
</TD> |
</TD> |
193 |
</TR> |
</TR> |
194 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
195 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
196 |
<TD> |
<TD> |
197 |
<CODE><B><A HREF='XMLTagClass.html#set_tag_attributes'>void set_tag_attributes ( [$attributes = array()] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes'>void set_tag_attributes ( [$attributes = array()] )</A></B></CODE> |
198 |
<BR> |
<BR> |
199 |
<blockquote> add multiple attributes (name="value") </blockquote> |
<blockquote> add multiple attributes (name="value") </blockquote> |
200 |
</TD> |
</TD> |
201 |
</TR> |
</TR> |
202 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
203 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
204 |
<TD> |
<TD> |
205 |
<CODE><B><A HREF='XMLTagClass.html#set_tag_name'>void set_tag_name ( $name )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#methodset_tag_name'>void set_tag_name ( $name )</A></B></CODE> |
206 |
<BR> |
<BR> |
207 |
<blockquote> This method sets the name of the tag </blockquote> |
<blockquote> This method sets the name of the tag </blockquote> |
208 |
</TD> |
</TD> |
209 |
</TR> |
</TR> |
210 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
211 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
212 |
<TD> |
<TD> |
213 |
<CODE><B><A HREF='XMLTagClass.html#_build_attribute_string'>the _build_attribute_string ( $name, $value )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#method_build_attribute_string'>the _build_attribute_string ( $name, $value )</A></B></CODE> |
214 |
<BR> |
<BR> |
215 |
<blockquote> this builds an attribute for an XML tag. </blockquote> |
<blockquote> this builds an attribute for an XML tag. </blockquote> |
216 |
</TD> |
</TD> |
217 |
</TR> |
</TR> |
218 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
219 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
220 |
<TD> |
<TD> |
221 |
<CODE><B><A HREF='XMLTagClass.html#_get_element'>mixed _get_element ( $cell )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#method_get_element'>mixed _get_element ( $cell )</A></B></CODE> |
222 |
<BR> |
<BR> |
223 |
<blockquote> get the nth element from content array </blockquote> |
<blockquote> get the nth element from content array </blockquote> |
224 |
</TD> |
</TD> |
225 |
</TR> |
</TR> |
226 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
227 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
228 |
<TD> |
<TD> |
229 |
<CODE><B><A HREF='XMLTagClass.html#_prepare_flags'>void _prepare_flags ( )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#method_prepare_flags'>void _prepare_flags ( )</A></B></CODE> |
230 |
<BR> |
<BR> |
231 |
<blockquote> This function checks to see if </blockquote> |
<blockquote> This function checks to see if </blockquote> |
232 |
</TD> |
</TD> |
233 |
</TR> |
</TR> |
234 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
235 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
236 |
<TD> |
<TD> |
237 |
<CODE><B><A HREF='XMLTagClass.html#_render_close_tag'>void _render_close_tag ( $indent_level )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#method_render_close_tag'>void _render_close_tag ( $indent_level )</A></B></CODE> |
238 |
<BR> |
<BR> |
239 |
<blockquote> this function is reposnsible for |
<blockquote> this function is reposnsible for rendering the closing tag (if any) </blockquote> |
|
rendering the closing tag (if any) </blockquote> |
|
240 |
</TD> |
</TD> |
241 |
</TR> |
</TR> |
242 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
243 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
244 |
<TD> |
<TD> |
245 |
<CODE><B><A HREF='XMLTagClass.html#_render_content'>void _render_content ( $indent_level, [$output_debug = 0] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#method_render_content'>void _render_content ( $indent_level, [$output_debug = 0] )</A></B></CODE> |
246 |
<BR> |
<BR> |
247 |
<blockquote> this function is reponsible for </blockquote> |
<blockquote> this function is reponsible for rendering the pcdata, or content of the tag (if any) </blockquote> |
248 |
</TD> |
</TD> |
249 |
</TR> |
</TR> |
250 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
251 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
252 |
<TD> |
<TD> |
253 |
<CODE><B><A HREF='XMLTagClass.html#_render_open_tag'>void _render_open_tag ( $indent_level, [$finish_slash = TRUE] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#method_render_open_tag'>void _render_open_tag ( $indent_level, [$finish_slash = TRUE] )</A></B></CODE> |
254 |
<BR> |
<BR> |
255 |
<blockquote> this function is responsible for |
<blockquote> this function is responsible for rendering the open tag. </blockquote> |
256 |
rendering the open tag. </blockquote> |
</TD> |
257 |
|
</TR> |
258 |
|
<!-- =========== Summary =========== --> |
259 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
260 |
|
<TD> |
261 |
|
<CODE><B><A HREF='../phpHtmlLib/XMLTagClass.html#method_set_flags'>void _set_flags ( )</A></B></CODE> |
262 |
|
<BR> |
263 |
|
<blockquote> This method is used to set the bitmask flags for this tag. It tells the class how to render the tag. </blockquote> |
264 |
|
</TD> |
265 |
|
</TR> |
266 |
|
</TABLE> |
267 |
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
268 |
|
<A NAME='functions_inherited'><!-- --></A> |
269 |
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
270 |
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
271 |
|
<TD> |
272 |
|
<span CLASS="font12bold">Inherited Method Summary</span> |
273 |
|
<A HREF="#top" CLASS="links">^TOP</A> |
274 |
</TD> |
</TD> |
275 |
</TR> |
</TR> |
|
|
|
|
</TABLE> |
|
276 |
|
|
277 |
|
<!-- =========== Summary =========== --> |
278 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
279 |
|
<TD> |
280 |
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
281 |
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
282 |
|
<tr CLASS="tableheadingcolor"> |
283 |
|
<th>Function</th> |
284 |
|
<th>Description</th> |
285 |
|
</tr> |
286 |
|
<tr> |
287 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td> |
288 |
|
<td CLASS="font10">The constructor.</td> |
289 |
|
<tr> |
290 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td> |
291 |
|
<td CLASS="font10">add content onto content stack</td> |
292 |
|
<tr> |
293 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td> |
294 |
|
<td CLASS="font10">Add content onto content stack so you can change the item later.</td> |
295 |
|
<tr> |
296 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td> |
297 |
|
<td CLASS="font10">counts the number of content objects</td> |
298 |
|
<tr> |
299 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td> |
300 |
|
<td CLASS="font10">This flag gets the current value of the indent flag</td> |
301 |
|
<tr> |
302 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td> |
303 |
|
<td CLASS="font10">Same as add().</td> |
304 |
|
<tr> |
305 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td> |
306 |
|
<td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td> |
307 |
|
<tr> |
308 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td> |
309 |
|
<td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td> |
310 |
|
<tr> |
311 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td> |
312 |
|
<td CLASS="font10">destroy existing content and start with new content.</td> |
313 |
|
<tr> |
314 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td> |
315 |
|
<td CLASS="font10">This function turns on the collapse flag</td> |
316 |
|
<tr> |
317 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td> |
318 |
|
<td CLASS="font10">function to set the indent flag</td> |
319 |
|
<tr> |
320 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td> |
321 |
|
<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> |
322 |
|
</table> |
323 |
|
<br> |
324 |
|
</TD> |
325 |
|
</TR> |
326 |
|
</TABLE> |
327 |
<hr> |
<hr> |
328 |
<!-- ============ VARIABLE DETAIL =========== --> |
<!-- ============ VARIABLE DETAIL =========== --> |
329 |
|
|
337 |
</TR> |
</TR> |
338 |
</TABLE> |
</TABLE> |
339 |
|
|
|
|
|
|
<A NAME='$newline_after_closetag'><!-- --></A><H3>$newline_after_closetag</H3> |
|
|
<b>Data type:</b> boolean<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
Flag to place a newline after close tag. |
|
|
<BR> |
|
|
usefull for maintaining nice output inside |
|
|
a table |
|
|
|
|
|
<UL> |
|
|
|
|
|
<LI><b>Access</b> - <CODE>public</CODE></LI> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
<A NAME='$newline_after_opentag'><!-- --></A><H3>$newline_after_opentag</H3> |
|
|
<b>Data type:</b> boolean<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
Flag to place a newline after open tag. |
|
|
<BR> |
|
|
some tags are nice to have a \n after |
|
|
to make reading of html easier. |
|
|
ie <table> |
|
|
|
|
|
<UL> |
|
|
|
|
|
<LI><b>Access</b> - <CODE>public</CODE></LI> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
<A NAME='$_cdata_content_wrap'><!-- --></A><H3>$_cdata_content_wrap</H3> |
|
|
<b>Data type:</b> boolean<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
Automatically wrap ALL content |
|
|
<BR> |
|
|
inside the <![CDATA[ CONTENT ]]> |
|
|
tag |
|
|
|
|
|
<UL> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
<A NAME='$_tag_postfix'><!-- --></A><H3>$_tag_postfix</H3> |
|
|
<b>Data type:</b> mixed<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
holds the tag postfix |
|
|
<BR> |
|
|
|
|
|
|
|
|
<UL> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
<A NAME='$_tag_prefix'><!-- --></A><H3>$_tag_prefix</H3> |
|
|
<b>Data type:</b> mixed<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
holds the tag prefix |
|
|
<BR> |
|
|
|
|
|
|
|
|
<UL> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
|
|
340 |
<hr> |
<hr> |
341 |
<!-- ============ FUNCTION DETAIL =========== --> |
<!-- ============ METHOD DETAIL =========== --> |
342 |
|
|
343 |
<A NAME='function_detail'></A> |
<A NAME='method_detail'></A> |
344 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
345 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
346 |
<TD> |
<TD> |
350 |
</TR> |
</TR> |
351 |
</TABLE> |
</TABLE> |
352 |
<BR> |
<BR> |
|
|
|
353 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
354 |
<A NAME='constructor XMLTagClass'><!-- --></A> |
<A NAME='methodXMLTagClass'><!-- --></A> |
355 |
<SPAN CLASS="font12bold">constructor XMLTagClass</SPAN> |
<SPAN CLASS="font12bold">Constructor XMLTagClass</SPAN> (line <span class="linenumber">68</span>) |
356 |
<BR> |
<BR> |
357 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
358 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
359 |
<span class="font10bold" style="color: #0000FF">constructor XMLTagClass ( $name, [$attributes = array()] )</SPAN> |
<span class="font10bold" style="color: #0000FF">XMLTagClass( |
360 |
|
string |
361 |
|
$name, [array |
362 |
|
$attributes = array()], mixed |
363 |
|
2)</SPAN> |
364 |
<BR> |
<BR> |
365 |
|
|
366 |
<BR> |
<BR> |
367 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
368 |
The constructor |
The constructor |
369 |
<BR> |
<br /> |
370 |
|
|
371 |
<DL> |
<DL> |
372 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
373 |
|
<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">2</SPAN></SPAN> - n items of content to add</DD> |
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">2</SPAN></SPAN> - n items of content to |
<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">$name</SPAN></SPAN> - the tag name</DD> |
375 |
add</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> - the attributes array can be in name => value or just value</DD> |
376 |
|
|
377 |
<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">$name</SPAN></SPAN> - the tag name</DD> |
<DT class="font10bold">Function Info:</DT> |
378 |
|
</DL> |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> - the attributes array |
|
|
can be in name => value |
|
|
or just value</DD> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
379 |
</DIV> |
</DIV> |
380 |
<BR> |
<BR> |
|
|
|
381 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
382 |
<A NAME='get_tag'><!-- --></A> |
<A NAME='methodget_tag'><!-- --></A> |
383 |
<SPAN CLASS="font12bold">get_tag</SPAN> |
<SPAN CLASS="font12bold">get_tag</SPAN> (line <span class="linenumber">147</span>) |
384 |
<BR> |
<BR> |
385 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
386 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
387 |
<span class="font10bold" style="color: #0000FF">get_tag ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">get_tag( |
388 |
|
)</SPAN> |
389 |
<BR> |
<BR> |
390 |
|
|
391 |
<BR> |
<BR> |
392 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
393 |
This returns the tag declared for this class. |
This returns the tag declared for this class. |
394 |
<BR> |
<br /> |
395 |
This should be used in favor of |
<p>This should be used in favor of accessing the $this->_tag directly.</p> |
|
accessing the $this->_tag directly. |
|
396 |
<DL> |
<DL> |
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - - the _tag var for this class.</DD> |
|
|
|
|
|
</DL> |
|
397 |
|
|
398 |
|
<DT class="font10bold">Function Info:</DT> |
399 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the _tag var for this class.</DD> |
400 |
|
</DL> |
401 |
</DIV> |
</DIV> |
402 |
<BR> |
<BR> |
|
|
|
403 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
404 |
<A NAME='get_tag_name'><!-- --></A> |
<A NAME='methodget_tag_name'><!-- --></A> |
405 |
<SPAN CLASS="font12bold">get_tag_name</SPAN> |
<SPAN CLASS="font12bold">get_tag_name</SPAN> (line <span class="linenumber">136</span>) |
406 |
<BR> |
<BR> |
407 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
408 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
409 |
<span class="font10bold" style="color: #0000FF">get_tag_name ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">get_tag_name( |
410 |
|
)</SPAN> |
411 |
<BR> |
<BR> |
412 |
|
|
413 |
<BR> |
<BR> |
414 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
415 |
This method gets the name of the tag |
This method gets the name of the tag |
416 |
<BR> |
<br /> |
417 |
|
|
418 |
<DL> |
<DL> |
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - - the tag name</DD> |
|
|
|
|
|
</DL> |
|
419 |
|
|
420 |
|
<DT class="font10bold">Function Info:</DT> |
421 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the tag name</DD> |
422 |
|
</DL> |
423 |
</DIV> |
</DIV> |
424 |
<BR> |
<BR> |
|
|
|
425 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
426 |
<A NAME='render'><!-- --></A> |
<A NAME='methodrender'><!-- --></A> |
427 |
<SPAN CLASS="font12bold">render</SPAN> |
<SPAN CLASS="font12bold">render</SPAN> (line <span class="linenumber">89</span>) |
428 |
<BR> |
<BR> |
429 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
430 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
431 |
<span class="font10bold" style="color: #0000FF">render ( [$indent_level = 0] )</SPAN> |
<span class="font10bold" style="color: #0000FF">render( |
432 |
|
int |
433 |
|
$indent_level)</SPAN> |
434 |
<BR> |
<BR> |
435 |
Overridden in child class(es) as: <a href="../phpHtmlLib/HTMLTagClass.html#render">HTMLTagClass::render()</a><br><span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#render">Container::render()</a> |
<p>Overridden in child classes as:<br /> |
436 |
|
<dl> |
437 |
|
<dt><a href="../phpHtmlLib/HTMLTagClass.html#methodrender">HTMLTagClass::render()</a></dt> |
438 |
|
<dd>Renders the tag, attributes, content and close tag.</dd> |
439 |
|
</dl> |
440 |
|
</p> |
441 |
|
|
442 |
|
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a> This function is compatible with the rest of the phpHtmllib API spec. |
443 |
<BR> |
<BR> |
444 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
445 |
<!-- ========== Info from phpDoc block ========= --> |
This function is responsible for rendering the tag and its contents |
446 |
This function is responsible |
<br /> |
|
<BR> |
|
|
for rendering the tag and |
|
|
its contents |
|
|
<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 current indentation |
|
|
level for the tag</DD> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
447 |
|
|
448 |
|
<DL> |
449 |
|
<DT class="font10bold">Function Parameters:</DT> |
450 |
|
<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 current indentation level for the tag</DD> |
451 |
|
|
452 |
|
<DT class="font10bold">Function Info:</DT> |
453 |
|
</DL> |
454 |
</DIV> |
</DIV> |
455 |
<BR> |
<BR> |
|
|
|
456 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
457 |
<A NAME='reset_attributes'><!-- --></A> |
<A NAME='methodreset_attributes'><!-- --></A> |
458 |
<SPAN CLASS="font12bold">reset_attributes</SPAN> |
<SPAN CLASS="font12bold">reset_attributes</SPAN> (line <span class="linenumber">180</span>) |
459 |
<BR> |
<BR> |
460 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
461 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
462 |
<span class="font10bold" style="color: #0000FF">reset_attributes ( [$attributes = array()] )</SPAN> |
<span class="font10bold" style="color: #0000FF">reset_attributes( |
463 |
|
[array |
464 |
|
$attributes = array()])</SPAN> |
465 |
<BR> |
<BR> |
466 |
|
|
467 |
<BR> |
<BR> |
468 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
469 |
clear all attributes and start with new attributes |
clear all attributes and start with new attributes |
470 |
<BR> |
<br /> |
471 |
|
|
472 |
<DL> |
<DL> |
473 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
474 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> Associative array of name="value" pairs of tag atributes. ie array("border"=>"0", "class"=>"hover");</DD> |
475 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> Associative array of name="value" pairs of |
|
476 |
tag atributes. |
<DT class="font10bold">Function Info:</DT> |
477 |
ie array("border"=>"0", "class"=>"hover");</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
478 |
|
</DL> |
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
479 |
</DIV> |
</DIV> |
480 |
<BR> |
<BR> |
|
|
|
481 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
482 |
<A NAME='set_collapse'><!-- --></A> |
<A NAME='methodset_collapse'><!-- --></A> |
483 |
<SPAN CLASS="font12bold">set_collapse</SPAN> |
<SPAN CLASS="font12bold">set_collapse</SPAN> (line <span class="linenumber">231</span>) |
484 |
<BR> |
<BR> |
485 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
486 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
487 |
<span class="font10bold" style="color: #0000FF">set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</SPAN> |
<span class="font10bold" style="color: #0000FF">set_collapse( |
488 |
|
[boolean |
489 |
|
$collapse = TRUE], [boolean |
490 |
|
$indent = TRUE])</SPAN> |
491 |
<BR> |
<BR> |
492 |
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#set_collapse">Container::set_collapse()</a> |
|
493 |
|
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a> This function turns on the collapse flag |
494 |
<BR> |
<BR> |
495 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
496 |
This function turns on the collapse flag |
This function turns on the collapse flag |
497 |
<BR> |
<br /> |
498 |
|
|
499 |
<DL> |
<DL> |
500 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
501 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$collapse</SPAN></SPAN> - the collapse flag</DD> |
502 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$collapse</SPAN></SPAN> - the collapse flag</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$indent</SPAN></SPAN> - the indent flag DEFAULT: TRUE;</DD> |
503 |
|
|
504 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$indent</SPAN></SPAN> - the indent flag |
<DT class="font10bold">Function Info:</DT> |
505 |
DEFAULT: TRUE;</DD> |
</DL> |
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
506 |
</DIV> |
</DIV> |
507 |
<BR> |
<BR> |
|
|
|
508 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
509 |
<A NAME='set_newline_after_closetag'><!-- --></A> |
<A NAME='methodset_newline_after_closetag'><!-- --></A> |
510 |
<SPAN CLASS="font12bold">set_newline_after_closetag</SPAN> |
<SPAN CLASS="font12bold">set_newline_after_closetag</SPAN> (line <span class="linenumber">216</span>) |
511 |
<BR> |
<BR> |
512 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
513 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
514 |
<span class="font10bold" style="color: #0000FF">set_newline_after_closetag ( $flag )</SPAN> |
<span class="font10bold" style="color: #0000FF">set_newline_after_closetag( |
515 |
|
boolean |
516 |
|
$flag)</SPAN> |
517 |
<BR> |
<BR> |
518 |
|
|
519 |
<BR> |
<BR> |
520 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
521 |
set the newline_after_content flag |
set the newline_after_content flag |
522 |
<BR> |
<br /> |
523 |
|
|
524 |
<DL> |
<DL> |
525 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
526 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$flag</SPAN></SPAN> TRUE or FALSE</DD> |
527 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$flag</SPAN></SPAN> TRUE or FALSE</DD> |
|
528 |
|
<DT class="font10bold">Function Info:</DT> |
529 |
|
</DL> |
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
530 |
</DIV> |
</DIV> |
531 |
<BR> |
<BR> |
|
|
|
532 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
533 |
<A NAME='set_newline_after_opentag'><!-- --></A> |
<A NAME='methodset_newline_after_opentag'><!-- --></A> |
534 |
<SPAN CLASS="font12bold">set_newline_after_opentag</SPAN> |
<SPAN CLASS="font12bold">set_newline_after_opentag</SPAN> (line <span class="linenumber">204</span>) |
535 |
<BR> |
<BR> |
536 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
537 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
538 |
<span class="font10bold" style="color: #0000FF">set_newline_after_opentag ( $flag )</SPAN> |
<span class="font10bold" style="color: #0000FF">set_newline_after_opentag( |
539 |
|
boolean |
540 |
|
$flag)</SPAN> |
541 |
<BR> |
<BR> |
542 |
|
|
543 |
<BR> |
<BR> |
544 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
545 |
set the newline_after_opentag flag |
set the newline_after_opentag flag |
546 |
<BR> |
<br /> |
547 |
|
|
548 |
<DL> |
<DL> |
549 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
550 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$flag</SPAN></SPAN> TRUE or FALSE</DD> |
551 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$flag</SPAN></SPAN> TRUE or FALSE</DD> |
|
552 |
|
<DT class="font10bold">Function Info:</DT> |
553 |
|
</DL> |
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
554 |
</DIV> |
</DIV> |
555 |
<BR> |
<BR> |
|
|
|
556 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
557 |
<A NAME='set_tag_attribute'><!-- --></A> |
<A NAME='methodset_tag_attribute'><!-- --></A> |
558 |
<SPAN CLASS="font12bold">set_tag_attribute</SPAN> |
<SPAN CLASS="font12bold">set_tag_attribute</SPAN> (line <span class="linenumber">158</span>) |
559 |
<BR> |
<BR> |
560 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
561 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
562 |
<span class="font10bold" style="color: #0000FF">set_tag_attribute ( $name, [$value = NULL] )</SPAN> |
<span class="font10bold" style="color: #0000FF">set_tag_attribute( |
563 |
|
string |
564 |
|
$name, [mixed |
565 |
|
$value = NULL])</SPAN> |
566 |
<BR> |
<BR> |
567 |
|
|
568 |
<BR> |
<BR> |
569 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
570 |
<!-- ========== Info from phpDoc block ========= --> |
add a single attribute (name="value") |
571 |
add a single attribute (name="value") |
<br /> |
|
<BR> |
|
572 |
|
|
573 |
<DL> |
<DL> |
574 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
575 |
|
<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">$name</SPAN></SPAN> attribute name</DD> |
576 |
<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">$name</SPAN></SPAN> attribute name</DD> |
<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">$value</SPAN></SPAN> the value.</DD> |
577 |
|
|
578 |
<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">$value</SPAN></SPAN> the value.</DD> |
<DT class="font10bold">Function Info:</DT> |
579 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
580 |
|
</DL> |
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
581 |
</DIV> |
</DIV> |
582 |
<BR> |
<BR> |
|
|
|
583 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
584 |
<A NAME='set_tag_attributes'><!-- --></A> |
<A NAME='methodset_tag_attributes'><!-- --></A> |
585 |
<SPAN CLASS="font12bold">set_tag_attributes</SPAN> |
<SPAN CLASS="font12bold">set_tag_attributes</SPAN> (line <span class="linenumber">169</span>) |
586 |
<BR> |
<BR> |
587 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
588 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
589 |
<span class="font10bold" style="color: #0000FF">set_tag_attributes ( [$attributes = array()] )</SPAN> |
<span class="font10bold" style="color: #0000FF">set_tag_attributes( |
590 |
|
[array |
591 |
|
$attributes = array()])</SPAN> |
592 |
<BR> |
<BR> |
593 |
|
|
594 |
<BR> |
<BR> |
595 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
596 |
<!-- ========== Info from phpDoc block ========= --> |
add multiple attributes (name="value") |
597 |
add multiple attributes (name="value") |
<br /> |
|
<BR> |
|
598 |
|
|
599 |
<DL> |
<DL> |
600 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
601 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> Associative array of name="value" pairs of tag atributes. ie array("border"=>"0", "class"=>"hover");</DD> |
602 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> Associative array of name="value" pairs of |
|
603 |
tag atributes. |
<DT class="font10bold">Function Info:</DT> |
604 |
ie array("border"=>"0", "class"=>"hover");</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
605 |
|
</DL> |
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
606 |
</DIV> |
</DIV> |
607 |
<BR> |
<BR> |
|
|
|
608 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
609 |
<A NAME='set_tag_name'><!-- --></A> |
<A NAME='methodset_tag_name'><!-- --></A> |
610 |
<SPAN CLASS="font12bold">set_tag_name</SPAN> |
<SPAN CLASS="font12bold">set_tag_name</SPAN> (line <span class="linenumber">127</span>) |
611 |
<BR> |
<BR> |
612 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
613 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
614 |
<span class="font10bold" style="color: #0000FF">set_tag_name ( $name )</SPAN> |
<span class="font10bold" style="color: #0000FF">set_tag_name( |
615 |
|
string |
616 |
|
$name)</SPAN> |
617 |
<BR> |
<BR> |
618 |
|
|
619 |
<BR> |
<BR> |
620 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
621 |
This method sets the name of the tag |
This method sets the name of the tag |
622 |
<BR> |
<br /> |
623 |
|
|
624 |
<DL> |
<DL> |
625 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
626 |
|
<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">$name</SPAN></SPAN> - the tag name</DD> |
627 |
<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">$name</SPAN></SPAN> - the tag name</DD> |
|
628 |
|
<DT class="font10bold">Function Info:</DT> |
629 |
|
</DL> |
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
630 |
</DIV> |
</DIV> |
631 |
<BR> |
<BR> |
|
|
|
632 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
633 |
<A NAME='_build_attribute_string'><!-- --></A> |
<A NAME='method_build_attribute_string'><!-- --></A> |
634 |
<SPAN CLASS="font12bold">_build_attribute_string</SPAN> |
<SPAN CLASS="font12bold">_build_attribute_string</SPAN> (line <span class="linenumber">406</span>) |
635 |
<BR> |
<BR> |
636 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
637 |
<span class="font10bold" style="color: #FF0000">the</SPAN> |
<span class="font10bold" style="color: #FF0000">the</SPAN> |
638 |
<span class="font10bold" style="color: #0000FF">_build_attribute_string ( $name, $value )</SPAN> |
<span class="font10bold" style="color: #0000FF">_build_attribute_string( |
639 |
<BR> |
string |
640 |
Overridden in child class(es) as: <a href="../phpHtmlLib/HTMLTagClass.html#_build_attribute_string">HTMLTagClass::_build_attribute_string()</a><br> |
$name, mixed |
641 |
|
$value)</SPAN> |
642 |
|
<BR> |
643 |
|
<p>Overridden in child classes as:<br /> |
644 |
|
<dl> |
645 |
|
<dt><a href="../phpHtmlLib/HTMLTagClass.html#method_build_attribute_string">HTMLTagClass::_build_attribute_string()</a></dt> |
646 |
|
<dd>this builds an attribute for a tag.</dd> |
647 |
|
</dl> |
648 |
|
</p> |
649 |
|
|
650 |
<BR> |
<BR> |
651 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
652 |
this builds an attribute for an XML tag. |
this builds an attribute for an XML tag. |
653 |
<BR> |
<br /> |
654 |
XML attributes MUST have a name AND a |
<p>XML attributes MUST have a name AND a value.</p> |
|
value. |
|
655 |
<DL> |
<DL> |
656 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
657 |
|
<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">$name</SPAN></SPAN> - $name attribute name</DD> |
658 |
<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">$name</SPAN></SPAN> - attribute name</DD> |
<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">$value</SPAN></SPAN> - $value attribute value</DD> |
659 |
|
|
660 |
<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">$value</SPAN></SPAN> - attribute value</DD> |
<DT class="font10bold">Function Info:</DT> |
661 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - tag attribute name=value pair. to be added to the tag.</DD> |
662 |
|
</DL> |
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - tag attribute name=value pair. |
|
|
to be added to the tag.</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
663 |
</DIV> |
</DIV> |
664 |
<BR> |
<BR> |
|
|
|
665 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
666 |
<A NAME='_get_element'><!-- --></A> |
<A NAME='method_get_element'><!-- --></A> |
667 |
<SPAN CLASS="font12bold">_get_element</SPAN> |
<SPAN CLASS="font12bold">_get_element</SPAN> (line <span class="linenumber">190</span>) |
668 |
<BR> |
<BR> |
669 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
670 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
671 |
<span class="font10bold" style="color: #0000FF">_get_element ( $cell )</SPAN> |
<span class="font10bold" style="color: #0000FF">_get_element( |
672 |
|
int |
673 |
|
$cell)</SPAN> |
674 |
<BR> |
<BR> |
675 |
|
|
676 |
<BR> |
<BR> |
677 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
678 |
get the nth element from content array |
get the nth element from content array |
679 |
<BR> |
<br /> |
680 |
|
|
681 |
<DL> |
<DL> |
682 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
683 |
|
<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">$cell</SPAN></SPAN> the cell to get</DD> |
684 |
<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">$cell</SPAN></SPAN> the cell to get</DD> |
|
685 |
|
<DT class="font10bold">Function Info:</DT> |
686 |
|
</DL> |
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
687 |
</DIV> |
</DIV> |
688 |
<BR> |
<BR> |
|
|
|
689 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
690 |
<A NAME='_prepare_flags'><!-- --></A> |
<A NAME='method_prepare_flags'><!-- --></A> |
691 |
<SPAN CLASS="font12bold">_prepare_flags</SPAN> |
<SPAN CLASS="font12bold">_prepare_flags</SPAN> (line <span class="linenumber">254</span>) |
692 |
<BR> |
<BR> |
693 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
694 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
695 |
<span class="font10bold" style="color: #0000FF">_prepare_flags ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">_prepare_flags( |
696 |
|
)</SPAN> |
697 |
<BR> |
<BR> |
698 |
Overridden in child class(es) as: <a href="../phpHtmlLib/SVGTagClass.html#_prepare_flags">SVGTagClass::_prepare_flags()</a><br> |
<p>Overridden in child classes as:<br /> |
699 |
|
<dl> |
700 |
|
<dt><a href="../phpHtmlLib/SVGTagClass.html#method_prepare_flags">SVGTagClass::_prepare_flags()</a></dt> |
701 |
|
<dd>we override this method to automatically check to see if the tag has content.</dd> |
702 |
|
</dl> |
703 |
|
</p> |
704 |
|
|
705 |
<BR> |
<BR> |
706 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
707 |
This function checks to see if |
This function checks to see if |
708 |
<BR> |
<br /> |
709 |
there is only 1 content data, and |
<p>there is only 1 content data, and its not an object, then it auto sets some of the indentation flags</p> |
|
its not an object, then it auto |
|
|
sets some of the indentation flags |
|
710 |
<DL> |
<DL> |
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
711 |
|
|
712 |
|
<DT class="font10bold">Function Info:</DT> |
713 |
|
</DL> |
714 |
</DIV> |
</DIV> |
715 |
<BR> |
<BR> |
|
|
|
716 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
717 |
<A NAME='_render_close_tag'><!-- --></A> |
<A NAME='method_render_close_tag'><!-- --></A> |
718 |
<SPAN CLASS="font12bold">_render_close_tag</SPAN> |
<SPAN CLASS="font12bold">_render_close_tag</SPAN> (line <span class="linenumber">378</span>) |
719 |
<BR> |
<BR> |
720 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
721 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
722 |
<span class="font10bold" style="color: #0000FF">_render_close_tag ( $indent_level )</SPAN> |
<span class="font10bold" style="color: #0000FF">_render_close_tag( |
723 |
|
int |
724 |
|
$indent_level)</SPAN> |
725 |
<BR> |
<BR> |
726 |
|
<p>Overridden in child classes as:<br /> |
727 |
|
<dl> |
728 |
|
<dt></dt> |
729 |
|
<dd>Renders the close tag (if needed)</dd> |
730 |
|
</dl> |
731 |
|
</p> |
732 |
|
|
733 |
<BR> |
<BR> |
734 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
735 |
<!-- ========== Info from phpDoc block ========= --> |
this function is reposnsible for rendering the closing tag (if any) |
736 |
this function is reposnsible for |
<br /> |
|
rendering the closing tag (if any) |
|
|
<BR> |
|
737 |
|
|
738 |
<DL> |
<DL> |
739 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
740 |
|
<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 indent level</DD> |
741 |
<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 indent level</DD> |
|
742 |
|
<DT class="font10bold">Function Info:</DT> |
743 |
|
</DL> |
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
744 |
</DIV> |
</DIV> |
745 |
<BR> |
<BR> |
|
|
|
746 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
747 |
<A NAME='_render_content'><!-- --></A> |
<A NAME='method_render_content'><!-- --></A> |
748 |
<SPAN CLASS="font12bold">_render_content</SPAN> |
<SPAN CLASS="font12bold">_render_content</SPAN> (line <span class="linenumber">321</span>) |
749 |
<BR> |
<BR> |
750 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
751 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
752 |
<span class="font10bold" style="color: #0000FF">_render_content ( $indent_level, [$output_debug = 0] )</SPAN> |
<span class="font10bold" style="color: #0000FF">_render_content( |
753 |
|
int |
754 |
|
$indent_level, mixed |
755 |
|
$output_debug)</SPAN> |
756 |
<BR> |
<BR> |
757 |
|
<p>Overridden in child classes as:<br /> |
758 |
|
<dl> |
759 |
|
<dt></dt> |
760 |
|
<dd>Renders all of the content.</dd> |
761 |
|
</dl> |
762 |
|
</p> |
763 |
|
|
764 |
<BR> |
<BR> |
765 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
766 |
<!-- ========== Info from phpDoc block ========= --> |
this function is reponsible for rendering the pcdata, or content of the tag (if any) |
767 |
this function is reponsible for |
<br /> |
|
<BR> |
|
|
rendering the pcdata, or content |
|
|
of the tag (if any) |
|
|
<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 indent level</DD> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
768 |
|
|
769 |
|
<DL> |
770 |
|
<DT class="font10bold">Function Parameters:</DT> |
771 |
|
<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 indent level</DD> |
772 |
|
|
773 |
|
<DT class="font10bold">Function Info:</DT> |
774 |
|
</DL> |
775 |
</DIV> |
</DIV> |
776 |
<BR> |
<BR> |
|
|
|
777 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
778 |
<A NAME='_render_open_tag'><!-- --></A> |
<A NAME='method_render_open_tag'><!-- --></A> |
779 |
<SPAN CLASS="font12bold">_render_open_tag</SPAN> |
<SPAN CLASS="font12bold">_render_open_tag</SPAN> (line <span class="linenumber">282</span>) |
780 |
<BR> |
<BR> |
781 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
782 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
783 |
<span class="font10bold" style="color: #0000FF">_render_open_tag ( $indent_level, [$finish_slash = TRUE] )</SPAN> |
<span class="font10bold" style="color: #0000FF">_render_open_tag( |
784 |
|
int |
785 |
|
$indent_level, [boolean |
786 |
|
$finish_slash = TRUE])</SPAN> |
787 |
<BR> |
<BR> |
788 |
|
|
789 |
<BR> |
<BR> |
790 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
791 |
<!-- ========== Info from phpDoc block ========= --> |
this function is responsible for rendering the open tag. |
792 |
this function is responsible for |
<br /> |
|
rendering the open tag. |
|
|
<BR> |
|
793 |
|
|
794 |
<DL> |
<DL> |
795 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
796 |
|
<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 indent level</DD> |
797 |
<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 indent level</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$finish_slash</SPAN></SPAN> - do we add the finish / if we have no close tag and no content?</DD> |
798 |
|
|
799 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$finish_slash</SPAN></SPAN> - do we add the finish / if we have no |
<DT class="font10bold">Function Info:</DT> |
800 |
close tag and no content?</DD> |
</DL> |
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
801 |
</DIV> |
</DIV> |
802 |
<BR> |
<BR> |
803 |
|
<DIV CLASS="function"> |
804 |
|
<A NAME='method_set_flags'><!-- --></A> |
805 |
|
<SPAN CLASS="font12bold">_set_flags</SPAN> (line <span class="linenumber">116</span>) |
806 |
|
<BR> |
807 |
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
808 |
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
809 |
|
<span class="font10bold" style="color: #0000FF">_set_flags( |
810 |
|
)</SPAN> |
811 |
|
<BR> |
812 |
|
<p>Overridden in child classes as:<br /> |
813 |
|
<dl> |
814 |
|
<dt><a href="../phpHtmlLib/DOCTYPEtag.html#method_set_flags">DOCTYPEtag::_set_flags()</a></dt> |
815 |
|
<dd></dd> |
816 |
|
</dl> |
817 |
|
<dl> |
818 |
|
<dt><a href="../phpHtmlLib/XMLtag.html#method_set_flags">XMLtag::_set_flags()</a></dt> |
819 |
|
<dd></dd> |
820 |
|
</dl> |
821 |
|
</p> |
822 |
|
|
823 |
|
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a> This method is used to set the bitmask flags for this tag. It tells the class how to render the tag. |
824 |
|
<BR> |
825 |
|
<SPAN CLASS="font10bold">Description : </SPAN> |
826 |
|
This method is used to set the bitmask flags for this tag. It tells the class how to render the tag. |
827 |
|
<br /> |
828 |
|
<p>NOTE: the child class can override this to set the options</p> |
829 |
|
<DL> |
830 |
|
|
831 |
<hr> |
<DT class="font10bold">Function Info:</DT> |
832 |
</HTML> |
</DL> |
833 |
|
</DIV> |
834 |
|
<BR> |
835 |
|
<div id="credit"> |
836 |
|
<hr> |
837 |
|
Documention generated on Thu, 20 Feb 2003 16:24:02 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
838 |
|
</div> |
839 |
|
</body> |
840 |
|
</html> |