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