1 |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<head> |
5 |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<title>Docs For Class Calendar</title> |
7 |
<link rel="stylesheet" href="../media/stylesheet.css" /> |
8 |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
</head> |
10 |
<body> |
11 |
<div class="page-body"> |
12 |
<h2 class="class-name">Class Calendar</h2> |
13 |
|
14 |
<a name="sec-description"></a> |
15 |
<div class="info-box"> |
16 |
<div class="info-box-title">Description</div> |
17 |
<div class="nav-bar"> |
18 |
<span class="disabled">Description</span> | |
19 |
<a href="#sec-vars">Vars</a> |
20 |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
21 |
|
22 |
</div> |
23 |
<div class="info-box-body"> |
24 |
<!-- ========== Info from phpDoc block ========= --> |
25 |
<p class="short-description">This class builds a simple calendar.</p> |
26 |
<ul class="tags"> |
27 |
<li><span class="field">author:</span> Mike Bos <<a href="mailto:info@mik3.com">mailto:info@mik3.com</a>></li> |
28 |
</ul> |
29 |
<p class="notes"> |
30 |
Located in <a class="field" href="_widgets_Calendar_inc.html">/widgets/Calendar.inc</a> (line <span class="field">23</span>) |
31 |
</p> |
32 |
|
33 |
|
34 |
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
35 |
| |
36 |
--<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
37 |
| |
38 |
--Calendar</pre> |
39 |
|
40 |
</div> |
41 |
</div> |
42 |
|
43 |
|
44 |
|
45 |
<a name="sec-method-summary"></a> |
46 |
<div class="info-box"> |
47 |
<div class="info-box-title">Method Summary</span></div> |
48 |
<div class="nav-bar"> |
49 |
<a href="#sec-description">Description</a> | |
50 |
<a href="#sec-vars">Vars</a> |
51 |
|
52 |
| |
53 |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
54 |
</div> |
55 |
<div class="info-box-body"> |
56 |
<div class="method-summary"> |
57 |
|
58 |
<div class="method-definition"> |
59 |
<span class="method-result">Calendar</span> |
60 |
<a href="#Calendar" title="details" class="method-name">Calendar</a> |
61 |
([<span class="var-type">mixed</span> <span class="var-name">$width</span> = <span class="var-default">"150"</span>], <span class="var-type">int</span> <span class="var-name">$date</span>) |
62 |
</div> |
63 |
|
64 |
<div class="method-definition"> |
65 |
<span class="method-result">string</span> |
66 |
<a href="#render" title="details" class="method-name">render</a> |
67 |
(<span class="var-type">int</span> <span class="var-name">$output_debug</span>) |
68 |
</div> |
69 |
</div> |
70 |
</div> |
71 |
</div> |
72 |
|
73 |
<a name="sec-vars"></a> |
74 |
<div class="info-box"> |
75 |
<div class="info-box-title">Variables</div> |
76 |
<div class="nav-bar"> |
77 |
<a href="#sec-description">Description</a> | |
78 |
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
79 |
|
80 |
|
81 |
| |
82 |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
83 |
|
84 |
</div> |
85 |
<div class="info-box-body"> |
86 |
<h4>Inherited Variables</h4> |
87 |
<A NAME='inherited_vars'><!-- --></A> |
88 |
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
89 |
<blockquote> |
90 |
<span class="var-title"> |
91 |
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br> |
92 |
</span> |
93 |
<span class="var-title"> |
94 |
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br> |
95 |
</span> |
96 |
</blockquote> |
97 |
|
98 |
</div> |
99 |
</div> |
100 |
|
101 |
<a name="sec-methods"></a> |
102 |
<div class="info-box"> |
103 |
<div class="info-box-title">Methods</div> |
104 |
<div class="nav-bar"> |
105 |
<a href="#sec-description">Description</a> | |
106 |
<a href="#sec-vars">Vars</a> |
107 |
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
108 |
|
109 |
</div> |
110 |
<div class="info-box-body"> |
111 |
<A NAME='method_detail'></A> |
112 |
<a name="methodCalendar" id="Calendar"><!-- --></a> |
113 |
<div class="evenrow"> |
114 |
|
115 |
<div class="method-header"> |
116 |
<span class="method-title">Constructor Calendar</span> (line <span class="line-number">51</span>) |
117 |
</div> |
118 |
|
119 |
<!-- ========== Info from phpDoc block ========= --> |
120 |
<p class="short-description">Constructor for this class It just sets the date for the widget.</p> |
121 |
|
122 |
<div class="method-signature"> |
123 |
<span class="method-result">Calendar</span> |
124 |
<span class="method-name"> |
125 |
Calendar |
126 |
</span> |
127 |
([<span class="var-type">mixed</span> <span class="var-name">$width</span> = <span class="var-default">"150"</span>], <span class="var-type">int</span> <span class="var-name">$date</span>) |
128 |
</div> |
129 |
|
130 |
<ul class="parameters"> |
131 |
<li> |
132 |
<span class="var-type">int</span> |
133 |
<span class="var-name">$date</span><span class="var-description">: - The date for the widget (unixtimestamp)</span> </li> |
134 |
</ul> |
135 |
|
136 |
|
137 |
</div> |
138 |
<a name="methodrender" id="render"><!-- --></a> |
139 |
<div class="oddrow"> |
140 |
|
141 |
<div class="method-header"> |
142 |
<span class="method-title">render</span> (line <span class="line-number">65</span>) |
143 |
</div> |
144 |
|
145 |
<!-- ========== Info from phpDoc block ========= --> |
146 |
<p class="short-description">function that will render the widget.</p> |
147 |
<ul class="tags"> |
148 |
<li><span class="field">return:</span> the raw html output.</li> |
149 |
</ul> |
150 |
|
151 |
<div class="method-signature"> |
152 |
<span class="method-result">string</span> |
153 |
<span class="method-name"> |
154 |
render |
155 |
</span> |
156 |
(<span class="var-type">int</span> <span class="var-name">$output_debug</span>) |
157 |
</div> |
158 |
|
159 |
<ul class="parameters"> |
160 |
<li> |
161 |
<span class="var-type">int</span> |
162 |
<span class="var-name">$output_debug</span><span class="var-description">: - the output debug flag to maintain compatibility w/ the API.</span> </li> |
163 |
</ul> |
164 |
|
165 |
<hr class="separator" /> |
166 |
<div class="notes">Redefinition of:</div> |
167 |
<dl> |
168 |
<dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt> |
169 |
<dd>This function is compatible with the rest of the phpHtmllib API spec.</dd> |
170 |
</dl> |
171 |
|
172 |
</div> |
173 |
<h4>Inherited Methods</h4> |
174 |
<a name='inherited_methods'><!-- --></a> |
175 |
<!-- =========== Summary =========== --> |
176 |
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
177 |
<blockquote> |
178 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br> |
179 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br> |
180 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br> |
181 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br> |
182 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br> |
183 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br> |
184 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br> |
185 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br> |
186 |
</blockquote> |
187 |
<!-- =========== Summary =========== --> |
188 |
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
189 |
<blockquote> |
190 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
191 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
192 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
193 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
194 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_element">Container::get_element()</a></span><br> |
195 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
196 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
197 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br> |
198 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br> |
199 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
200 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br> |
201 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br> |
202 |
</blockquote> |
203 |
|
204 |
</div> |
205 |
</div> |
206 |
|
207 |
<p class="notes" id="credit"> |
208 |
Documentation generated on Tue, 3 Feb 2004 15:28:47 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.3</a> |
209 |
</p> |
210 |
</div></body> |
211 |
</html> |