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:22:25 -0800' --> |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<TITLE>Docs For Class TABLEtag</TITLE> |
<title>Docs For Class TABLEtag</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 TABLEtag</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 TABLEtag">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-var-summary">Vars</a> (<a href="#sec-vars">details</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"><TABLE> tag class</p> |
27 |
<!-- Start of Class Data --> |
<p class="description"><p>The <table> tag defines the start of a table. Inside a table row you can put table headers, table rows, and table cells.</p></p> |
28 |
<H2> |
<ul class="tags"> |
29 |
Class TABLEtag |
<li><span class="field">author:</span> <p>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></p></li> |
30 |
</H2> (line <span class="linenumber">1198</span>) |
</ul> |
31 |
<pre> |
<p class="notes"> |
32 |
<a href="../phpHtmlLib/Container.html">Container</a> |
Located in <a class="field" href="_tag_classes_ALLTAGS_inc.html">Program_Root/tag_classes/ALLTAGS.inc</a> (line <span class="field">1217</span>) |
33 |
|
</p> |
34 |
|
|
35 |
|
|
36 |
|
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
37 |
| |
| |
38 |
--<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a> |
--<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a> |
39 |
| |
| |
40 |
--<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a> |
--<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a> |
41 |
| |
| |
42 |
--TABLEtag</pre> |
--TABLEtag</pre> |
43 |
<SPAN class="type">Classes extended from TABLEtag:</SPAN> |
|
44 |
<dl> |
</div> |
45 |
<dt><a href="../phpHtmlLib/TBODYtag.html">TBODYtag</a></dt> |
</div> |
46 |
<dd><TBODY> class.</dd> |
|
47 |
</dl> |
<a name="sec-descendents"></a> |
48 |
<dl> |
<div class="info-box"> |
49 |
<dt><a href="../phpHtmlLib/TFOOTtag.html">TFOOTtag</a></dt> |
<div class="info-box-title">Direct descendents</div> |
50 |
<dd><TFOOT> tag class</dd> |
<div class="nav-bar"> |
51 |
</dl> |
<a href="#sec-description">Description</a> | |
52 |
<dl> |
<span class="disabled">Descendents</span> |
53 |
<dt><a href="../phpHtmlLib/THEADtag.html">THEADtag</a></dt> |
| <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
54 |
<dd>Table Header <THEAD> class.</dd> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
55 |
</dl> |
|
56 |
</p> |
</div> |
57 |
<p> |
<div class="info-box-body"> |
58 |
<b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br> |
<table cellpadding="2" cellspacing="0" class="class-table"> |
59 |
</p> |
<tr> |
60 |
<hr> |
<th class="class-table-header">Class</th> |
61 |
<TABLE> tag class |
<th class="class-table-header">Description</th> |
|
<br /> |
|
|
<p>The <table> tag defines the start of a table. Inside a table row you can put table headers, table rows, and table cells.</p> |
|
|
<UL> |
|
|
<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> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF="../phpHtmlLib/TABLEtag.html#var$_default_col_attributes">$_default_col_attributes</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Holds the default attributes for all <td>'s </blockquote> |
|
|
<blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF="../phpHtmlLib/TABLEtag.html#var$_default_row_attributes">$_default_row_attributes</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Holds the default attributes for all <tr>'s </blockquote> |
|
|
<blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF="../phpHtmlLib/TABLEtag.html#var$_tag">$_tag</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> </blockquote> |
|
|
<blockquote> Default Value: <CODE>-> "table"<-</CODE> </blockquote> |
|
|
</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/TABLEtag.html#methodadd_row'>string add_row ( )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> push 1 row (tr) of content. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodpush_row'>void push_row ( )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Same ass add_row() </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_cell_attributes'>void set_cell_attributes ( $row, $col, [$attributes = array()] )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> update the attributes of a particular element or td. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_cell_content'>void set_cell_content ( $row, $col, $content )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_default_col_attributes'>void set_default_col_attributes ( $attributes )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Sets the default attributes for <td>'s that are added to the table. If there are any attributes set for the <td> it won't use the defaults. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_default_row_attributes'>void set_default_row_attributes ( $attributes )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Sets the default attributes for <tr>'s that are added to the table. If there are any attributes set for the <tr> it won't use the defaults. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_row_attributes'>void set_row_attributes ( $row, $attributes )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> update the attributes of a particular row or tr. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
|
|
<A NAME='functions_inherited'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Inherited Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Function</th> |
|
|
<th>Description</th> |
|
62 |
</tr> |
</tr> |
63 |
<tr> |
<tr> |
64 |
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodHTMLTagClass">HTMLTagClass::HTMLTagClass()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/TBODYtag.html">TBODYtag</a></td> |
65 |
<td CLASS="font10">Class Constructor</td> |
<td> |
66 |
<tr> |
<TBODY> class. |
67 |
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodrender">HTMLTagClass::render()</a></td> |
</td> |
|
<td CLASS="font10">Renders the tag, attributes, content and close tag.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_class">HTMLTagClass::set_class()</a></td> |
|
|
<td CLASS="font10">This function is a shorthand helper to setting the class attribute on a tag.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_id">HTMLTagClass::set_id()</a></td> |
|
|
<td CLASS="font10">This function is a shorthand helper to setting the id attribute on a tag.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_style">HTMLTagClass::set_style()</a></td> |
|
|
<td CLASS="font10">This function is a shorthand helper to setting the style attribute on a tag.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_build_attribute_string">HTMLTagClass::_build_attribute_string()</a></td> |
|
|
<td CLASS="font10">this builds an attribute for a tag.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_render_tag_debug">HTMLTagClass::_render_tag_debug()</a></td> |
|
|
<td CLASS="font10">This renders that open tag in debug mode.</td> |
|
|
</table> |
|
|
<br> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</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/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/TFOOTtag.html">TFOOTtag</a></td> |
71 |
<td CLASS="font10">The constructor</td> |
<td> |
72 |
<tr> |
<TFOOT> tag class |
73 |
<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> |
|
74 |
</tr> |
</tr> |
75 |
<tr> |
<tr> |
76 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td> |
<td style="padding-right: 2em"><a href="../phpHtmlLib/THEADtag.html">THEADtag</a></td> |
77 |
<td CLASS="font10">The constructor.</td> |
<td> |
78 |
<tr> |
Table Header <THEAD> class. |
79 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td> |
</td> |
80 |
<td CLASS="font10">add content onto content stack</td> |
</tr> |
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td> |
|
|
<td CLASS="font10">Add content onto content stack so you can change the item later.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td> |
|
|
<td CLASS="font10">counts the number of content objects</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td> |
|
|
<td CLASS="font10">This flag gets the current value of the indent flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td> |
|
|
<td CLASS="font10">Same as add().</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td> |
|
|
<td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td> |
|
|
<td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td> |
|
|
<td CLASS="font10">destroy existing content and start with new content.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td> |
|
|
<td CLASS="font10">This function turns on the collapse flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td> |
|
|
<td CLASS="font10">function to set the indent flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td> |
|
|
<td CLASS="font10">This method is used to set the bitmask flags for this tag. It tells the class how to render the tag.</td> |
|
81 |
</table> |
</table> |
82 |
<br> |
</div> |
83 |
</TD> |
</div> |
84 |
</TR> |
|
85 |
</TABLE> |
<a name="sec-var-summary"></a> |
86 |
<hr> |
<div class="info-box"> |
87 |
<!-- ============ VARIABLE DETAIL =========== --> |
<div class="info-box-title">Variable Summary</span></div> |
88 |
|
<div class="nav-bar"> |
89 |
<A NAME='variable_detail'></A> |
<a href="#sec-description">Description</a> | |
90 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<a href="#sec-descendents">Descendents</a> | |
91 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) |
92 |
<TD> |
| |
93 |
<span CLASS="font12bold">Variable Detail</span> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
94 |
<A HREF="#top" CLASS="links">^TOP</A> |
|
95 |
</TD> |
</div> |
96 |
</TR> |
<div class="info-box-body"> |
97 |
</TABLE> |
<div class="var-summary"> |
98 |
|
<div class="var-title"> |
99 |
<A NAME='var$_default_col_attributes'><!-- --></A><H3>$_default_col_attributes</H3> (line <span class="linenumber">1214</span>)<br /> |
<span class="var-type">array</span> |
100 |
<b>Data type:</b> array<br>Holds the default attributes for all <td>'s |
<a href="#$_default_col_attributes" title="details" class="var-name">$_default_col_attributes</a> |
101 |
<br /> |
</div> |
102 |
|
<div class="var-title"> |
103 |
<UL> |
<span class="var-type">array</span> |
104 |
<LI><b>private</b> - <CODE></CODE></LI> |
<a href="#$_default_row_attributes" title="details" class="var-name">$_default_row_attributes</a> |
105 |
</UL> |
</div> |
106 |
<HR> |
<div class="var-title"> |
107 |
<A NAME='var$_default_row_attributes'><!-- --></A><H3>$_default_row_attributes</H3> (line <span class="linenumber">1207</span>)<br /> |
<span class="var-type">mixed</span> |
108 |
<b>Data type:</b> array<br>Holds the default attributes for all <tr>'s |
<a href="#$_tag" title="details" class="var-name">$_tag</a> |
109 |
<br /> |
</div> |
110 |
|
</div> |
111 |
<UL> |
</div> |
112 |
<LI><b>private</b> - <CODE></CODE></LI> |
</div> |
113 |
</UL> |
|
114 |
<HR> |
<a name="sec-method-summary"></a> |
115 |
<A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">1199</span>)<br /> |
<div class="info-box"> |
116 |
<b>Data type:</b> mixed<br> |
<div class="info-box-title">Method Summary</span></div> |
117 |
<br /> |
<div class="nav-bar"> |
118 |
|
<a href="#sec-description">Description</a> | |
119 |
<UL> |
<a href="#sec-descendents">Descendents</a> | |
120 |
</UL> |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
121 |
<HR> |
|
122 |
<hr> |
| |
123 |
<!-- ============ METHOD DETAIL =========== --> |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
124 |
|
</div> |
125 |
<A NAME='method_detail'></A> |
<div class="info-box-body"> |
126 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<div class="method-summary"> |
127 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
128 |
<TD> |
<div class="method-definition"> |
129 |
<span class="font12bold">Method Detail</span> |
<span class="method-result">string</span> |
130 |
<A HREF="#top" CLASS="links">^TOP</A> |
<a href="#add_row" title="details" class="method-name">add_row</a> |
131 |
</TD> |
(<span class="var-type">mixed</span> <span class="var-name">$args</span>) |
132 |
</TR> |
</div> |
133 |
</TABLE> |
|
134 |
<BR> |
<div class="method-definition"> |
135 |
<DIV CLASS="function"> |
<span class="method-result">void</span> |
136 |
<A NAME='methodadd_row'><!-- --></A> |
<a href="#push_row" title="details" class="method-name">push_row</a> |
137 |
<SPAN CLASS="font12bold">add_row</SPAN> (line <span class="linenumber">1238</span>) |
() |
138 |
<BR> |
</div> |
139 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
140 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
<div class="method-definition"> |
141 |
<span class="font10bold" style="color: #0000FF">add_row( |
<span class="method-result">void</span> |
142 |
mixed |
<a href="#set_cell_attributes" title="details" class="method-name">set_cell_attributes</a> |
143 |
$args)</SPAN> |
(<span class="var-type">int</span> <span class="var-name">$row</span>, <span class="var-type">int</span> <span class="var-name">$col</span>, [<span class="var-type">array</span> <span class="var-name">$attributes</span> = <span class="var-default">array()</span>]) |
144 |
<BR> |
</div> |
145 |
|
|
146 |
<BR> |
<div class="method-definition"> |
147 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<span class="method-result">void</span> |
148 |
push 1 row (tr) of content. |
<a href="#set_cell_content" title="details" class="method-name">set_cell_content</a> |
149 |
<br /> |
(<span class="var-type">mixed</span> <span class="var-name">$row</span>, <span class="var-type">mixed</span> <span class="var-name">$col</span>, <span class="var-type">mixed</span> <span class="var-name">$content</span>) |
150 |
<p>Content can be raw strings, or tag objects. Can push 1 item, or multiple items in call. Each item will be its own td. should call push() to push a <TR> object, but we detect it here anyway. This function does not save the content by reference. It copies the content and pushes it into the table. If you want to save a reference use push() instead.</p> |
</div> |
151 |
<DL> |
|
152 |
<DT class="font10bold">Function Parameters:</DT> |
<div class="method-definition"> |
153 |
<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">$args</SPAN></SPAN> The <td>'s to push for next row</DD> |
<span class="method-result">void</span> |
154 |
|
<a href="#set_default_col_attributes" title="details" class="method-name">set_default_col_attributes</a> |
155 |
<DT class="font10bold">Function Info:</DT> |
(<span class="var-type">array</span> <span class="var-name">$attributes</span>) |
156 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>public</b> - </DD> |
</div> |
157 |
</DL> |
|
158 |
</DIV> |
<div class="method-definition"> |
159 |
<BR> |
<span class="method-result">void</span> |
160 |
<DIV CLASS="function"> |
<a href="#set_default_row_attributes" title="details" class="method-name">set_default_row_attributes</a> |
161 |
<A NAME='methodpush_row'><!-- --></A> |
(<span class="var-type">array</span> <span class="var-name">$attributes</span>) |
162 |
<SPAN CLASS="font12bold">push_row</SPAN> (line <span class="linenumber">1285</span>) |
</div> |
163 |
<BR> |
|
164 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
<div class="method-definition"> |
165 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="method-result">void</span> |
166 |
<span class="font10bold" style="color: #0000FF">push_row( |
<a href="#set_row_attributes" title="details" class="method-name">set_row_attributes</a> |
167 |
)</SPAN> |
(<span class="var-type">int</span> <span class="var-name">$row</span>, <span class="var-type">array</span> <span class="var-name">$attributes</span>, <span class="var-type">int</span> <span class="var-name">$col</span>) |
168 |
<BR> |
</div> |
169 |
|
</div> |
170 |
<BR> |
</div> |
171 |
<SPAN CLASS="font10bold">Description : </SPAN> |
</div> |
172 |
Same ass add_row() |
|
173 |
<br /> |
<a name="sec-vars"></a> |
174 |
<p>NOTE: only exists for compatibility with 1.x</p> |
<div class="info-box"> |
175 |
<DL> |
<div class="info-box-title">Variables</div> |
176 |
|
<div class="nav-bar"> |
177 |
<DT class="font10bold">Function Info:</DT> |
<a href="#sec-description">Description</a> | |
178 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>deprecated</b> - - use add()</DD> |
<a href="#sec-descendents">Descendents</a> | |
179 |
</DL> |
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
180 |
</DIV> |
|
181 |
<BR> |
|
182 |
<DIV CLASS="function"> |
| |
183 |
<A NAME='methodset_cell_attributes'><!-- --></A> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
184 |
<SPAN CLASS="font12bold">set_cell_attributes</SPAN> (line <span class="linenumber">1327</span>) |
|
185 |
<BR> |
</div> |
186 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
<div class="info-box-body"> |
187 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<a name="var$_default_col_attributes" id="$_default_col_attributes"><!-- --></A> |
188 |
<span class="font10bold" style="color: #0000FF">set_cell_attributes( |
<div class="oddrow"> |
189 |
int |
|
190 |
$row, int |
<div class="var-header"> |
191 |
$col, [array |
<span class="var-title"> |
192 |
$attributes = array()])</SPAN> |
<span class="var-type">array</span> |
193 |
<BR> |
<span class="var-name">$_default_col_attributes</span> |
194 |
|
= <span class="var-default">array()</span> (line <span class="line-number">1233</span>) |
195 |
<BR> |
</span> |
196 |
<SPAN CLASS="font10bold">Description : </SPAN> |
</div> |
197 |
update the attributes of a particular element or td. |
|
198 |
<br /> |
<!-- ========== Info from phpDoc block ========= --> |
199 |
|
<p class="short-description">Holds the default attributes for all <td>'s</p> |
200 |
<DL> |
<ul class="tags"> |
201 |
<DT class="font10bold">Function Parameters:</DT> |
<li><span class="field">private:</span> </li> |
202 |
<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">$row</SPAN></SPAN> row # of the table to edit</DD> |
</ul> |
203 |
<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">$col</SPAN></SPAN> column # of the table to edit</DD> |
|
204 |
<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> array of name=>value pairs</DD> |
|
205 |
|
|
206 |
<DT class="font10bold">Function Info:</DT> |
|
207 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>public</b> - </DD> |
|
208 |
</DL> |
</div> |
209 |
</DIV> |
<a name="var$_default_row_attributes" id="$_default_row_attributes"><!-- --></A> |
210 |
<BR> |
<div class="evenrow"> |
211 |
<DIV CLASS="function"> |
|
212 |
<A NAME='methodset_cell_content'><!-- --></A> |
<div class="var-header"> |
213 |
<SPAN CLASS="font12bold">set_cell_content</SPAN> (line <span class="linenumber">1353</span>) |
<span class="var-title"> |
214 |
<BR> |
<span class="var-type">array</span> |
215 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
<span class="var-name">$_default_row_attributes</span> |
216 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
= <span class="var-default">array()</span> (line <span class="line-number">1226</span>) |
217 |
<span class="font10bold" style="color: #0000FF">set_cell_content( |
</span> |
|
mixed |
|
|
$row, mixed |
|
|
$col, mixed |
|
|
$content)</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_default_col_attributes'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">set_default_col_attributes</SPAN> (line <span class="linenumber">1311</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">set_default_col_attributes( |
|
|
array |
|
|
$attributes)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
Sets the default attributes for <td>'s that are added to the table. If there are any attributes set for the <td> it won't use the defaults. |
|
|
<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;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> - the default attributes</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodset_default_row_attributes'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">set_default_row_attributes</SPAN> (line <span class="linenumber">1298</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">set_default_row_attributes( |
|
|
array |
|
|
$attributes)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
Sets the default attributes for <tr>'s that are added to the table. If there are any attributes set for the <tr> it won't use the defaults. |
|
|
<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;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> - the default attributes</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodset_row_attributes'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">set_row_attributes</SPAN> (line <span class="linenumber">1345</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">set_row_attributes( |
|
|
int |
|
|
$row, array |
|
|
$attributes, int |
|
|
$col)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
update the attributes of a particular row or tr. |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$row</SPAN></SPAN> row # of the table to edit</DD> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$col</SPAN></SPAN> column # of the table to edit</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> array of name=>value pairs</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>public</b> - </DD> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<div id="credit"> |
|
|
<hr> |
|
|
Documention generated on Thu, 20 Feb 2003 16:22:25 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
|
218 |
</div> |
</div> |
219 |
</body> |
|
220 |
|
<!-- ========== Info from phpDoc block ========= --> |
221 |
|
<p class="short-description">Holds the default attributes for all <tr>'s</p> |
222 |
|
<ul class="tags"> |
223 |
|
<li><span class="field">private:</span> </li> |
224 |
|
</ul> |
225 |
|
|
226 |
|
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
</div> |
231 |
|
<a name="var$_tag" id="$_tag"><!-- --></A> |
232 |
|
<div class="oddrow"> |
233 |
|
|
234 |
|
<div class="var-header"> |
235 |
|
<span class="var-title"> |
236 |
|
<span class="var-type">mixed</span> |
237 |
|
<span class="var-name">$_tag</span> |
238 |
|
= <span class="var-default"> "table"</span> (line <span class="line-number">1218</span>) |
239 |
|
</span> |
240 |
|
</div> |
241 |
|
|
242 |
|
<!-- ========== Info from phpDoc block ========= --> |
243 |
|
|
244 |
|
|
245 |
|
|
246 |
|
<hr class="separator" /> |
247 |
|
<div class="notes">Redefined in descendants as:</div> |
248 |
|
<ul class="redefinitions"> |
249 |
|
<li> |
250 |
|
<a href="../phpHtmlLib/TBODYtag.html#var$_tag">TBODYtag::$_tag</a> |
251 |
|
: Tag definition for class. |
252 |
|
</li> |
253 |
|
<li> |
254 |
|
<a href="../phpHtmlLib/TFOOTtag.html#var$_tag">TFOOTtag::$_tag</a> |
255 |
|
</li> |
256 |
|
<li> |
257 |
|
<a href="../phpHtmlLib/THEADtag.html#var$_tag">THEADtag::$_tag</a> |
258 |
|
</li> |
259 |
|
</ul> |
260 |
|
|
261 |
|
|
262 |
|
</div> |
263 |
|
<h4>Inherited Variables</h4> |
264 |
|
<A NAME='inherited_vars'><!-- --></A> |
265 |
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
266 |
|
<blockquote> |
267 |
|
<span class="var-title"> |
268 |
|
<span class="var-name"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></span><br> |
269 |
|
</span> |
270 |
|
</blockquote> |
271 |
|
|
272 |
|
</div> |
273 |
|
</div> |
274 |
|
|
275 |
|
<a name="sec-methods"></a> |
276 |
|
<div class="info-box"> |
277 |
|
<div class="info-box-title">Methods</div> |
278 |
|
<div class="nav-bar"> |
279 |
|
<a href="#sec-description">Description</a> | |
280 |
|
<a href="#sec-descendents">Descendents</a> | |
281 |
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
282 |
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
283 |
|
|
284 |
|
</div> |
285 |
|
<div class="info-box-body"> |
286 |
|
<A NAME='method_detail'></A> |
287 |
|
<a name="methodadd_row" id="add_row"><!-- --></a> |
288 |
|
<div class="evenrow"> |
289 |
|
|
290 |
|
<div class="method-header"> |
291 |
|
<span class="method-title">add_row</span> (line <span class="line-number">1257</span>) |
292 |
|
</div> |
293 |
|
|
294 |
|
<!-- ========== Info from phpDoc block ========= --> |
295 |
|
<p class="short-description">push 1 row (tr) of content.</p> |
296 |
|
<p class="description"><p>Content can be raw strings, or tag objects. Can push 1 item, or multiple items in call. Each item will be its own td. should call push() to push a <TR> object, but we detect it here anyway. This function does not save the content by reference. It copies the content and pushes it into the table. If you want to save a reference use push() instead.</p></p> |
297 |
|
<ul class="tags"> |
298 |
|
<li><span class="field">public:</span> </li> |
299 |
|
</ul> |
300 |
|
|
301 |
|
<div class="method-signature"> |
302 |
|
<span class="method-result">string</span> |
303 |
|
<span class="method-name"> |
304 |
|
add_row |
305 |
|
</span> |
306 |
|
(<span class="var-type">mixed</span> <span class="var-name">$args</span>) |
307 |
|
</div> |
308 |
|
|
309 |
|
<ul class="parameters"> |
310 |
|
<li> |
311 |
|
<span class="var-type">mixed</span> |
312 |
|
<span class="var-name">$args</span><span class="var-description">: <p>The <td>'s to push for next row</p></span> </li> |
313 |
|
</ul> |
314 |
|
|
315 |
|
|
316 |
|
</div> |
317 |
|
<a name="methodpush_row" id="push_row"><!-- --></a> |
318 |
|
<div class="oddrow"> |
319 |
|
|
320 |
|
<div class="method-header"> |
321 |
|
<span class="method-title">push_row</span> (line <span class="line-number">1304</span>) |
322 |
|
</div> |
323 |
|
|
324 |
|
<!-- ========== Info from phpDoc block ========= --> |
325 |
|
<p class="short-description">Same ass add_row()</p> |
326 |
|
<p class="description"><p>NOTE: only exists for compatibility with 1.x</p></p> |
327 |
|
<ul class="tags"> |
328 |
|
<li><span class="field">deprecated:</span> <p>- use add()</p></li> |
329 |
|
</ul> |
330 |
|
|
331 |
|
<div class="method-signature"> |
332 |
|
<span class="method-result">void</span> |
333 |
|
<span class="method-name"> |
334 |
|
push_row |
335 |
|
</span> |
336 |
|
() |
337 |
|
</div> |
338 |
|
|
339 |
|
|
340 |
|
|
341 |
|
</div> |
342 |
|
<a name="methodset_cell_attributes" id="set_cell_attributes"><!-- --></a> |
343 |
|
<div class="evenrow"> |
344 |
|
|
345 |
|
<div class="method-header"> |
346 |
|
<span class="method-title">set_cell_attributes</span> (line <span class="line-number">1346</span>) |
347 |
|
</div> |
348 |
|
|
349 |
|
<!-- ========== Info from phpDoc block ========= --> |
350 |
|
<p class="short-description">update the attributes of a particular element or td.</p> |
351 |
|
<ul class="tags"> |
352 |
|
<li><span class="field">public:</span> </li> |
353 |
|
</ul> |
354 |
|
|
355 |
|
<div class="method-signature"> |
356 |
|
<span class="method-result">void</span> |
357 |
|
<span class="method-name"> |
358 |
|
set_cell_attributes |
359 |
|
</span> |
360 |
|
(<span class="var-type">int</span> <span class="var-name">$row</span>, <span class="var-type">int</span> <span class="var-name">$col</span>, [<span class="var-type">array</span> <span class="var-name">$attributes</span> = <span class="var-default">array()</span>]) |
361 |
|
</div> |
362 |
|
|
363 |
|
<ul class="parameters"> |
364 |
|
<li> |
365 |
|
<span class="var-type">int</span> |
366 |
|
<span class="var-name">$row</span><span class="var-description">: <p>row # of the table to edit</p></span> </li> |
367 |
|
<li> |
368 |
|
<span class="var-type">int</span> |
369 |
|
<span class="var-name">$col</span><span class="var-description">: <p>column # of the table to edit</p></span> </li> |
370 |
|
<li> |
371 |
|
<span class="var-type">array</span> |
372 |
|
<span class="var-name">$attributes</span><span class="var-description">: <p>array of name=>value pairs</p></span> </li> |
373 |
|
</ul> |
374 |
|
|
375 |
|
|
376 |
|
</div> |
377 |
|
<a name="methodset_cell_content" id="set_cell_content"><!-- --></a> |
378 |
|
<div class="oddrow"> |
379 |
|
|
380 |
|
<div class="method-header"> |
381 |
|
<span class="method-title">set_cell_content</span> (line <span class="line-number">1372</span>) |
382 |
|
</div> |
383 |
|
|
384 |
|
<!-- ========== Info from phpDoc block ========= --> |
385 |
|
|
386 |
|
<div class="method-signature"> |
387 |
|
<span class="method-result">void</span> |
388 |
|
<span class="method-name"> |
389 |
|
set_cell_content |
390 |
|
</span> |
391 |
|
(<span class="var-type">mixed</span> <span class="var-name">$row</span>, <span class="var-type">mixed</span> <span class="var-name">$col</span>, <span class="var-type">mixed</span> <span class="var-name">$content</span>) |
392 |
|
</div> |
393 |
|
|
394 |
|
|
395 |
|
|
396 |
|
</div> |
397 |
|
<a name="methodset_default_col_attributes" id="set_default_col_attributes"><!-- --></a> |
398 |
|
<div class="evenrow"> |
399 |
|
|
400 |
|
<div class="method-header"> |
401 |
|
<span class="method-title">set_default_col_attributes</span> (line <span class="line-number">1330</span>) |
402 |
|
</div> |
403 |
|
|
404 |
|
<!-- ========== Info from phpDoc block ========= --> |
405 |
|
<p class="short-description">Sets the default attributes for <td>'s that are added to the table. If there are any attributes set for the <td> it won't use the defaults.</p> |
406 |
|
|
407 |
|
<div class="method-signature"> |
408 |
|
<span class="method-result">void</span> |
409 |
|
<span class="method-name"> |
410 |
|
set_default_col_attributes |
411 |
|
</span> |
412 |
|
(<span class="var-type">array</span> <span class="var-name">$attributes</span>) |
413 |
|
</div> |
414 |
|
|
415 |
|
<ul class="parameters"> |
416 |
|
<li> |
417 |
|
<span class="var-type">array</span> |
418 |
|
<span class="var-name">$attributes</span><span class="var-description">: <p>- the default attributes</p></span> </li> |
419 |
|
</ul> |
420 |
|
|
421 |
|
|
422 |
|
</div> |
423 |
|
<a name="methodset_default_row_attributes" id="set_default_row_attributes"><!-- --></a> |
424 |
|
<div class="oddrow"> |
425 |
|
|
426 |
|
<div class="method-header"> |
427 |
|
<span class="method-title">set_default_row_attributes</span> (line <span class="line-number">1317</span>) |
428 |
|
</div> |
429 |
|
|
430 |
|
<!-- ========== Info from phpDoc block ========= --> |
431 |
|
<p class="short-description">Sets the default attributes for <tr>'s that are added to the table. If there are any attributes set for the <tr> it won't use the defaults.</p> |
432 |
|
|
433 |
|
<div class="method-signature"> |
434 |
|
<span class="method-result">void</span> |
435 |
|
<span class="method-name"> |
436 |
|
set_default_row_attributes |
437 |
|
</span> |
438 |
|
(<span class="var-type">array</span> <span class="var-name">$attributes</span>) |
439 |
|
</div> |
440 |
|
|
441 |
|
<ul class="parameters"> |
442 |
|
<li> |
443 |
|
<span class="var-type">array</span> |
444 |
|
<span class="var-name">$attributes</span><span class="var-description">: <p>- the default attributes</p></span> </li> |
445 |
|
</ul> |
446 |
|
|
447 |
|
|
448 |
|
</div> |
449 |
|
<a name="methodset_row_attributes" id="set_row_attributes"><!-- --></a> |
450 |
|
<div class="evenrow"> |
451 |
|
|
452 |
|
<div class="method-header"> |
453 |
|
<span class="method-title">set_row_attributes</span> (line <span class="line-number">1364</span>) |
454 |
|
</div> |
455 |
|
|
456 |
|
<!-- ========== Info from phpDoc block ========= --> |
457 |
|
<p class="short-description">update the attributes of a particular row or tr.</p> |
458 |
|
<ul class="tags"> |
459 |
|
<li><span class="field">public:</span> </li> |
460 |
|
</ul> |
461 |
|
|
462 |
|
<div class="method-signature"> |
463 |
|
<span class="method-result">void</span> |
464 |
|
<span class="method-name"> |
465 |
|
set_row_attributes |
466 |
|
</span> |
467 |
|
(<span class="var-type">int</span> <span class="var-name">$row</span>, <span class="var-type">array</span> <span class="var-name">$attributes</span>, <span class="var-type">int</span> <span class="var-name">$col</span>) |
468 |
|
</div> |
469 |
|
|
470 |
|
<ul class="parameters"> |
471 |
|
<li> |
472 |
|
<span class="var-type">int</span> |
473 |
|
<span class="var-name">$row</span><span class="var-description">: <p>row # of the table to edit</p></span> </li> |
474 |
|
<li> |
475 |
|
<span class="var-type">int</span> |
476 |
|
<span class="var-name">$col</span><span class="var-description">: <p>column # of the table to edit</p></span> </li> |
477 |
|
<li> |
478 |
|
<span class="var-type">array</span> |
479 |
|
<span class="var-name">$attributes</span><span class="var-description">: <p>array of name=>value pairs</p></span> </li> |
480 |
|
</ul> |
481 |
|
|
482 |
|
|
483 |
|
</div> |
484 |
|
<h4>Inherited Methods</h4> |
485 |
|
<a name='inherited_methods'><!-- --></a> |
486 |
|
<!-- =========== Summary =========== --> |
487 |
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span></p> |
488 |
|
<blockquote> |
489 |
|
<span class="method-name"><a href="../phpHtmlLib/HTMLTagClass.html#methodHTMLTagClass">HTMLTagClass::HTMLTagClass()</a></span><br> |
490 |
|
<span class="method-name"><a href="../phpHtmlLib/HTMLTagClass.html#methodrender">HTMLTagClass::render()</a></span><br> |
491 |
|
<span class="method-name"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_class">HTMLTagClass::set_class()</a></span><br> |
492 |
|
<span class="method-name"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_id">HTMLTagClass::set_id()</a></span><br> |
493 |
|
<span class="method-name"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_style">HTMLTagClass::set_style()</a></span><br> |
494 |
|
<span class="method-name"><a href="../phpHtmlLib/HTMLTagClass.html#method_build_attribute_string">HTMLTagClass::_build_attribute_string()</a></span><br> |
495 |
|
<span class="method-name"><a href="../phpHtmlLib/HTMLTagClass.html#method_prepare_flags">HTMLTagClass::_prepare_flags()</a></span><br> |
496 |
|
<span class="method-name"><a href="../phpHtmlLib/HTMLTagClass.html#method_render_tag_debug">HTMLTagClass::_render_tag_debug()</a></span><br> |
497 |
|
</blockquote> |
498 |
|
<!-- =========== Summary =========== --> |
499 |
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span></p> |
500 |
|
<blockquote> |
501 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></span><br> |
502 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></span><br> |
503 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></span><br> |
504 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></span><br> |
505 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></span><br> |
506 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_cdata_flag">XMLTagClass::set_cdata_flag()</a></span><br> |
507 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></span><br> |
508 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></span><br> |
509 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></span><br> |
510 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></span><br> |
511 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></span><br> |
512 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></span><br> |
513 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></span><br> |
514 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></span><br> |
515 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></span><br> |
516 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></span><br> |
517 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></span><br> |
518 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></span><br> |
519 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></span><br> |
520 |
|
</blockquote> |
521 |
|
<!-- =========== Summary =========== --> |
522 |
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
523 |
|
<blockquote> |
524 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
525 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
526 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
527 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
528 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
529 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
530 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br> |
531 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br> |
532 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
533 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br> |
534 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br> |
535 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></span><br> |
536 |
|
</blockquote> |
537 |
|
|
538 |
|
</div> |
539 |
|
</div> |
540 |
|
|
541 |
|
<p class="notes" id="credit"> |
542 |
|
Documention generated on Thu, 31 Jul 2003 18:32:10 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a> |
543 |
|
</p> |
544 |
|
</div></body> |
545 |
</html> |
</html> |