| 1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.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: 'Mon, 25 Nov 2002 09:21:31 -0800' --> |
<!-- template designed by Marco Von Ballmoos --> |
| 6 |
<TITLE>Docs For Class MyLayoutPage</TITLE> |
<title>Docs For Class MyLayoutPage</title> |
| 7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='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 |
|
<body> |
| 11 |
|
<div class="page-body"> |
| 12 |
<!-- Links --> |
<h2 class="class-name">Class MyLayoutPage</h2> |
| 13 |
<a NAME="top"></A> |
|
| 14 |
<table WIDTH="100%" class="links"> |
<a name="sec-description"></a> |
| 15 |
<TR> |
<div class="info-box"> |
| 16 |
<TD class="font10"> |
<div class="info-box-title">Description</div> |
| 17 |
Links: |
<div class="nav-bar"> |
| 18 |
<A HREF="#children_summary" class="links" title="Classes extended from MyLayoutPage">Child Classes</A> |
<span class="disabled">Description</span> | |
| 19 |
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
<a href="#sec-descendents">Descendents</a> |
| 20 |
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> |
| <a href="#sec-vars">Vars</a> |
| 21 |
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inerited Methods</A> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
| 22 |
<A HREF="#functions_summary" class="links" title="Method Summary">Methods</A> |
|
| 23 |
<A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> |
</div> |
| 24 |
<A HREF="#function_detail" class="links" title="Method Detail">Method Detail</A> |
<div class="info-box-body"> |
| 25 |
</TD> |
<!-- ========== Info from phpDoc block ========= --> |
| 26 |
</TR> |
<p class="short-description">This is an example Child of the PageWidget</p> |
| 27 |
</TABLE> |
<p class="description"><p>class to show how to build a simple application or system wide layout simple to manage and maintain</p></p> |
| 28 |
<BR> |
<ul class="tags"> |
| 29 |
|
<li><span class="field">version:</span> 2.0.0</li> |
| 30 |
<!-- Start of Class Data --> |
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li> |
| 31 |
<H2> |
</ul> |
| 32 |
Class MyLayoutPage |
<p class="notes"> |
| 33 |
</H2> |
Located in <a class="field" href="_examples_MyLayoutPage_inc.html">/examples/MyLayoutPage.inc</a> (line <span class="field">29</span>) |
| 34 |
|
</p> |
| 35 |
<pre> |
|
| 36 |
<pre><a href="../../phpHtmlLib/HTMLPageClass.html">HTMLPageClass</a> |
|
| 37 |
|
<pre><a href="../../phpHtmlLib/HTMLPageClass.html">HTMLPageClass</a> |
| 38 |
| |
| |
| 39 |
--<a href="../../phpHtmlLib/PageWidget.html">PageWidget</a> |
--<a href="../../phpHtmlLib/PageWidget.html">PageWidget</a> |
| 40 |
| |
| |
| 41 |
--MyLayoutPage</pre> |
--MyLayoutPage</pre> |
| 42 |
</pre> |
|
| 43 |
|
</div> |
| 44 |
<A NAME="children_summary"</A> |
</div> |
| 45 |
<H3> |
|
| 46 |
Classes extended from MyLayoutPage: <A HREF="#top" CLASS="links">^TOP</A> |
<a name="sec-descendents"></a> |
| 47 |
</H3> |
<div class="info-box"> |
| 48 |
|
<div class="info-box-title">Direct descendents</div> |
| 49 |
<p> |
<div class="nav-bar"> |
| 50 |
<b><i>Located in File: Program_Root/examples/example3.php</i></b><br> |
<a href="#sec-description">Description</a> | |
| 51 |
</p> |
<span class="disabled">Descendents</span> |
| 52 |
<hr> |
| <a href="#sec-vars">Vars</a> |
| 53 |
<!-- ========== Info from phpDoc block ========= --> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
| 54 |
|
|
| 55 |
<BR> |
</div> |
| 56 |
|
<div class="info-box-body"> |
| 57 |
|
<table cellpadding="2" cellspacing="0" class="class-table"> |
| 58 |
<UL> |
<tr> |
| 59 |
|
<th class="class-table-header">Class</th> |
| 60 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
<th class="class-table-header">Description</th> |
| 61 |
|
</tr> |
| 62 |
<LI><b>Sub-Package</b> - <CODE>examples</CODE></LI> |
<tr> |
| 63 |
|
<td style="padding-right: 2em"></td> |
| 64 |
</UL> |
<td> |
| 65 |
|
A simple Page Layout object child. |
| 66 |
<hr> |
</td> |
| 67 |
<!-- =========== VAR SUMMARY =========== --> |
</tr> |
| 68 |
<A NAME='var_summary'><!-- --></A> |
<tr> |
| 69 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<td style="padding-right: 2em"><a href="../../phpHtmlLib/form-examples/Form2Page.html">Form2Page</a></td> |
| 70 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<td> |
| 71 |
<TD> |
A simple Page Layout object child. |
| 72 |
<span CLASS="font12bold">Class Variable Summary</span> |
</td> |
| 73 |
<A HREF="#top" CLASS="links">^TOP</A> |
</tr> |
| 74 |
</TD> |
<tr> |
| 75 |
</TR> |
<td style="padding-right: 2em"><a href="../../phpHtmlLib/form-examples/Form3Page.html">Form3Page</a></td> |
| 76 |
|
<td> |
| 77 |
|
A simple Page Layout object child. this came from Example 3. |
| 78 |
</TABLE> |
</td> |
| 79 |
|
</tr> |
| 80 |
<hr> |
<tr> |
| 81 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
<td style="padding-right: 2em"><a href="../../phpHtmlLib/form-examples/Form4Page.html">Form4Page</a></td> |
| 82 |
<A NAME='var_inherited_summary'><!-- --></A> |
<td> |
| 83 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
This demonstrates the power of the master-slave relationship between two list elements |
| 84 |
<TR CLASS='TableHeadingColor'> |
</td> |
| 85 |
<TD> |
</tr> |
| 86 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
</table> |
| 87 |
<A HREF="#top" CLASS="links">^TOP</A> |
</div> |
| 88 |
</TD> |
</div> |
| 89 |
</TR> |
|
| 90 |
|
|
| 91 |
|
|
| 92 |
<!-- =========== Summary =========== --> |
<a name="sec-method-summary"></a> |
| 93 |
<TR BGCOLOR='white'> |
<div class="info-box"> |
| 94 |
<TD> |
<div class="info-box-title">Method Summary</span></div> |
| 95 |
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/PageWidget.html">PageWidget</a></span> |
<div class="nav-bar"> |
| 96 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
<a href="#sec-description">Description</a> | |
| 97 |
<tr CLASS="tableheadingcolor"> |
<a href="#sec-descendents">Descendents</a> | |
| 98 |
<th>Variable</th> |
<a href="#sec-vars">Vars</a> |
| 99 |
<th>Default Value</th> |
|
| 100 |
<th>Description</th> |
| |
| 101 |
</tr> |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
| 102 |
|
</div> |
| 103 |
<tr> |
<div class="info-box-body"> |
| 104 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#$_enable_debug'>$_enable_debug</A></td> |
<div class="method-summary"> |
| 105 |
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
|
| 106 |
<td CLASS="font10">This enables the ability to view the |
<div class="method-definition"> |
| 107 |
source of a page bu setting debug=1 |
<span class="method-result">MyLayoutPage</span> |
| 108 |
in the query string.</td> |
<a href="#MyLayoutPage" title="details" class="method-name">MyLayoutPage</a> |
| 109 |
</tr> |
(<span class="var-type">string</span> <span class="var-name">$title</span>, [<span class="var-type">-</span> <span class="var-name">$render_type</span> = <span class="var-default">HTML</span>]) |
| 110 |
|
</div> |
| 111 |
<tr> |
|
| 112 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#$_title_text'>$_title_text</A></td> |
<div class="method-definition"> |
| 113 |
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
<span class="method-result">void</span> |
| 114 |
<td CLASS="font10">holds the page title text for |
<a href="#body_content" title="details" class="method-name">body_content</a> |
| 115 |
a page</td> |
() |
| 116 |
</tr> |
</div> |
| 117 |
|
|
| 118 |
</table> |
<div class="method-definition"> |
| 119 |
<BR> |
<span class="method-result">HTMLTag</span> |
| 120 |
</TD> |
<a href="#content_block" title="details" class="method-name">content_block</a> |
| 121 |
</TR> |
() |
| 122 |
|
</div> |
| 123 |
<!-- =========== Summary =========== --> |
|
| 124 |
<TR BGCOLOR='white'> |
<div class="method-definition"> |
| 125 |
<TD> |
<span class="method-result"><a href="../../phpHtmlLib/HTMLtag.html">HTMLtag</a></span> |
| 126 |
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/HTMLPageClass.html">HTMLPageClass</a></span> |
<a href="#footer_block" title="details" class="method-name">footer_block</a> |
| 127 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
() |
| 128 |
<tr CLASS="tableheadingcolor"> |
</div> |
| 129 |
<th>Variable</th> |
|
| 130 |
<th>Default Value</th> |
<div class="method-definition"> |
| 131 |
<th>Description</th> |
<span class="method-result"><a href="../../phpHtmlLib/HTMLtag.html">HTMLtag</a></span> |
| 132 |
</tr> |
<a href="#header_block" title="details" class="method-name">header_block</a> |
| 133 |
|
() |
| 134 |
<tr> |
</div> |
| 135 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#$_html_attributes'>$_html_attributes</A></td> |
|
| 136 |
<td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td> |
<div class="method-definition"> |
| 137 |
<td CLASS="font10">This holds the attributes for the |
<span class="method-result">HTMLTag</span> |
| 138 |
<html> tag.</td> |
<a href="#left_block" title="details" class="method-name">left_block</a> |
| 139 |
</tr> |
() |
| 140 |
|
</div> |
| 141 |
<tr> |
|
| 142 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#$_indent_style'>$_indent_style</A></td> |
<div class="method-definition"> |
| 143 |
<td CLASS="font10" STYLE="white-space: nowrap">->0<-</td> |
<span class="method-result">void</span> |
| 144 |
<td CLASS="font10">Holds the value of the indent</td> |
<a href="#main_block" title="details" class="method-name">main_block</a> |
| 145 |
</tr> |
(<span class="var-type"><a href="../../phpHtmlLib/TABLEtag.html">TABLEtag</a></span> <span class="var-name">0</span>) |
| 146 |
|
</div> |
| 147 |
<tr> |
</div> |
| 148 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#$_widget_css_auto'>$_widget_css_auto</A></td> |
</div> |
| 149 |
<td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td> |
</div> |
| 150 |
<td CLASS="font10">keeps track of which widgets we have |
|
| 151 |
automatically pulled in css for</td> |
<a name="sec-vars"></a> |
| 152 |
</tr> |
<div class="info-box"> |
| 153 |
|
<div class="info-box-title">Variables</div> |
| 154 |
<tr> |
<div class="nav-bar"> |
| 155 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#$_widget_js_auto'>$_widget_js_auto</A></td> |
<a href="#sec-description">Description</a> | |
| 156 |
<td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td> |
<a href="#sec-descendents">Descendents</a> | |
| 157 |
<td CLASS="font10">keeps track of which widgets we have |
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
| 158 |
automatically pulled in js for</td> |
|
| 159 |
</tr> |
|
| 160 |
|
| |
| 161 |
</table> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
| 162 |
<BR> |
|
| 163 |
</TD> |
</div> |
| 164 |
</TR> |
<div class="info-box-body"> |
| 165 |
|
<h4>Inherited Variables</h4> |
| 166 |
</TABLE> |
<A NAME='inherited_vars'><!-- --></A> |
| 167 |
|
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/PageWidget.html">PageWidget</a></span></p> |
| 168 |
<hr> |
<blockquote> |
| 169 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
<span class="var-title"> |
| 170 |
<A NAME='functions_inherited'><!-- --></A> |
<span class="var-name"><a href="../../phpHtmlLib/PageWidget.html#var$_allow_permissions_checks">PageWidget::$_allow_permissions_checks</a></span><br> |
| 171 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
</span> |
| 172 |
<TR CLASS='TableHeadingColor'> |
<span class="var-title"> |
| 173 |
<TD> |
<span class="var-name"><a href="../../phpHtmlLib/PageWidget.html#var$_enable_debug">PageWidget::$_enable_debug</a></span><br> |
| 174 |
<span CLASS="font12bold">Inherited Method Summary</span> |
</span> |
| 175 |
<A HREF="#top" CLASS="links">^TOP</A> |
<span class="var-title"> |
| 176 |
</TD> |
<span class="var-name"><a href="../../phpHtmlLib/PageWidget.html#var$_permissions_error_width">PageWidget::$_permissions_error_width</a></span><br> |
| 177 |
</TR> |
</span> |
| 178 |
|
<span class="var-title"> |
| 179 |
|
<span class="var-name"><a href="../../phpHtmlLib/PageWidget.html#var$_permission_box">PageWidget::$_permission_box</a></span><br> |
| 180 |
<!-- =========== Summary =========== --> |
</span> |
| 181 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<span class="var-title"> |
| 182 |
<TD> |
<span class="var-name"><a href="../../phpHtmlLib/PageWidget.html#var$_perm_options">PageWidget::$_perm_options</a></span><br> |
| 183 |
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/PageWidget.html">PageWidget</a></span> |
</span> |
| 184 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
<span class="var-title"> |
| 185 |
<tr CLASS="tableheadingcolor"> |
<span class="var-name"><a href="../../phpHtmlLib/PageWidget.html#var$_title_text">PageWidget::$_title_text</a></span><br> |
| 186 |
<th>Function</th> |
</span> |
| 187 |
<th>Description</th> |
</blockquote> |
| 188 |
</tr> |
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/HTMLPageClass.html">HTMLPageClass</a></span></p> |
| 189 |
|
<blockquote> |
| 190 |
<tr> |
<span class="var-title"> |
| 191 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#constructor PageWidget'>constructor PageWidget ( [$title = ], [$render_type = HTML], [$indent_style = INDENT_NICE] )</A></td> |
<span class="var-name"><a href="../../phpHtmlLib/HTMLPageClass.html#var$_favicon">HTMLPageClass::$_favicon</a></span><br> |
| 192 |
<td CLASS="font10">Constructor:</td> |
</span> |
| 193 |
|
<span class="var-title"> |
| 194 |
<tr> |
<span class="var-name"><a href="../../phpHtmlLib/HTMLPageClass.html#var$_html_attributes">HTMLPageClass::$_html_attributes</a></span><br> |
| 195 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#body_content'>body_content ( )</A></td> |
</span> |
| 196 |
<td CLASS="font10">This function is meant to be overridden |
<span class="var-title"> |
| 197 |
by the child class.</td> |
<span class="var-name"><a href="../../phpHtmlLib/HTMLPageClass.html#var$_html_render_type">HTMLPageClass::$_html_render_type</a></span><br> |
| 198 |
|
</span> |
| 199 |
<tr> |
<span class="var-title"> |
| 200 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#enable_debug'>enable_debug ( [$flag = TRUE] )</A></td> |
<span class="var-name"><a href="../../phpHtmlLib/HTMLPageClass.html#var$_indent_style">HTMLPageClass::$_indent_style</a></span><br> |
| 201 |
<td CLASS="font10">This sets the debug option for |
</span> |
| 202 |
the HTMLPageClass</td> |
<span class="var-title"> |
| 203 |
|
<span class="var-name"><a href="../../phpHtmlLib/HTMLPageClass.html#var$_widget_css_auto">HTMLPageClass::$_widget_css_auto</a></span><br> |
| 204 |
<tr> |
</span> |
| 205 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#frameset'>frameset ( )</A></td> |
<span class="var-title"> |
| 206 |
<td CLASS="font10">This function is used to save |
<span class="var-name"><a href="../../phpHtmlLib/HTMLPageClass.html#var$_widget_js_auto">HTMLPageClass::$_widget_js_auto</a></span><br> |
| 207 |
a frameset to the page.</td> |
</span> |
| 208 |
|
<span class="var-title"> |
| 209 |
<tr> |
<span class="var-name"><a href="../../phpHtmlLib/HTMLPageClass.html#var$_xml_encoding">HTMLPageClass::$_xml_encoding</a></span><br> |
| 210 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#get_title'>get_title ( )</A></td> |
</span> |
| 211 |
<td CLASS="font10">gets the current title of the page.</td> |
</blockquote> |
| 212 |
|
|
| 213 |
<tr> |
</div> |
| 214 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#head_content'>head_content ( )</A></td> |
</div> |
| 215 |
<td CLASS="font10">This function is used to build</td> |
|
| 216 |
|
<a name="sec-methods"></a> |
| 217 |
<tr> |
<div class="info-box"> |
| 218 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#head_javascript'>head_javascript ( )</A></td> |
<div class="info-box-title">Methods</div> |
| 219 |
<td CLASS="font10">This function is called to build |
<div class="nav-bar"> |
| 220 |
any JavaScript that is needed in the |
<a href="#sec-description">Description</a> | |
| 221 |
<HEAD> portion of a document.</td> |
<a href="#sec-descendents">Descendents</a> | |
| 222 |
|
<a href="#sec-vars">Vars</a> |
| 223 |
<tr> |
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
| 224 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/PageWidget.html#render'>render ( )</A></td> |
|
| 225 |
<td CLASS="font10">This is the function that renders the HTML |
</div> |
| 226 |
for this widget.</td> |
<div class="info-box-body"> |
| 227 |
|
<A NAME='method_detail'></A> |
| 228 |
</table> |
<a name="methodMyLayoutPage" id="MyLayoutPage"><!-- --></a> |
| 229 |
<br> |
<div class="oddrow"> |
| 230 |
</TD> |
|
| 231 |
</TR> |
<div class="method-header"> |
| 232 |
|
<span class="method-title">Constructor MyLayoutPage</span> (line <span class="line-number">40</span>) |
| 233 |
<!-- =========== Summary =========== --> |
</div> |
| 234 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
| 235 |
<TD> |
<!-- ========== Info from phpDoc block ========= --> |
| 236 |
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/HTMLPageClass.html">HTMLPageClass</a></span> |
<p class="short-description">This is the constructor.</p> |
| 237 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
| 238 |
<tr CLASS="tableheadingcolor"> |
<div class="method-signature"> |
| 239 |
<th>Function</th> |
<span class="method-result">MyLayoutPage</span> |
| 240 |
<th>Description</th> |
<span class="method-name"> |
| 241 |
</tr> |
MyLayoutPage |
| 242 |
|
</span> |
| 243 |
<tr> |
(<span class="var-type">string</span> <span class="var-name">$title</span>, [<span class="var-type">-</span> <span class="var-name">$render_type</span> = <span class="var-default">HTML</span>]) |
| 244 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#constructor HTMLPageClass'>constructor HTMLPageClass ( [$title = NULL], [$html_type = HTML], [$indent_style = INDENT_NICE] )</A></td> |
</div> |
| 245 |
<td CLASS="font10">Class Constructor</td> |
|
| 246 |
|
<ul class="parameters"> |
| 247 |
<tr> |
<li> |
| 248 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#add'>add ( )</A></td> |
<span class="var-type">string</span> |
| 249 |
<td CLASS="font10">This function adds content to the <body> |
<span class="var-name">$title</span><span class="var-description">: - $title - the title for the page and the titlebar object.</span> </li> |
| 250 |
area of the page.</td> |
<li> |
| 251 |
|
<span class="var-type">-</span> |
| 252 |
<tr> |
<span class="var-name">$render_type</span><span class="var-description">: string - The render type (HTML, XHTML, etc. )</span> </li> |
| 253 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#add_css_link'>add_css_link ( $link )</A></td> |
</ul> |
| 254 |
<td CLASS="font10">pushes a css external reference to the head area</td> |
|
| 255 |
|
|
| 256 |
<tr> |
</div> |
| 257 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#add_head_content'>add_head_content ( )</A></td> |
<a name="methodbody_content" id="body_content"><!-- --></a> |
| 258 |
<td CLASS="font10">this adds content to the head tag |
<div class="evenrow"> |
| 259 |
of the page</td> |
|
| 260 |
|
<div class="method-header"> |
| 261 |
<tr> |
<span class="method-title">body_content</span> (line <span class="line-number">59</span>) |
| 262 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#add_head_css'>add_head_css ( $css )</A></td> |
</div> |
| 263 |
<td CLASS="font10">this function adds raw css to the |
|
| 264 |
<head> tag.</td> |
<!-- ========== Info from phpDoc block ========= --> |
| 265 |
|
<p class="short-description">This builds the main content for the page.</p> |
| 266 |
<tr> |
|
| 267 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#add_head_js'>add_head_js ( $content )</A></td> |
<div class="method-signature"> |
| 268 |
<td CLASS="font10">adds raw javascript to the head which |
<span class="method-result">void</span> |
| 269 |
will automatically get wrapped in a |
<span class="method-name"> |
| 270 |
<script language="JavaScript"> tag.</td> |
body_content |
| 271 |
|
</span> |
| 272 |
<tr> |
() |
| 273 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#add_reference'>add_reference ( &$content )</A></td> |
</div> |
| 274 |
<td CLASS="font10">Adds the content reference to the <body> |
|
| 275 |
tag for later use.</td> |
|
| 276 |
|
<hr class="separator" /> |
| 277 |
<tr> |
<div class="notes">Redefinition of:</div> |
| 278 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#build_doctype'>build_doctype ( $link1, [$link2 = NULL] )</A></td> |
<dl> |
| 279 |
<td CLASS="font10">This function is used to build the DOCTYPE |
<dt><a href="../../phpHtmlLib/PageWidget.html#methodbody_content">PageWidget::body_content()</a></dt> |
| 280 |
tag for the page.</td> |
<dd>This function is meant to be overridden by the child class.</dd> |
| 281 |
|
</dl> |
| 282 |
<tr> |
|
| 283 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#get_html_attributes'>get_html_attributes ( )</A></td> |
</div> |
| 284 |
<td CLASS="font10">This function returns the |
<a name="methodcontent_block" id="content_block"><!-- --></a> |
| 285 |
attributes to be used for the |
<div class="oddrow"> |
| 286 |
<html> tag.</td> |
|
| 287 |
|
<div class="method-header"> |
| 288 |
<tr> |
<span class="method-title">content_block</span> (line <span class="line-number">150</span>) |
| 289 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#push'>push ( )</A></td> |
</div> |
| 290 |
<td CLASS="font10">Same as add()</td> |
|
| 291 |
|
<!-- ========== Info from phpDoc block ========= --> |
| 292 |
<tr> |
<p class="short-description">this function returns the contents of the right block. It is already wrapped in a TD</p> |
| 293 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#push_css_link'>push_css_link ( $link )</A></td> |
<ul class="tags"> |
| 294 |
<td CLASS="font10">Same ass add_css_link()</td> |
<li><span class="field">return:</span> object</li> |
| 295 |
|
</ul> |
| 296 |
<tr> |
|
| 297 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#push_head_content'>push_head_content ( )</A></td> |
<div class="method-signature"> |
| 298 |
<td CLASS="font10">Same ass add_head_content()</td> |
<span class="method-result">HTMLTag</span> |
| 299 |
|
<span class="method-name"> |
| 300 |
<tr> |
content_block |
| 301 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#push_head_js'>push_head_js ( $content )</A></td> |
</span> |
| 302 |
<td CLASS="font10">Same ass add_head_js()</td> |
() |
| 303 |
|
</div> |
| 304 |
<tr> |
|
| 305 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#push_js_link'>push_js_link ( $link )</A></td> |
|
| 306 |
<td CLASS="font10">pushes an link to an externally referenced javascript |
|
| 307 |
file, which will get rendered in the head.</td> |
<hr class="separator" /> |
| 308 |
|
<div class="notes">Redefined in descendants as:</div> |
| 309 |
<tr> |
<ul class="redefinitions"> |
| 310 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#push_reference'>push_reference ( &$content )</A></td> |
<li> |
| 311 |
<td CLASS="font10">Same as add()</td> |
<a href="../../phpHtmlLib/form-examples/Form1Page.html#methodcontent_block">Form1Page::content_block()</a> |
| 312 |
|
</li> |
| 313 |
<tr> |
<li> |
| 314 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#render'>render ( )</A></td> |
<a href="../../phpHtmlLib/form-examples/Form2Page.html#methodcontent_block">Form2Page::content_block()</a> |
| 315 |
<td CLASS="font10">render the page.</td> |
</li> |
| 316 |
|
<li> |
| 317 |
<tr> |
<a href="../../phpHtmlLib/form-examples/Form3Page.html#methodcontent_block">Form3Page::content_block()</a> |
| 318 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#set_body_attributes'>set_body_attributes ( $attributes )</A></td> |
</li> |
| 319 |
<td CLASS="font10">set attributes of body tag</td> |
<li> |
| 320 |
|
<a href="../../phpHtmlLib/form-examples/Form4Page.html#methodcontent_block">Form4Page::content_block()</a> |
| 321 |
<tr> |
</li> |
| 322 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#set_charset'>set_charset ( $charset )</A></td> |
</ul> |
| 323 |
<td CLASS="font10">set the character set</td> |
</div> |
| 324 |
|
<a name="methodfooter_block" id="footer_block"><!-- --></a> |
| 325 |
<tr> |
<div class="evenrow"> |
| 326 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#set_frameset'>set_frameset ( $frameset )</A></td> |
|
| 327 |
<td CLASS="font10">This function is used to set the FRAMSETtag |
<div class="method-header"> |
| 328 |
object for this page.</td> |
<span class="method-title">footer_block</span> (line <span class="line-number">165</span>) |
| 329 |
|
</div> |
| 330 |
<tr> |
|
| 331 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#set_html_attributes'>set_html_attributes ( $attributes )</A></td> |
<!-- ========== Info from phpDoc block ========= --> |
| 332 |
<td CLASS="font10">This function sets the attributes |
<p class="short-description">This function is responsible for building the footer block for every page.</p> |
| 333 |
for the <html> tag</td> |
<ul class="tags"> |
| 334 |
|
<li><span class="field">return:</span> object.</li> |
| 335 |
<tr> |
</ul> |
| 336 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#set_refresh'>set_refresh ( $time, [$url = NULL] )</A></td> |
|
| 337 |
<td CLASS="font10">Automatically set a page meta tag refresh</td> |
<div class="method-signature"> |
| 338 |
|
<span class="method-result"><a href="../../phpHtmlLib/HTMLtag.html">HTMLtag</a></span> |
| 339 |
<tr> |
<span class="method-name"> |
| 340 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#set_text_debug'>set_text_debug ( $flag )</A></td> |
footer_block |
| 341 |
<td CLASS="font10">set the $_text_debug flag</td> |
</span> |
| 342 |
|
() |
| 343 |
<tr> |
</div> |
| 344 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#set_title'>set_title ( $title )</A></td> |
|
| 345 |
<td CLASS="font10">set the title of the page output.</td> |
|
| 346 |
|
|
| 347 |
<tr> |
</div> |
| 348 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#_build_content_type_tag'>_build_content_type_tag ( )</A></td> |
<a name="methodheader_block" id="header_block"><!-- --></a> |
| 349 |
<td CLASS="font10">this builds the content type meta tag.</td> |
<div class="oddrow"> |
| 350 |
|
|
| 351 |
<tr> |
<div class="method-header"> |
| 352 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#_build_head'>_build_head ( )</A></td> |
<span class="method-title">header_block</span> (line <span class="line-number">94</span>) |
| 353 |
<td CLASS="font10">builds the head object and its content.</td> |
</div> |
| 354 |
|
|
| 355 |
<tr> |
<!-- ========== Info from phpDoc block ========= --> |
| 356 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#_create_body'>_create_body ( )</A></td> |
<p class="short-description">This function is responsible for building the header block that lives at the top of every page.</p> |
| 357 |
<td CLASS="font10">This is responsible for creating the</td> |
<ul class="tags"> |
| 358 |
|
<li><span class="field">return:</span> object.</li> |
| 359 |
<tr> |
</ul> |
| 360 |
<td CLASS="font10bold"><A HREF='../../phpHtmlLib/HTMLPageClass.html#_frameset_wrap_body'>_frameset_wrap_body ( )</A></td> |
|
| 361 |
<td CLASS="font10">This builds a frameset body tag |
<div class="method-signature"> |
| 362 |
wrapped in a <noframes> tag.</td> |
<span class="method-result"><a href="../../phpHtmlLib/HTMLtag.html">HTMLtag</a></span> |
| 363 |
|
<span class="method-name"> |
| 364 |
</table> |
header_block |
| 365 |
<br> |
</span> |
| 366 |
</TD> |
() |
| 367 |
</TR> |
</div> |
| 368 |
|
|
| 369 |
</TABLE> |
|
| 370 |
|
|
| 371 |
<hr> |
</div> |
| 372 |
<!-- should have constructor at some point --> |
<a name="methodleft_block" id="left_block"><!-- --></a> |
| 373 |
<!-- =========== Method SUMMARY =========== --> |
<div class="evenrow"> |
| 374 |
<A NAME='Method_summary'><!-- --></A> |
|
| 375 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
<div class="method-header"> |
| 376 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<span class="method-title">left_block</span> (line <span class="line-number">133</span>) |
| 377 |
<TD> |
</div> |
| 378 |
<span class="font12bold">Method Summary</span> |
|
| 379 |
<A HREF="#top" CLASS="links">^TOP</A> |
<!-- ========== Info from phpDoc block ========= --> |
| 380 |
</TD> |
<p class="short-description">this function returns the contents of the left block. It is already wrapped in a TD</p> |
| 381 |
</TR> |
<ul class="tags"> |
| 382 |
|
<li><span class="field">return:</span> object</li> |
| 383 |
|
</ul> |
| 384 |
<!-- =========== Summary =========== --> |
|
| 385 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<div class="method-signature"> |
| 386 |
<TD> |
<span class="method-result">HTMLTag</span> |
| 387 |
<CODE><B><A HREF='MyLayoutPage.html#constructor MyLayoutPage'>void constructor MyLayoutPage ( $title, [$render_type = HTML] )</A></B></CODE> |
<span class="method-name"> |
| 388 |
<BR> |
left_block |
| 389 |
<blockquote> This is the constructor. </blockquote> |
</span> |
| 390 |
</TD> |
() |
| 391 |
</TR> |
</div> |
| 392 |
|
|
| 393 |
<!-- =========== Summary =========== --> |
|
| 394 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
| 395 |
<TD> |
</div> |
| 396 |
<CODE><B><A HREF='MyLayoutPage.html#body_content'>void body_content ( )</A></B></CODE> |
<a name="methodmain_block" id="main_block"><!-- --></a> |
| 397 |
<BR> |
<div class="oddrow"> |
| 398 |
<blockquote> This builds the main content for the |
|
| 399 |
page. </blockquote> |
<div class="method-header"> |
| 400 |
</TD> |
<span class="method-title">main_block</span> (line <span class="line-number">109</span>) |
| 401 |
</TR> |
</div> |
| 402 |
|
|
| 403 |
<!-- =========== Summary =========== --> |
<!-- ========== Info from phpDoc block ========= --> |
| 404 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<p class="short-description">We override this method to automatically break up the main block into a left block and a right block</p> |
| 405 |
<TD> |
|
| 406 |
<CODE><B><A HREF='MyLayoutPage.html#content_block'>HTMLTag content_block ( )</A></B></CODE> |
<div class="method-signature"> |
| 407 |
<BR> |
<span class="method-result">void</span> |
| 408 |
<blockquote> this function returns the contents |
<span class="method-name"> |
| 409 |
of the right block. </blockquote> |
main_block |
| 410 |
</TD> |
</span> |
| 411 |
</TR> |
(<span class="var-type"><a href="../../phpHtmlLib/TABLEtag.html">TABLEtag</a></span> <span class="var-name">0</span>) |
| 412 |
|
</div> |
| 413 |
<!-- =========== Summary =========== --> |
|
| 414 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<ul class="parameters"> |
| 415 |
<TD> |
<li> |
| 416 |
<CODE><B><A HREF='MyLayoutPage.html#footer_block'><a href="../../phpHtmlLib/HTMLtag.html">HTMLtag</a> footer_block ( )</A></B></CODE> |
<span class="var-type"><a href="../../phpHtmlLib/TABLEtag.html">TABLEtag</a></span> |
| 417 |
<BR> |
<span class="var-name">0</span><span class="var-description">: object.</span> </li> |
| 418 |
<blockquote> This function is responsible for building |
</ul> |
| 419 |
the footer block for every page. </blockquote> |
|
| 420 |
</TD> |
|
| 421 |
</TR> |
</div> |
| 422 |
|
<h4>Inherited Methods</h4> |
| 423 |
<!-- =========== Summary =========== --> |
<a name='inherited_methods'><!-- --></a> |
| 424 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<!-- =========== Summary =========== --> |
| 425 |
<TD> |
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/PageWidget.html">PageWidget</a></span></p> |
| 426 |
<CODE><B><A HREF='MyLayoutPage.html#header_block'><a href="../../phpHtmlLib/HTMLtag.html">HTMLtag</a> header_block ( )</A></B></CODE> |
<blockquote> |
| 427 |
<BR> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodPageWidget">PageWidget::PageWidget()</a></span><br> |
| 428 |
<blockquote> This function is responsible for building |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodallow_permissions_checks">PageWidget::allow_permissions_checks()</a></span><br> |
| 429 |
the header block that lives at the top |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodbody_content">PageWidget::body_content()</a></span><br> |
| 430 |
of every page. </blockquote> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodenable_debug">PageWidget::enable_debug()</a></span><br> |
| 431 |
</TD> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodframeset">PageWidget::frameset()</a></span><br> |
| 432 |
</TR> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodget_title">PageWidget::get_title()</a></span><br> |
| 433 |
|
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodhead_content">PageWidget::head_content()</a></span><br> |
| 434 |
<!-- =========== Summary =========== --> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodhead_javascript">PageWidget::head_javascript()</a></span><br> |
| 435 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodpermission">PageWidget::permission()</a></span><br> |
| 436 |
<TD> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodrender">PageWidget::render()</a></span><br> |
| 437 |
<CODE><B><A HREF='MyLayoutPage.html#left_block'>HTMLTag left_block ( )</A></B></CODE> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#methodset_permissions_message">PageWidget::set_permissions_message()</a></span><br> |
| 438 |
<BR> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#method_build_permission_box">PageWidget::_build_permission_box()</a></span><br> |
| 439 |
<blockquote> this function returns the contents |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#method_check_permissions">PageWidget::_check_permissions()</a></span><br> |
| 440 |
of the left block. </blockquote> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#method_has_permission">PageWidget::_has_permission()</a></span><br> |
| 441 |
</TD> |
<span class="method-name"><a href="../../phpHtmlLib/PageWidget.html#method_set_perms">PageWidget::_set_perms()</a></span><br> |
| 442 |
</TR> |
</blockquote> |
| 443 |
|
<!-- =========== Summary =========== --> |
| 444 |
<!-- =========== Summary =========== --> |
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/HTMLPageClass.html">HTMLPageClass</a></span></p> |
| 445 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<blockquote> |
| 446 |
<TD> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodHTMLPageClass">HTMLPageClass::HTMLPageClass()</a></span><br> |
| 447 |
<CODE><B><A HREF='MyLayoutPage.html#main_block'>void main_block ( )</A></B></CODE> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodadd">HTMLPageClass::add()</a></span><br> |
| 448 |
<BR> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodadd_css_link">HTMLPageClass::add_css_link()</a></span><br> |
| 449 |
<blockquote> We override this method to automatically </blockquote> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodadd_head_content">HTMLPageClass::add_head_content()</a></span><br> |
| 450 |
</TD> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodadd_head_css">HTMLPageClass::add_head_css()</a></span><br> |
| 451 |
</TR> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodadd_head_js">HTMLPageClass::add_head_js()</a></span><br> |
| 452 |
|
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodadd_js_link">HTMLPageClass::add_js_link()</a></span><br> |
| 453 |
</TABLE> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodadd_reference">HTMLPageClass::add_reference()</a></span><br> |
| 454 |
|
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodbuild_doctype">HTMLPageClass::build_doctype()</a></span><br> |
| 455 |
<hr> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodget_html_attributes">HTMLPageClass::get_html_attributes()</a></span><br> |
| 456 |
<!-- ============ VARIABLE DETAIL =========== --> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodpush">HTMLPageClass::push()</a></span><br> |
| 457 |
|
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodpush_css_link">HTMLPageClass::push_css_link()</a></span><br> |
| 458 |
<A NAME='variable_detail'></A> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodpush_head_content">HTMLPageClass::push_head_content()</a></span><br> |
| 459 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodpush_head_js">HTMLPageClass::push_head_js()</a></span><br> |
| 460 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodpush_js_link">HTMLPageClass::push_js_link()</a></span><br> |
| 461 |
<TD> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodpush_reference">HTMLPageClass::push_reference()</a></span><br> |
| 462 |
<span CLASS="font12bold">Variable Detail</span> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodrender">HTMLPageClass::render()</a></span><br> |
| 463 |
<A HREF="#top" CLASS="links">^TOP</A> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_body_attributes">HTMLPageClass::set_body_attributes()</a></span><br> |
| 464 |
</TD> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_charset">HTMLPageClass::set_charset()</a></span><br> |
| 465 |
</TR> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_encoding">HTMLPageClass::set_encoding()</a></span><br> |
| 466 |
</TABLE> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_favicon">HTMLPageClass::set_favicon()</a></span><br> |
| 467 |
|
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_favicon_flag">HTMLPageClass::set_favicon_flag()</a></span><br> |
| 468 |
|
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_frameset">HTMLPageClass::set_frameset()</a></span><br> |
| 469 |
|
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_html_attributes">HTMLPageClass::set_html_attributes()</a></span><br> |
| 470 |
<hr> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_language">HTMLPageClass::set_language()</a></span><br> |
| 471 |
<!-- ============ FUNCTION DETAIL =========== --> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_refresh">HTMLPageClass::set_refresh()</a></span><br> |
| 472 |
|
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_text_debug">HTMLPageClass::set_text_debug()</a></span><br> |
| 473 |
<A NAME='function_detail'></A> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#methodset_title">HTMLPageClass::set_title()</a></span><br> |
| 474 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#method_build_content_type_tag">HTMLPageClass::_build_content_type_tag()</a></span><br> |
| 475 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#method_build_head">HTMLPageClass::_build_head()</a></span><br> |
| 476 |
<TD> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#method_create_body">HTMLPageClass::_create_body()</a></span><br> |
| 477 |
<span class="font12bold">Method Detail</span> |
<span class="method-name"><a href="../../phpHtmlLib/HTMLPageClass.html#method_frameset_wrap_body">HTMLPageClass::_frameset_wrap_body()</a></span><br> |
| 478 |
<A HREF="#top" CLASS="links">^TOP</A> |
</blockquote> |
| 479 |
</TD> |
|
| 480 |
</TR> |
</div> |
| 481 |
</TABLE> |
</div> |
| 482 |
<BR> |
|
| 483 |
|
|
| 484 |
<DIV CLASS="function"> |
<p class="notes" id="credit"> |
| 485 |
<A NAME='constructor MyLayoutPage'><!-- --></A> |
Documentation generated on Thu, 1 Apr 2004 09:39:07 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a> |
| 486 |
<SPAN CLASS="font12bold">constructor MyLayoutPage</SPAN> |
</p> |
| 487 |
<BR> |
</div></body> |
| 488 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
</html> |
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">constructor MyLayoutPage ( $title, [$render_type = HTML] )</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
This is the constructor. |
|
|
<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;">-</SPAN> <span style="color: #0000FF;font-weight:bold">$title</SPAN></SPAN> string - The render type (HTML, XHTML, etc. )</DD> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
|
</DIV> |
|
|
<BR> |
|
|
|
|
|
<DIV CLASS="function"> |
|
|
<A NAME='body_content'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">body_content</SPAN> |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">body_content ( )</SPAN> |
|
|
<BR> |
|
|
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/PageWidget.html#body_content">PageWidget::body_content()</a> |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
This builds the main content for the |
|
|
page. |
|
|
<BR> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
|
</DIV> |
|
|
<BR> |
|
|
|
|
|
<DIV CLASS="function"> |
|
|
<A NAME='content_block'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">content_block</SPAN> |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">HTMLTag</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">content_block ( )</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
this function returns the contents |
|
|
of the right block. |
|
|
<BR> |
|
|
It is already wrapped |
|
|
in a TD |
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - object</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
|
</DIV> |
|
|
<BR> |
|
|
|
|
|
<DIV CLASS="function"> |
|
|
<A NAME='footer_block'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">footer_block</SPAN> |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000"><a href="../../phpHtmlLib/HTMLtag.html">HTMLtag</a></SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">footer_block ( )</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
This function is responsible for building |
|
|
the footer block for every page. |
|
|
<BR> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - object.</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
|
</DIV> |
|
|
<BR> |
|
|
|
|
|
<DIV CLASS="function"> |
|
|
<A NAME='header_block'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">header_block</SPAN> |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000"><a href="../../phpHtmlLib/HTMLtag.html">HTMLtag</a></SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">header_block ( )</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
This function is responsible for building |
|
|
the header block that lives at the top |
|
|
of every page. |
|
|
<BR> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - object.</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
|
</DIV> |
|
|
<BR> |
|
|
|
|
|
<DIV CLASS="function"> |
|
|
<A NAME='left_block'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">left_block</SPAN> |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">HTMLTag</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">left_block ( )</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
this function returns the contents |
|
|
of the left block. |
|
|
<BR> |
|
|
It is already wrapped |
|
|
in a TD |
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - object</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
|
</DIV> |
|
|
<BR> |
|
|
|
|
|
<DIV CLASS="function"> |
|
|
<A NAME='main_block'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">main_block</SPAN> |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">main_block ( )</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
We override this method to automatically |
|
|
<BR> |
|
|
break up the main block into a |
|
|
left block and a right block |
|
|
<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;"><a href="../../phpHtmlLib/TABLEtag.html">TABLEtag</a></SPAN> <span style="color: #0000FF;font-weight:bold">0</SPAN></SPAN> object.</DD> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
|
</DIV> |
|
|
<BR> |
|
|
|
|
|
|
|
|
<hr> |
|
|
</HTML> |
|