| 1 |
jonen |
1.1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'> |
| 2 |
|
|
<!--NewPage--> |
| 3 |
|
|
<HTML> |
| 4 |
|
|
<HEAD> |
| 5 |
|
|
<!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:33 -0800' --> |
| 6 |
|
|
<TITLE>Docs For Class SVGDocumentClass</TITLE> |
| 7 |
|
|
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'> |
| 8 |
|
|
</HEAD> |
| 9 |
|
|
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
| 10 |
|
|
|
| 11 |
|
|
|
| 12 |
|
|
<!-- Links --> |
| 13 |
|
|
<a NAME="top"></A> |
| 14 |
|
|
<table WIDTH="100%" class="links"> |
| 15 |
|
|
<TR> |
| 16 |
|
|
<TD class="font10"> |
| 17 |
|
|
Links: |
| 18 |
|
|
<A HREF="#children_summary" class="links" title="Classes extended from SVGDocumentClass">Child Classes</A> |
| 19 |
|
|
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
| 20 |
|
|
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> |
| 21 |
|
|
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inerited Methods</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> |
| 24 |
|
|
<A HREF="#function_detail" class="links" title="Method Detail">Method Detail</A> |
| 25 |
|
|
</TD> |
| 26 |
|
|
</TR> |
| 27 |
|
|
</TABLE> |
| 28 |
|
|
<BR> |
| 29 |
|
|
|
| 30 |
|
|
<!-- Start of Class Data --> |
| 31 |
|
|
<H2> |
| 32 |
|
|
Class SVGDocumentClass |
| 33 |
|
|
</H2> |
| 34 |
|
|
|
| 35 |
|
|
<pre> |
| 36 |
|
|
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
| 37 |
|
|
| |
| 38 |
|
|
--<a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a> |
| 39 |
|
|
| |
| 40 |
|
|
--SVGDocumentClass</pre> |
| 41 |
|
|
</pre> |
| 42 |
|
|
|
| 43 |
|
|
<A NAME="children_summary"</A> |
| 44 |
|
|
<H3> |
| 45 |
|
|
Classes extended from SVGDocumentClass: <A HREF="#top" CLASS="links">^TOP</A> |
| 46 |
|
|
</H3> |
| 47 |
|
|
|
| 48 |
|
|
<p> |
| 49 |
|
|
<b><i>Located in File: Program_Root/widgets/SVGDocumentClass.inc</i></b><br> |
| 50 |
|
|
</p> |
| 51 |
|
|
<hr> |
| 52 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
| 53 |
|
|
This class lets you build a complete |
| 54 |
|
|
SVG document. |
| 55 |
|
|
<BR> |
| 56 |
|
|
SVG = Scalable Vector Graphics |
| 57 |
|
|
|
| 58 |
|
|
<UL> |
| 59 |
|
|
|
| 60 |
|
|
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
| 61 |
|
|
|
| 62 |
|
|
<LI><b>Author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></CODE></LI> |
| 63 |
|
|
|
| 64 |
|
|
</UL> |
| 65 |
|
|
|
| 66 |
|
|
<hr> |
| 67 |
|
|
<!-- =========== VAR SUMMARY =========== --> |
| 68 |
|
|
<A NAME='var_summary'><!-- --></A> |
| 69 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 70 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
| 71 |
|
|
<TD> |
| 72 |
|
|
<span CLASS="font12bold">Class Variable Summary</span> |
| 73 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
| 74 |
|
|
</TD> |
| 75 |
|
|
</TR> |
| 76 |
|
|
|
| 77 |
|
|
|
| 78 |
|
|
</TABLE> |
| 79 |
|
|
|
| 80 |
|
|
<hr> |
| 81 |
|
|
<!-- =========== VAR INHERITED SUMMARY =========== --> |
| 82 |
|
|
<A NAME='var_inherited_summary'><!-- --></A> |
| 83 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 84 |
|
|
<TR CLASS='TableHeadingColor'> |
| 85 |
|
|
<TD> |
| 86 |
|
|
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
| 87 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
| 88 |
|
|
</TD> |
| 89 |
|
|
</TR> |
| 90 |
|
|
|
| 91 |
|
|
|
| 92 |
|
|
<!-- =========== Summary =========== --> |
| 93 |
|
|
<TR BGCOLOR='white'> |
| 94 |
|
|
<TD> |
| 95 |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a></span> |
| 96 |
|
|
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
| 97 |
|
|
<tr CLASS="tableheadingcolor"> |
| 98 |
|
|
<th>Variable</th> |
| 99 |
|
|
<th>Default Value</th> |
| 100 |
|
|
<th>Description</th> |
| 101 |
|
|
</tr> |
| 102 |
|
|
|
| 103 |
|
|
<tr> |
| 104 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$dtd'>$dtd</A></td> |
| 105 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
| 106 |
|
|
<td CLASS="font10">Holds the url of dtd</td> |
| 107 |
|
|
</tr> |
| 108 |
|
|
|
| 109 |
|
|
<tr> |
| 110 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$root_name'>$root_name</A></td> |
| 111 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
| 112 |
|
|
<td CLASS="font10">Holds the name of the root xml</td> |
| 113 |
|
|
</tr> |
| 114 |
|
|
|
| 115 |
|
|
<tr> |
| 116 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_doctype_links'>$_doctype_links</A></td> |
| 117 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td> |
| 118 |
|
|
<td CLASS="font10">This contains the doctype links |
| 119 |
|
|
attributes.</td> |
| 120 |
|
|
</tr> |
| 121 |
|
|
|
| 122 |
|
|
<tr> |
| 123 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_doctype_source'>$_doctype_source</A></td> |
| 124 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->SYSTEM<-</td> |
| 125 |
|
|
<td CLASS="font10">the DOCTYPE source attribute</td> |
| 126 |
|
|
</tr> |
| 127 |
|
|
|
| 128 |
|
|
<tr> |
| 129 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_http_content_type'>$_http_content_type</A></td> |
| 130 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->application/xml<-</td> |
| 131 |
|
|
<td CLASS="font10">The http content-type</td> |
| 132 |
|
|
</tr> |
| 133 |
|
|
|
| 134 |
|
|
<tr> |
| 135 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_root_tag'>$_root_tag</A></td> |
| 136 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
| 137 |
|
|
<td CLASS="font10">The root xml tag for all data</td> |
| 138 |
|
|
</tr> |
| 139 |
|
|
|
| 140 |
|
|
<tr> |
| 141 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_show_char_encoding'>$_show_char_encoding</A></td> |
| 142 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
| 143 |
|
|
<td CLASS="font10">this is a hack to show the |
| 144 |
|
|
character encoding or not.</td> |
| 145 |
|
|
</tr> |
| 146 |
|
|
|
| 147 |
|
|
<tr> |
| 148 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_show_http_header'>$_show_http_header</A></td> |
| 149 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
| 150 |
|
|
<td CLASS="font10">This flag tells if we should |
| 151 |
|
|
output the header content type.</td> |
| 152 |
|
|
</tr> |
| 153 |
|
|
|
| 154 |
|
|
<tr> |
| 155 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_xml_obj'>$_xml_obj</A></td> |
| 156 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
| 157 |
|
|
<td CLASS="font10">holds the xml tag object that |
| 158 |
|
|
all content will be wrapped in</td> |
| 159 |
|
|
</tr> |
| 160 |
|
|
|
| 161 |
|
|
<tr> |
| 162 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_xml_stylesheet_container'>$_xml_stylesheet_container</A></td> |
| 163 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
| 164 |
|
|
<td CLASS="font10">The container for all the |
| 165 |
|
|
xml-stylesheet tags</td> |
| 166 |
|
|
</tr> |
| 167 |
|
|
|
| 168 |
|
|
</table> |
| 169 |
|
|
<BR> |
| 170 |
|
|
</TD> |
| 171 |
|
|
</TR> |
| 172 |
|
|
|
| 173 |
|
|
<!-- =========== Summary =========== --> |
| 174 |
|
|
<TR BGCOLOR='white'> |
| 175 |
|
|
<TD> |
| 176 |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
| 177 |
|
|
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
| 178 |
|
|
<tr CLASS="tableheadingcolor"> |
| 179 |
|
|
<th>Variable</th> |
| 180 |
|
|
<th>Default Value</th> |
| 181 |
|
|
<th>Description</th> |
| 182 |
|
|
</tr> |
| 183 |
|
|
|
| 184 |
|
|
<tr> |
| 185 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td> |
| 186 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
| 187 |
|
|
<td CLASS="font10">Flag for pretty (indented) output</td> |
| 188 |
|
|
</tr> |
| 189 |
|
|
|
| 190 |
|
|
<tr> |
| 191 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td> |
| 192 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
| 193 |
|
|
<td CLASS="font10">Do we render a newline after the |
| 194 |
|
|
contents has been rendered?</td> |
| 195 |
|
|
</tr> |
| 196 |
|
|
|
| 197 |
|
|
</table> |
| 198 |
|
|
<BR> |
| 199 |
|
|
</TD> |
| 200 |
|
|
</TR> |
| 201 |
|
|
|
| 202 |
|
|
</TABLE> |
| 203 |
|
|
|
| 204 |
|
|
<hr> |
| 205 |
|
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
| 206 |
|
|
<A NAME='functions_inherited'><!-- --></A> |
| 207 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 208 |
|
|
<TR CLASS='TableHeadingColor'> |
| 209 |
|
|
<TD> |
| 210 |
|
|
<span CLASS="font12bold">Inherited Method Summary</span> |
| 211 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
| 212 |
|
|
</TD> |
| 213 |
|
|
</TR> |
| 214 |
|
|
|
| 215 |
|
|
|
| 216 |
|
|
<!-- =========== Summary =========== --> |
| 217 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 218 |
|
|
<TD> |
| 219 |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a></span> |
| 220 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
| 221 |
|
|
<tr CLASS="tableheadingcolor"> |
| 222 |
|
|
<th>Function</th> |
| 223 |
|
|
<th>Description</th> |
| 224 |
|
|
</tr> |
| 225 |
|
|
|
| 226 |
|
|
<tr> |
| 227 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#constructor XMLDocumentClass'>constructor XMLDocumentClass ( [$root_name = ], [$dtd = NULL], [$root_attributes = array()] )</A></td> |
| 228 |
|
|
<td CLASS="font10">The constructor</td> |
| 229 |
|
|
|
| 230 |
|
|
<tr> |
| 231 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#add'>add ( )</A></td> |
| 232 |
|
|
<td CLASS="font10">we override this class to make sure</td> |
| 233 |
|
|
|
| 234 |
|
|
<tr> |
| 235 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#add_reference'>add_reference ( &$content )</A></td> |
| 236 |
|
|
<td CLASS="font10">we override this class to make sure</td> |
| 237 |
|
|
|
| 238 |
|
|
<tr> |
| 239 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#add_xml_stylesheet_link'>add_xml_stylesheet_link ( $href )</A></td> |
| 240 |
|
|
<td CLASS="font10">This function is used to add a new |
| 241 |
|
|
xml-stylesheet tag to the top |
| 242 |
|
|
portion of the document.</td> |
| 243 |
|
|
|
| 244 |
|
|
<tr> |
| 245 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#dump_http_header'>dump_http_header ( )</A></td> |
| 246 |
|
|
<td CLASS="font10">This function is used to output the http |
| 247 |
|
|
header for this document.</td> |
| 248 |
|
|
|
| 249 |
|
|
<tr> |
| 250 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_doctype_source'>get_doctype_source ( )</A></td> |
| 251 |
|
|
<td CLASS="font10">This function returns the current |
| 252 |
|
|
DOCTYPE tag's source attribute</td> |
| 253 |
|
|
|
| 254 |
|
|
<tr> |
| 255 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_encoding'>get_encoding ( )</A></td> |
| 256 |
|
|
<td CLASS="font10">This function gets the current encoding type</td> |
| 257 |
|
|
|
| 258 |
|
|
<tr> |
| 259 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_http_content_type'>get_http_content_type ( )</A></td> |
| 260 |
|
|
<td CLASS="font10">This function returns the current |
| 261 |
|
|
value of the http header content type</td> |
| 262 |
|
|
|
| 263 |
|
|
<tr> |
| 264 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_root_attributes'>get_root_attributes ( )</A></td> |
| 265 |
|
|
<td CLASS="font10">This function is used to get the |
| 266 |
|
|
root xml tag's attributes</td> |
| 267 |
|
|
|
| 268 |
|
|
<tr> |
| 269 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_root_name'>get_root_name ( )</A></td> |
| 270 |
|
|
<td CLASS="font10">This function gets the document name</td> |
| 271 |
|
|
|
| 272 |
|
|
<tr> |
| 273 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#push'>push ( )</A></td> |
| 274 |
|
|
<td CLASS="font10">Same as add().</td> |
| 275 |
|
|
|
| 276 |
|
|
<tr> |
| 277 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#push_reference'>push_reference ( &$content )</A></td> |
| 278 |
|
|
<td CLASS="font10">Same as add_reference |
| 279 |
|
|
NOTE : only exists for compatibility with 1.1.x</td> |
| 280 |
|
|
|
| 281 |
|
|
<tr> |
| 282 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#render'>render ( [$indent_level = 0] )</A></td> |
| 283 |
|
|
<td CLASS="font10">function that will render the XML Document.</td> |
| 284 |
|
|
|
| 285 |
|
|
<tr> |
| 286 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#reset_content'>reset_content ( )</A></td> |
| 287 |
|
|
<td CLASS="font10">we override this class to make sure</td> |
| 288 |
|
|
|
| 289 |
|
|
<tr> |
| 290 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_doctype_link'>set_doctype_link ( $link )</A></td> |
| 291 |
|
|
<td CLASS="font10">This method is used to set the link attributes |
| 292 |
|
|
for the DOCTYPE tag</td> |
| 293 |
|
|
|
| 294 |
|
|
<tr> |
| 295 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_doctype_source'>set_doctype_source ( $source )</A></td> |
| 296 |
|
|
<td CLASS="font10">this function is used to change the |
| 297 |
|
|
DOCTYPE tag's source attribute.</td> |
| 298 |
|
|
|
| 299 |
|
|
<tr> |
| 300 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_encoding'>set_encoding ( $charset )</A></td> |
| 301 |
|
|
<td CLASS="font10">set the character set</td> |
| 302 |
|
|
|
| 303 |
|
|
<tr> |
| 304 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_http_content_type'>set_http_content_type ( [$type = "application/xml"] )</A></td> |
| 305 |
|
|
<td CLASS="font10">This function is used to set the |
| 306 |
|
|
http header content-type for output to browsers</td> |
| 307 |
|
|
|
| 308 |
|
|
<tr> |
| 309 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_root_attribute'>set_root_attribute ( $name, $value )</A></td> |
| 310 |
|
|
<td CLASS="font10">This sets 1 root tag attribute value pair</td> |
| 311 |
|
|
|
| 312 |
|
|
<tr> |
| 313 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_root_attributes'>set_root_attributes ( $attributes )</A></td> |
| 314 |
|
|
<td CLASS="font10">This function is used to set the |
| 315 |
|
|
root xml tag's attributes</td> |
| 316 |
|
|
|
| 317 |
|
|
<tr> |
| 318 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_root_name'>set_root_name ( $root_name )</A></td> |
| 319 |
|
|
<td CLASS="font10">Set the document name |
| 320 |
|
|
and the root tag's name.</td> |
| 321 |
|
|
|
| 322 |
|
|
<tr> |
| 323 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#show_character_encoding'>show_character_encoding ( [$flag = TRUE] )</A></td> |
| 324 |
|
|
<td CLASS="font10">method to update the flag that lets us know</td> |
| 325 |
|
|
|
| 326 |
|
|
<tr> |
| 327 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#show_http_header'>show_http_header ( [$flag = TRUE] )</A></td> |
| 328 |
|
|
<td CLASS="font10">this function is used to set the flag</td> |
| 329 |
|
|
|
| 330 |
|
|
<tr> |
| 331 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#_build_doctype'>_build_doctype ( )</A></td> |
| 332 |
|
|
<td CLASS="font10">This method builds the DOCTYPE tag for the document</td> |
| 333 |
|
|
|
| 334 |
|
|
<tr> |
| 335 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#_build_root_tag'>_build_root_tag ( )</A></td> |
| 336 |
|
|
<td CLASS="font10">This function builds the root xml</td> |
| 337 |
|
|
|
| 338 |
|
|
<tr> |
| 339 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#_build_xml_stylesheet_container'>_build_xml_stylesheet_container ( )</A></td> |
| 340 |
|
|
<td CLASS="font10">This function builds the _xml_stylesheet_container</td> |
| 341 |
|
|
|
| 342 |
|
|
<tr> |
| 343 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#_create_xml_obj'>_create_xml_obj ( )</A></td> |
| 344 |
|
|
<td CLASS="font10">This function builds the local</td> |
| 345 |
|
|
|
| 346 |
|
|
</table> |
| 347 |
|
|
<br> |
| 348 |
|
|
</TD> |
| 349 |
|
|
</TR> |
| 350 |
|
|
|
| 351 |
|
|
<!-- =========== Summary =========== --> |
| 352 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 353 |
|
|
<TD> |
| 354 |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
| 355 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
| 356 |
|
|
<tr CLASS="tableheadingcolor"> |
| 357 |
|
|
<th>Function</th> |
| 358 |
|
|
<th>Description</th> |
| 359 |
|
|
</tr> |
| 360 |
|
|
|
| 361 |
|
|
<tr> |
| 362 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container ( )</A></td> |
| 363 |
|
|
<td CLASS="font10">The constructor.</td> |
| 364 |
|
|
|
| 365 |
|
|
<tr> |
| 366 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td> |
| 367 |
|
|
<td CLASS="font10">add content onto content stack</td> |
| 368 |
|
|
|
| 369 |
|
|
<tr> |
| 370 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td> |
| 371 |
|
|
<td CLASS="font10">Add content onto content stack |
| 372 |
|
|
so you can change the item later.</td> |
| 373 |
|
|
|
| 374 |
|
|
<tr> |
| 375 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td> |
| 376 |
|
|
<td CLASS="font10">counts the number of content objects</td> |
| 377 |
|
|
|
| 378 |
|
|
<tr> |
| 379 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag ( )</A></td> |
| 380 |
|
|
<td CLASS="font10">This flag gets the current value |
| 381 |
|
|
of the indent flag</td> |
| 382 |
|
|
|
| 383 |
|
|
<tr> |
| 384 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td> |
| 385 |
|
|
<td CLASS="font10">Same as add().</td> |
| 386 |
|
|
|
| 387 |
|
|
<tr> |
| 388 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td> |
| 389 |
|
|
<td CLASS="font10">Same as add_reference |
| 390 |
|
|
NOTE : only exists for compatibility with 1.1.x</td> |
| 391 |
|
|
|
| 392 |
|
|
<tr> |
| 393 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td> |
| 394 |
|
|
<td CLASS="font10">This function is compatible with the |
| 395 |
|
|
rest of the phpHtmllib API spec.</td> |
| 396 |
|
|
|
| 397 |
|
|
<tr> |
| 398 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#reset_content'>reset_content ( )</A></td> |
| 399 |
|
|
<td CLASS="font10">destroy existing content and start with new content.</td> |
| 400 |
|
|
|
| 401 |
|
|
<tr> |
| 402 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> |
| 403 |
|
|
<td CLASS="font10">This function turns on the collapse flag</td> |
| 404 |
|
|
|
| 405 |
|
|
<tr> |
| 406 |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td> |
| 407 |
|
|
<td CLASS="font10">function to set the indent flag</td> |
| 408 |
|
|
|
| 409 |
|
|
</table> |
| 410 |
|
|
<br> |
| 411 |
|
|
</TD> |
| 412 |
|
|
</TR> |
| 413 |
|
|
|
| 414 |
|
|
</TABLE> |
| 415 |
|
|
|
| 416 |
|
|
<hr> |
| 417 |
|
|
<!-- should have constructor at some point --> |
| 418 |
|
|
<!-- =========== Method SUMMARY =========== --> |
| 419 |
|
|
<A NAME='Method_summary'><!-- --></A> |
| 420 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
| 421 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
| 422 |
|
|
<TD> |
| 423 |
|
|
<span class="font12bold">Method Summary</span> |
| 424 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
| 425 |
|
|
</TD> |
| 426 |
|
|
</TR> |
| 427 |
|
|
|
| 428 |
|
|
|
| 429 |
|
|
<!-- =========== Summary =========== --> |
| 430 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 431 |
|
|
<TD> |
| 432 |
|
|
<CODE><B><A HREF='SVGDocumentClass.html#constructor SVGDocumentClass'>void constructor SVGDocumentClass ( [$width = "100%"], [$height = "100%"] )</A></B></CODE> |
| 433 |
|
|
<BR> |
| 434 |
|
|
<blockquote> The constructor to building a SVG document. </blockquote> |
| 435 |
|
|
</TD> |
| 436 |
|
|
</TR> |
| 437 |
|
|
|
| 438 |
|
|
</TABLE> |
| 439 |
|
|
|
| 440 |
|
|
<hr> |
| 441 |
|
|
<!-- ============ VARIABLE DETAIL =========== --> |
| 442 |
|
|
|
| 443 |
|
|
<A NAME='variable_detail'></A> |
| 444 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 445 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
| 446 |
|
|
<TD> |
| 447 |
|
|
<span CLASS="font12bold">Variable Detail</span> |
| 448 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
| 449 |
|
|
</TD> |
| 450 |
|
|
</TR> |
| 451 |
|
|
</TABLE> |
| 452 |
|
|
|
| 453 |
|
|
|
| 454 |
|
|
|
| 455 |
|
|
<hr> |
| 456 |
|
|
<!-- ============ FUNCTION DETAIL =========== --> |
| 457 |
|
|
|
| 458 |
|
|
<A NAME='function_detail'></A> |
| 459 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 460 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
| 461 |
|
|
<TD> |
| 462 |
|
|
<span class="font12bold">Method Detail</span> |
| 463 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
| 464 |
|
|
</TD> |
| 465 |
|
|
</TR> |
| 466 |
|
|
</TABLE> |
| 467 |
|
|
<BR> |
| 468 |
|
|
|
| 469 |
|
|
<DIV CLASS="function"> |
| 470 |
|
|
<A NAME='constructor SVGDocumentClass'><!-- --></A> |
| 471 |
|
|
<SPAN CLASS="font12bold">constructor SVGDocumentClass</SPAN> |
| 472 |
|
|
<BR> |
| 473 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 474 |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 475 |
|
|
<span class="font10bold" style="color: #0000FF">constructor SVGDocumentClass ( [$width = "100%"], [$height = "100%"] )</SPAN> |
| 476 |
|
|
<BR> |
| 477 |
|
|
|
| 478 |
|
|
<BR> |
| 479 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
| 480 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
| 481 |
|
|
The constructor to building a SVG document. |
| 482 |
|
|
<BR> |
| 483 |
|
|
|
| 484 |
|
|
<DL> |
| 485 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
| 486 |
|
|
|
| 487 |
|
|
<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">$width</SPAN></SPAN> - the svg tag's width attribute</DD> |
| 488 |
|
|
|
| 489 |
|
|
<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">$height</SPAN></SPAN> - the svg tag's height attribute</DD> |
| 490 |
|
|
|
| 491 |
|
|
|
| 492 |
|
|
<DT class="font10bold">Function Info:</DT> |
| 493 |
|
|
|
| 494 |
|
|
</DL> |
| 495 |
|
|
|
| 496 |
|
|
</DIV> |
| 497 |
|
|
<BR> |
| 498 |
|
|
|
| 499 |
|
|
|
| 500 |
|
|
<hr> |
| 501 |
|
|
</HTML> |