1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!--NewPage--> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<HTML> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<HEAD> |
<head> |
5 |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:24:00 -0800' --> |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<TITLE>Docs For Class WMLTagClass</TITLE> |
<title>Docs For Class WMLTagClass</title> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'> |
<link rel="stylesheet" href="../media/stylesheet.css" /> |
8 |
</HEAD> |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
</head> |
10 |
<!-- Links --> |
<body> |
11 |
<a NAME="top"></A> |
<div class="page-body"> |
12 |
<table WIDTH="100%" class="links"> |
<h2 class="class-name">Class WMLTagClass</h2> |
13 |
<TR> |
|
14 |
<TD class="font10"> |
<a name="sec-description"></a> |
15 |
Links: |
<div class="info-box"> |
16 |
<A HREF="#children_summary" class="links" title="Classes extended from WMLTagClass">Child Classes</A> |
<div class="info-box-title">Description</div> |
17 |
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
<div class="nav-bar"> |
18 |
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> |
<span class="disabled">Description</span> | |
19 |
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A> |
<a href="#sec-descendents">Descendents</a> |
20 |
<A HREF="#method_summary" class="links" title="Method Summary">Methods</A> |
| <a href="#sec-vars">Vars</a> |
21 |
<A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
22 |
<A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A> |
|
23 |
</TD> |
</div> |
24 |
</TR> |
<div class="info-box-body"> |
25 |
</TABLE> |
<!-- ========== Info from phpDoc block ========= --> |
26 |
<BR> |
<p class="short-description">Base class for all WML Tag classes.</p> |
27 |
<!-- Start of Class Data --> |
<p class="description"><p>WML tags are just XML tags. Since we have a defined set of WML tags, we have no need for the XMLTagClass' constructor param for name. This class also provides nice methods for setting the class attribute and the id attribute.</p></p> |
28 |
<H2> |
<ul class="tags"> |
29 |
Class WMLTagClass |
<li><span class="field">link:</span> <a href="http://www.wapforum.org/what/technical.htm">http://www.wapforum.org/what/technical.htm</a></li> |
30 |
</H2> (line <span class="linenumber">32</span>) |
<li><span class="field">link:</span> <a href="http://phphtmllib.newsblob.com">http://phphtmllib.newsblob.com</a></li> |
31 |
<pre> |
<li><span class="field">author:</span> <p>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></p></li> |
32 |
<a href="../phpHtmlLib/Container.html">Container</a> |
</ul> |
33 |
|
<p class="notes"> |
34 |
|
Located in <a class="field" href="_tag_classes_WMLTAGS_inc.html">Program_Root/tag_classes/WMLTAGS.inc</a> (line <span class="field">32</span>) |
35 |
|
</p> |
36 |
|
|
37 |
|
|
38 |
|
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
39 |
| |
| |
40 |
--<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a> |
--<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a> |
41 |
| |
| |
42 |
--WMLTagClass</pre> |
--WMLTagClass</pre> |
43 |
<SPAN class="type">Classes extended from WMLTagClass:</SPAN> |
|
44 |
<dl> |
</div> |
45 |
<dt><a href="../phpHtmlLib/ACCESStag.html">ACCESStag</a></dt> |
</div> |
|
<dd><ACCESS> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/ANCHORtag.html">ANCHORtag</a></dt> |
|
|
<dd><ANCHOR> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/CARDtag.html">CARDtag</a></dt> |
|
|
<dd><CARD> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/DOtag.html">DOtag</a></dt> |
|
|
<dd><DO> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/GOtag.html">GOtag</a></dt> |
|
|
<dd><GO> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/NOOPtag.html">NOOPtag</a></dt> |
|
|
<dd><NOOP> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/ONEVENTtag.html">ONEVENTtag</a></dt> |
|
|
<dd><ONEVENT> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/POSTFIELDtag.html">POSTFIELDtag</a></dt> |
|
|
<dd><POSTFIELD> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/REFRESHtag.html">REFRESHtag</a></dt> |
|
|
<dd><REFRESH> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/SETVARtag.html">SETVARtag</a></dt> |
|
|
<dd><SETVAR> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/TEMPLATEtag.html">TEMPLATEtag</a></dt> |
|
|
<dd><TEMPLATE> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/TIMERtag.html">TIMERtag</a></dt> |
|
|
<dd><TIMER> tag class</dd> |
|
|
</dl> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/WMLtag.html">WMLtag</a></dt> |
|
|
<dd><WML> tag class</dd> |
|
|
</dl> |
|
|
</p> |
|
|
<p> |
|
|
<b><i>Located in File: Program_Root/tag_classes/WMLTAGS.inc</i></b><br> |
|
|
</p> |
|
|
<hr> |
|
|
Base class for all WML Tag classes. |
|
|
<br /> |
|
|
<p>WML tags are just XML tags. Since we have a defined set of WML tags, we have no need for the XMLTagClass' constructor param for name. This class also provides nice methods for setting the class attribute and the id attribute.</p> |
|
|
<UL> |
|
|
<LI><b>link</b> - <CODE><a href="http://www.wapforum.org/what/technical.htm">http://www.wapforum.org/what/technical.htm</a></CODE></LI> |
|
|
<LI><b>link</b> - <CODE><a href="http://phphtmllib.newsblob.com">http://phphtmllib.newsblob.com</a></CODE></LI> |
|
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
|
|
</UL> |
|
|
<hr> |
|
|
<!-- =========== VAR SUMMARY =========== --> |
|
|
<A NAME='var_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Class Variable Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
</TABLE> |
|
|
<hr> |
|
|
<!-- =========== VAR INHERITED SUMMARY =========== --> |
|
|
<A NAME='var_inherited_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
|
|
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Variable</th> |
|
|
<th>Default Value</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td> |
|
|
<td CLASS="font10">The flags that tell us</td> |
|
|
</tr> |
|
|
</table> |
|
|
<BR> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
|
|
|
<hr> |
|
|
<!-- =========== METHOD SUMMARY =========== --> |
|
|
<A NAME='method_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span class="font12bold">Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/WMLTagClass.html#methodWMLTagClass'>void constructor WMLTagClass ( [$attributes = array()] )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/WMLTagClass.html#methodset_class'>void set_class ( $value )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> This function is a shorthand helper to setting the class attribute on a tag. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/WMLTagClass.html#methodset_id'>void set_id ( $value )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> This function is a shorthand helper to setting the id attribute on a tag. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
|
|
<A NAME='functions_inherited'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Inherited Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
46 |
|
|
47 |
<!-- =========== Summary =========== --> |
<a name="sec-descendents"></a> |
48 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<div class="info-box"> |
49 |
<TD> |
<div class="info-box-title">Direct descendents</div> |
50 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span> |
<div class="nav-bar"> |
51 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
<a href="#sec-description">Description</a> | |
52 |
<tr CLASS="tableheadingcolor"> |
<span class="disabled">Descendents</span> |
53 |
<th>Function</th> |
| <a href="#sec-vars">Vars</a> |
54 |
<th>Description</th> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
55 |
|
|
56 |
|
</div> |
57 |
|
<div class="info-box-body"> |
58 |
|
<table cellpadding="2" cellspacing="0" class="class-table"> |
59 |
|
<tr> |
60 |
|
<th class="class-table-header">Class</th> |
61 |
|
<th class="class-table-header">Description</th> |
62 |
</tr> |
</tr> |
63 |
<tr> |
<tr> |
64 |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/ACCESStag.html">ACCESStag</a></td> |
65 |
<td CLASS="font10">The constructor</td> |
<td> |
66 |
<tr> |
<ACCESS> tag class |
67 |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td> |
</td> |
|
<td CLASS="font10">This returns the tag declared for this class.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td> |
|
|
<td CLASS="font10">This method gets the name of the tag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td> |
|
|
<td CLASS="font10">This function is responsible for rendering the tag and its contents</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td> |
|
|
<td CLASS="font10">clear all attributes and start with new attributes</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td> |
|
|
<td CLASS="font10">This function turns on the collapse flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td> |
|
|
<td CLASS="font10">set the newline_after_content flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td> |
|
|
<td CLASS="font10">set the newline_after_opentag flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td> |
|
|
<td CLASS="font10">add a single attribute (name="value")</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td> |
|
|
<td CLASS="font10">add multiple attributes (name="value")</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td> |
|
|
<td CLASS="font10">This method sets the name of the tag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td> |
|
|
<td CLASS="font10">this builds an attribute for an XML tag.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td> |
|
|
<td CLASS="font10">get the nth element from content array</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td> |
|
|
<td CLASS="font10">This function checks to see if</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td> |
|
|
<td CLASS="font10">this function is reposnsible for rendering the closing tag (if any)</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></td> |
|
|
<td CLASS="font10">this function is reponsible for rendering the pcdata, or content of the tag (if any)</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></td> |
|
|
<td CLASS="font10">this function is responsible for rendering the open tag.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td> |
|
|
<td CLASS="font10">This method is used to set the bitmask flags for this tag. It tells the class how to render the tag.</td> |
|
|
</table> |
|
|
<br> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== 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> |
|
68 |
</tr> |
</tr> |
69 |
<tr> |
<tr> |
70 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/ANCHORtag.html">ANCHORtag</a></td> |
71 |
<td CLASS="font10">The constructor.</td> |
<td> |
72 |
|
<ANCHOR> tag class |
73 |
|
</td> |
74 |
|
</tr> |
75 |
<tr> |
<tr> |
76 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/CARDtag.html">CARDtag</a></td> |
77 |
<td CLASS="font10">add content onto content stack</td> |
<td> |
78 |
|
<CARD> tag class |
79 |
|
</td> |
80 |
|
</tr> |
81 |
<tr> |
<tr> |
82 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/DOtag.html">DOtag</a></td> |
83 |
<td CLASS="font10">Add content onto content stack so you can change the item later.</td> |
<td> |
84 |
|
<DO> tag class |
85 |
|
</td> |
86 |
|
</tr> |
87 |
<tr> |
<tr> |
88 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/GOtag.html">GOtag</a></td> |
89 |
<td CLASS="font10">counts the number of content objects</td> |
<td> |
90 |
|
<GO> tag class |
91 |
|
</td> |
92 |
|
</tr> |
93 |
<tr> |
<tr> |
94 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/NOOPtag.html">NOOPtag</a></td> |
95 |
<td CLASS="font10">This flag gets the current value of the indent flag</td> |
<td> |
96 |
|
<NOOP> tag class |
97 |
|
</td> |
98 |
|
</tr> |
99 |
<tr> |
<tr> |
100 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/ONEVENTtag.html">ONEVENTtag</a></td> |
101 |
<td CLASS="font10">Same as add().</td> |
<td> |
102 |
|
<ONEVENT> tag class |
103 |
|
</td> |
104 |
|
</tr> |
105 |
<tr> |
<tr> |
106 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/POSTFIELDtag.html">POSTFIELDtag</a></td> |
107 |
<td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td> |
<td> |
108 |
|
<POSTFIELD> tag class |
109 |
|
</td> |
110 |
|
</tr> |
111 |
<tr> |
<tr> |
112 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/REFRESHtag.html">REFRESHtag</a></td> |
113 |
<td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td> |
<td> |
114 |
|
<REFRESH> tag class |
115 |
|
</td> |
116 |
|
</tr> |
117 |
<tr> |
<tr> |
118 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/SETVARtag.html">SETVARtag</a></td> |
119 |
<td CLASS="font10">destroy existing content and start with new content.</td> |
<td> |
120 |
|
<SETVAR> tag class |
121 |
|
</td> |
122 |
|
</tr> |
123 |
<tr> |
<tr> |
124 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/TEMPLATEtag.html">TEMPLATEtag</a></td> |
125 |
<td CLASS="font10">This function turns on the collapse flag</td> |
<td> |
126 |
|
<TEMPLATE> tag class |
127 |
|
</td> |
128 |
|
</tr> |
129 |
<tr> |
<tr> |
130 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/TIMERtag.html">TIMERtag</a></td> |
131 |
<td CLASS="font10">function to set the indent flag</td> |
<td> |
132 |
|
<TIMER> tag class |
133 |
|
</td> |
134 |
|
</tr> |
135 |
<tr> |
<tr> |
136 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/WMLtag.html">WMLtag</a></td> |
137 |
<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> |
<td> |
138 |
|
<WML> tag class |
139 |
|
</td> |
140 |
|
</tr> |
141 |
</table> |
</table> |
142 |
<br> |
</div> |
143 |
</TD> |
</div> |
|
</TR> |
|
|
</TABLE> |
|
|
<hr> |
|
|
<!-- ============ VARIABLE DETAIL =========== --> |
|
|
|
|
|
<A NAME='variable_detail'></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Variable Detail</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
|
|
|
<hr> |
|
|
<!-- ============ METHOD DETAIL =========== --> |
|
|
|
|
|
<A NAME='method_detail'></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span class="font12bold">Method Detail</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodWMLTagClass'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">Constructor WMLTagClass</SPAN> (line <span class="linenumber">34</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">WMLTagClass( |
|
|
[mixed |
|
|
$attributes = array()])</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
|
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodset_class'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">set_class</SPAN> (line <span class="linenumber">50</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">set_class( |
|
|
string |
|
|
$value)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This function is a shorthand helper to setting the class attribute on a tag. |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$value</SPAN></SPAN> - the class value.</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodset_id'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">set_id</SPAN> (line <span class="linenumber">61</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">set_id( |
|
|
string |
|
|
$value)</SPAN> |
|
|
<BR> |
|
144 |
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This function is a shorthand helper to setting the id attribute on a tag. |
|
|
<br /> |
|
145 |
|
|
146 |
<DL> |
<a name="sec-method-summary"></a> |
147 |
<DT class="font10bold">Function Parameters:</DT> |
<div class="info-box"> |
148 |
<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">$value</SPAN></SPAN> - the class value.</DD> |
<div class="info-box-title">Method Summary</span></div> |
149 |
|
<div class="nav-bar"> |
150 |
<DT class="font10bold">Function Info:</DT> |
<a href="#sec-description">Description</a> | |
151 |
</DL> |
<a href="#sec-descendents">Descendents</a> | |
152 |
</DIV> |
<a href="#sec-vars">Vars</a> |
153 |
<BR> |
|
154 |
<div id="credit"> |
| |
155 |
<hr> |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
156 |
Documention generated on Thu, 20 Feb 2003 16:24:00 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
</div> |
157 |
|
<div class="info-box-body"> |
158 |
|
<div class="method-summary"> |
159 |
|
|
160 |
|
<div class="method-definition"> |
161 |
|
<span class="method-result">void</span> |
162 |
|
<a href="#WMLTagClass" title="details" class="method-name">WMLTagClass</a> |
163 |
|
([<span class="var-type">mixed</span> <span class="var-name">$attributes</span> = <span class="var-default">array()</span>]) |
164 |
|
</div> |
165 |
|
|
166 |
|
<div class="method-definition"> |
167 |
|
<span class="method-result">void</span> |
168 |
|
<a href="#set_class" title="details" class="method-name">set_class</a> |
169 |
|
(<span class="var-type">string</span> <span class="var-name">$value</span>) |
170 |
|
</div> |
171 |
|
|
172 |
|
<div class="method-definition"> |
173 |
|
<span class="method-result">void</span> |
174 |
|
<a href="#set_id" title="details" class="method-name">set_id</a> |
175 |
|
(<span class="var-type">string</span> <span class="var-name">$value</span>) |
176 |
|
</div> |
177 |
|
</div> |
178 |
|
</div> |
179 |
|
</div> |
180 |
|
|
181 |
|
<a name="sec-vars"></a> |
182 |
|
<div class="info-box"> |
183 |
|
<div class="info-box-title">Variables</div> |
184 |
|
<div class="nav-bar"> |
185 |
|
<a href="#sec-description">Description</a> | |
186 |
|
<a href="#sec-descendents">Descendents</a> | |
187 |
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
188 |
|
|
189 |
|
|
190 |
|
| |
191 |
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
192 |
|
|
193 |
|
</div> |
194 |
|
<div class="info-box-body"> |
195 |
|
<h4>Inherited Variables</h4> |
196 |
|
<A NAME='inherited_vars'><!-- --></A> |
197 |
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
198 |
|
<blockquote> |
199 |
|
<span class="var-title"> |
200 |
|
<span class="var-name"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></span><br> |
201 |
|
</span> |
202 |
|
</blockquote> |
203 |
|
|
204 |
|
</div> |
205 |
</div> |
</div> |
206 |
</body> |
|
207 |
|
<a name="sec-methods"></a> |
208 |
|
<div class="info-box"> |
209 |
|
<div class="info-box-title">Methods</div> |
210 |
|
<div class="nav-bar"> |
211 |
|
<a href="#sec-description">Description</a> | |
212 |
|
<a href="#sec-descendents">Descendents</a> | |
213 |
|
<a href="#sec-vars">Vars</a> |
214 |
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
215 |
|
|
216 |
|
</div> |
217 |
|
<div class="info-box-body"> |
218 |
|
<A NAME='method_detail'></A> |
219 |
|
<a name="methodWMLTagClass" id="WMLTagClass"><!-- --></a> |
220 |
|
<div class="evenrow"> |
221 |
|
|
222 |
|
<div class="method-header"> |
223 |
|
<span class="method-title">Constructor WMLTagClass</span> (line <span class="line-number">34</span>) |
224 |
|
</div> |
225 |
|
|
226 |
|
<!-- ========== Info from phpDoc block ========= --> |
227 |
|
|
228 |
|
<div class="method-signature"> |
229 |
|
<span class="method-result">void</span> |
230 |
|
<span class="method-name"> |
231 |
|
WMLTagClass |
232 |
|
</span> |
233 |
|
([<span class="var-type">mixed</span> <span class="var-name">$attributes</span> = <span class="var-default">array()</span>]) |
234 |
|
</div> |
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
</div> |
239 |
|
<a name="methodset_class" id="set_class"><!-- --></a> |
240 |
|
<div class="oddrow"> |
241 |
|
|
242 |
|
<div class="method-header"> |
243 |
|
<span class="method-title">set_class</span> (line <span class="line-number">50</span>) |
244 |
|
</div> |
245 |
|
|
246 |
|
<!-- ========== Info from phpDoc block ========= --> |
247 |
|
<p class="short-description">This function is a shorthand helper to setting the class attribute on a tag.</p> |
248 |
|
|
249 |
|
<div class="method-signature"> |
250 |
|
<span class="method-result">void</span> |
251 |
|
<span class="method-name"> |
252 |
|
set_class |
253 |
|
</span> |
254 |
|
(<span class="var-type">string</span> <span class="var-name">$value</span>) |
255 |
|
</div> |
256 |
|
|
257 |
|
<ul class="parameters"> |
258 |
|
<li> |
259 |
|
<span class="var-type">string</span> |
260 |
|
<span class="var-name">$value</span><span class="var-description">: <p>- the class value.</p></span> </li> |
261 |
|
</ul> |
262 |
|
|
263 |
|
|
264 |
|
</div> |
265 |
|
<a name="methodset_id" id="set_id"><!-- --></a> |
266 |
|
<div class="evenrow"> |
267 |
|
|
268 |
|
<div class="method-header"> |
269 |
|
<span class="method-title">set_id</span> (line <span class="line-number">61</span>) |
270 |
|
</div> |
271 |
|
|
272 |
|
<!-- ========== Info from phpDoc block ========= --> |
273 |
|
<p class="short-description">This function is a shorthand helper to setting the id attribute on a tag.</p> |
274 |
|
|
275 |
|
<div class="method-signature"> |
276 |
|
<span class="method-result">void</span> |
277 |
|
<span class="method-name"> |
278 |
|
set_id |
279 |
|
</span> |
280 |
|
(<span class="var-type">string</span> <span class="var-name">$value</span>) |
281 |
|
</div> |
282 |
|
|
283 |
|
<ul class="parameters"> |
284 |
|
<li> |
285 |
|
<span class="var-type">string</span> |
286 |
|
<span class="var-name">$value</span><span class="var-description">: <p>- the class value.</p></span> </li> |
287 |
|
</ul> |
288 |
|
|
289 |
|
|
290 |
|
</div> |
291 |
|
<h4>Inherited Methods</h4> |
292 |
|
<a name='inherited_methods'><!-- --></a> |
293 |
|
<!-- =========== Summary =========== --> |
294 |
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span></p> |
295 |
|
<blockquote> |
296 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></span><br> |
297 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></span><br> |
298 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></span><br> |
299 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></span><br> |
300 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></span><br> |
301 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_cdata_flag">XMLTagClass::set_cdata_flag()</a></span><br> |
302 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></span><br> |
303 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></span><br> |
304 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></span><br> |
305 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></span><br> |
306 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></span><br> |
307 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></span><br> |
308 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></span><br> |
309 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></span><br> |
310 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></span><br> |
311 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></span><br> |
312 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></span><br> |
313 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></span><br> |
314 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></span><br> |
315 |
|
</blockquote> |
316 |
|
<!-- =========== Summary =========== --> |
317 |
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
318 |
|
<blockquote> |
319 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
320 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
321 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
322 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
323 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
324 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
325 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br> |
326 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br> |
327 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
328 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br> |
329 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br> |
330 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></span><br> |
331 |
|
</blockquote> |
332 |
|
|
333 |
|
</div> |
334 |
|
</div> |
335 |
|
|
336 |
|
<p class="notes" id="credit"> |
337 |
|
Documention generated on Thu, 31 Jul 2003 18:34:04 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a> |
338 |
|
</p> |
339 |
|
</div></body> |
340 |
</html> |
</html> |