PageRenderTime 24ms CodeModel.GetById 3ms app.highlight 14ms RepoModel.GetById 2ms app.codeStats 0ms

/stubs/tidy.php

http://github.com/nnmatveev/php-stubs
PHP | 837 lines | 202 code | 77 blank | 558 comment | 0 complexity | 5d0a7b987124d62ef7b12afd6f8f4e36 MD5 | raw file
  1<?php
  2
  3// Start of tidy v.2.0
  4
  5/**
  6 * An HTML node in an HTML file, as detected by tidy.
  7 * @link http://php.net/manual/en/class.tidy.php
  8 */
  9class tidy  {
 10
 11    /**
 12     * @var string The last warnings and errors from TidyLib
 13     */
 14    var $errorBuffer;
 15
 16	/**
 17	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
 18	 * Returns the value of the specified configuration option for the tidy document
 19	 * @link http://php.net/manual/en/tidy.getopt.php
 20	 * @param string $option <p>
 21	 * You will find a list with each configuration option and their types
 22	 * at: &url.tidy.conf;.
 23	 * </p>
 24	 * @return mixed the value of the specified option.
 25	 * The return type depends on the type of the specified one.
 26	 */
 27	public function getOpt ($option) {}
 28
 29	/**
 30	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
 31	 * Execute configured cleanup and repair operations on parsed markup
 32	 * @link http://php.net/manual/en/tidy.cleanrepair.php
 33	 * @return bool Returns true on success or false on failure.
 34	 */
 35	public function cleanRepair () {}
 36
 37	/**
 38	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
 39	 * Parse markup in file or URI
 40	 * @link http://php.net/manual/en/tidy.parsefile.php
 41	 * @param string $filename <p>
 42	 * If the filename parameter is given, this function
 43	 * will also read that file and initialize the object with the file,
 44	 * acting like tidy_parse_file.
 45	 * </p>
 46	 * @param mixed $config [optional] <p>
 47	 * The config config can be passed either as an
 48	 * array or as a string. If a string is passed, it is interpreted as the
 49	 * name of the configuration file, otherwise, it is interpreted as the
 50	 * options themselves.
 51	 * </p>
 52	 * <p>
 53	 * For an explanation about each option, see
 54	 * &url.tidy.conf;.
 55	 * </p>
 56	 * @param string $encoding [optional] <p>
 57	 * The encoding parameter sets the encoding for
 58	 * input/output documents. The possible values for encoding are: 
 59	 * ascii, latin0, latin1,
 60	 * raw, utf8, iso2022,
 61	 * mac, win1252, ibm858,
 62	 * utf16, utf16le, utf16be,
 63	 * big5, and shiftjis.
 64	 * </p>
 65	 * @param bool $use_include_path [optional] <p>
 66	 * Search for the file in the include_path.
 67	 * </p>
 68	 * @return bool Returns true on success or false on failure.
 69	 */
 70	public function parseFile ($filename, $config = null, $encoding = null, $use_include_path = null) {}
 71
 72	/**
 73	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
 74	 * Parse a document stored in a string
 75	 * @link http://php.net/manual/en/tidy.parsestring.php
 76	 * @param string $input <p>
 77	 * The data to be parsed.
 78	 * </p>
 79	 * @param mixed $config [optional] <p>
 80	 * The config config can be passed either as an
 81	 * array or as a string. If a string is passed, it is interpreted as the
 82	 * name of the configuration file, otherwise, it is interpreted as the
 83	 * options themselves.
 84	 * </p>
 85	 * <p>
 86	 * For an explanation about each option, visit &url.tidy.conf;.
 87	 * </p>
 88	 * @param string $encoding [optional] <p>
 89	 * The encoding parameter sets the encoding for
 90	 * input/output documents. The possible values for encoding are: 
 91	 * ascii, latin0, latin1,
 92	 * raw, utf8, iso2022,
 93	 * mac, win1252, ibm858,
 94	 * utf16, utf16le, utf16be,
 95	 * big5, and shiftjis.
 96	 * </p>
 97	 * @return bool a new tidy instance.
 98	 */
 99	public function parseString ($input, $config = null, $encoding = null) {}
100
101	/**
102	 * (PHP 5, PECL tidy &gt;= 0.7.0)<br/>
103	 * Repair a string using an optionally provided configuration file
104	 * @link http://php.net/manual/en/tidy.repairstring.php
105	 * @param string $data <p>
106	 * The data to be repaired.
107	 * </p>
108	 * @param mixed $config [optional] <p>
109	 * The config config can be passed either as an
110	 * array or as a string. If a string is passed, it is interpreted as the
111	 * name of the configuration file, otherwise, it is interpreted as the
112	 * options themselves.
113	 * </p>
114	 * <p>
115	 * Check &url.tidy.conf; for
116	 * an explanation about each option.
117	 * </p>
118	 * @param string $encoding [optional] <p>
119	 * The encoding parameter sets the encoding for
120	 * input/output documents. The possible values for encoding are: 
121	 * ascii, latin0, latin1,
122	 * raw, utf8, iso2022,
123	 * mac, win1252, ibm858,
124	 * utf16, utf16le, utf16be,
125	 * big5, and shiftjis.
126	 * </p>
127	 * @return string the repaired string.
128	 */
129	public function repairString ($data, $config = null, $encoding = null) {}
130
131	/**
132	 * (PHP 5, PECL tidy &gt;= 0.7.0)<br/>
133	 * Repair a file and return it as a string
134	 * @link http://php.net/manual/en/tidy.repairfile.php
135	 * @param string $filename <p>
136	 * The file to be repaired.
137	 * </p>
138	 * @param mixed $config [optional] <p>
139	 * The config config can be passed either as an
140	 * array or as a string. If a string is passed, it is interpreted as the
141	 * name of the configuration file, otherwise, it is interpreted as the
142	 * options themselves.
143	 * </p>
144	 * <p>
145	 * Check http://tidy.sourceforge.net/docs/quickref.html for an
146	 * explanation about each option.
147	 * </p>
148	 * @param string $encoding [optional] <p>
149	 * The encoding parameter sets the encoding for
150	 * input/output documents. The possible values for encoding are: 
151	 * ascii, latin0, latin1,
152	 * raw, utf8, iso2022,
153	 * mac, win1252, ibm858,
154	 * utf16, utf16le, utf16be,
155	 * big5, and shiftjis.
156	 * </p>
157	 * @param bool $use_include_path [optional] <p>
158	 * Search for the file in the include_path.
159	 * </p>
160	 * @return string the repaired contents as a string.
161	 */
162	public function repairFile ($filename, $config = null, $encoding = null, $use_include_path = null) {}
163
164	/**
165	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
166	 * Run configured diagnostics on parsed and repaired markup
167	 * @link http://php.net/manual/en/function.tidy-diagnose.php
168	 * @return bool Returns true on success or false on failure.
169	 */
170	public function diagnose () {}
171
172	/**
173	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
174	 * Get release date (version) for Tidy library
175	 * @link http://php.net/manual/en/tidy.getrelease.php
176	 * @return string a string with the release date of the Tidy library.
177	 */
178	public function getRelease () {}
179
180	/**
181	 * (PHP 5, PECL tidy &gt;= 0.7.0)<br/>
182	 * Get current Tidy configuration
183	 * @link http://php.net/manual/en/tidy.getconfig.php
184	 * @return array an array of configuration options.
185	 * </p>
186	 * <p>
187	 * For an explanation about each option, visit &url.tidy.conf;.
188	 */
189	public function getConfig () {}
190
191	/**
192	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
193	 * Get status of specified document
194	 * @link http://php.net/manual/en/tidy.getstatus.php
195	 * @return int 0 if no error/warning was raised, 1 for warnings or accessibility
196	 * errors, or 2 for errors.
197	 */
198	public function getStatus () {}
199
200	public function getHtmlVer () {}
201
202	/**
203	 * (PHP 5 &gt;= 5.1.0)<br/>
204	 * Returns the documentation for the given option name
205	 * @link http://php.net/manual/en/tidy.getoptdoc.php
206	 * @param string $optname <p>
207	 * The option name
208	 * </p>
209	 * @return string a string if the option exists and has documentation available, or
210	 * false otherwise.
211	 */
212	public function getOptDoc ($optname) {}
213
214	/**
215	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
216	 * Indicates if the document is a XHTML document
217	 * @link http://php.net/manual/en/tidy.isxhtml.php
218	 * @return bool This function returns true if the specified tidy
219	 * object is a XHTML document, or false otherwise.
220	 * </p>
221	 * <p>
222	 * This function is not yet implemented in the Tidylib itself, so it always
223	 * return false.
224	 */
225	public function isXhtml () {}
226
227	/**
228	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
229	 * Indicates if the document is a generic (non HTML/XHTML) XML document
230	 * @link http://php.net/manual/en/tidy.isxml.php
231	 * @return bool This function returns true if the specified tidy
232	 * object is a generic XML document (non HTML/XHTML),
233	 * or false otherwise.
234	 * </p>
235	 * <p>
236	 * This function is not yet implemented in the Tidylib itself, so it always
237	 * return false.
238	 */
239	public function isXml () {}
240
241	/**
242	 * (PHP 5, PECL tidy 0.5.2-1.0.0)<br/>
243	 * Returns a <classname>tidyNode</classname> object representing the root of the tidy parse tree
244	 * @link http://php.net/manual/en/tidy.root.php
245	 * @return tidyNode the tidyNode object.
246	 */
247	public function root () {}
248
249	/**
250	 * (PHP 5, PECL tidy 0.5.2-1.0.0)<br/>
251	 * Returns a <classname>tidyNode</classname> object starting from the &lt;head&gt; tag of the tidy parse tree
252	 * @link http://php.net/manual/en/tidy.head.php
253	 * @return tidyNode the tidyNode object.
254	 */
255	public function head () {}
256
257	/**
258	 * (PHP 5, PECL tidy 0.5.2-1.0.0)<br/>
259	 * Returns a <classname>tidyNode</classname> object starting from the &lt;html&gt; tag of the tidy parse tree
260	 * @link http://php.net/manual/en/tidy.html.php
261	 * @return tidyNode the tidyNode object.
262	 */
263	public function html () {}
264
265	/**
266	 * (PHP 5, PECL tidy 0.5.2-1.0)<br/>
267	 * Returns a <classname>tidyNode</classname> object starting from the &lt;body&gt; tag of the tidy parse tree
268	 * @link http://php.net/manual/en/tidy.body.php
269	 * @return tidyNode the detected HTML version.
270	 * </p>
271	 * <p>
272	 * This function is not yet implemented in the Tidylib itself, so it always
273	 * return 0.
274	 */
275	public function body () {}
276
277	/**
278	 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
279	 * Constructs a new <classname>tidy</classname> object
280	 * @link http://php.net/manual/en/tidy.construct.php
281	 * @param string $filename [optional] <p>
282	 * If the filename parameter is given, this function
283	 * will also read that file and initialize the object with the file,
284	 * acting like tidy_parse_file.
285	 * </p>
286	 * @param mixed $config [optional] <p>
287	 * The config config can be passed either as an
288	 * array or as a string. If a string is passed, it is interpreted as the
289	 * name of the configuration file, otherwise, it is interpreted as the
290	 * options themselves.
291	 * </p>
292	 * <p>
293	 * For an explanation about each option, visit &url.tidy.conf;.
294	 * </p>
295	 * @param string $encoding [optional] <p>
296	 * The encoding parameter sets the encoding for
297	 * input/output documents. The possible values for encoding are: 
298	 * ascii, latin0, latin1,
299	 * raw, utf8, iso2022,
300	 * mac, win1252, ibm858,
301	 * utf16, utf16le, utf16be,
302	 * big5, and shiftjis.
303	 * </p>
304	 * @param bool $use_include_path [optional] <p>
305	 * Search for the file in the include_path.
306	 * </p>
307	 * @return tidy the new tidy instance.
308	 */
309	public function __construct ($filename = null, $config = null, $encoding = null, $use_include_path = null) {}
310
311}
312
313/**
314 * An HTML node in an HTML file, as detected by tidy.
315 * @link http://php.net/manual/en/class.tidynode.php
316 */
317final class tidyNode  {
318
319    /**
320     * @var The HTML representation of the node, including the surrounding tags.
321     */
322    var $value;
323    /**
324     * @var The name of the HTML node
325     */
326    var $name;
327    /**
328     * @var The type of the tag (one of the constants above, e.g. TIDY_NODETYPE_PHP)
329     */
330    var $type;
331    /**
332     * @var The line number at which the tags is located in the file
333     */
334    var $line;
335    /**
336     * @var The column number at which the tags is located in the file
337     */
338    var $column;
339    /**
340     * @var Indicates if the node is a proprietary tag
341     */
342    var $proprietary;
343    /**
344     * @var The ID of the tag (one of the constants above, e.g. TIDY_TAG_FRAME)
345     */
346    var $id;
347    /**
348     * @var An array of string, representing the attributes names (as keys) of the current node.
349     */
350    var $attribute;
351    /**
352     * @var An array of TidyNode, representing the children of the current node.
353     */
354    var $child;
355
356    /**
357	 * (PHP 5 &gt;= 5.0.1)<br/>
358	 * Checks if a node has children
359	 * @link http://php.net/manual/en/tidynode.haschildren.php
360	 * @return bool true if the node has children, false otherwise.
361	 */
362	public function hasChildren () {}
363
364	/**
365	 * (PHP 5 &gt;= 5.0.1)<br/>
366	 * Checks if a node has siblings
367	 * @link http://php.net/manual/en/tidynode.hassiblings.php
368	 * @return bool true if the node has siblings, false otherwise.
369	 */
370	public function hasSiblings () {}
371
372	/**
373	 * (PHP 5 &gt;= 5.0.1)<br/>
374	 * Checks if a node represents a comment
375	 * @link http://php.net/manual/en/tidynode.iscomment.php
376	 * @return bool true if the node is a comment, false otherwise.
377	 */
378	public function isComment () {}
379
380	/**
381	 * (PHP 5 &gt;= 5.0.1)<br/>
382	 * Checks if a node is part of a HTML document
383	 * @link http://php.net/manual/en/tidynode.ishtml.php
384	 * @return bool true if the node is part of a HTML document, false otherwise.
385	 */
386	public function isHtml () {}
387
388	/**
389	 * (PHP 5 &gt;= 5.0.1)<br/>
390	 * Checks if a node represents text (no markup)
391	 * @link http://php.net/manual/en/tidynode.istext.php
392	 * @return bool true if the node represent a text, false otherwise.
393	 */
394	public function isText () {}
395
396	/**
397	 * (PHP 5 &gt;= 5.0.1)<br/>
398	 * Checks if this node is JSTE
399	 * @link http://php.net/manual/en/tidynode.isjste.php
400	 * @return bool true if the node is JSTE, false otherwise.
401	 */
402	public function isJste () {}
403
404	/**
405	 * (PHP 5 &gt;= 5.0.1)<br/>
406	 * Checks if this node is ASP
407	 * @link http://php.net/manual/en/tidynode.isasp.php
408	 * @return bool true if the node is ASP, false otherwise.
409	 */
410	public function isAsp () {}
411
412	/**
413	 * (PHP 5 &gt;= 5.0.1)<br/>
414	 * Checks if a node is PHP
415	 * @link http://php.net/manual/en/tidynode.isphp.php
416	 * @return bool true if the current node is PHP code, false otherwise.
417	 */
418	public function isPhp () {}
419
420	/**
421	 * (PHP 5 &gt;= 5.2.2)<br/>
422	 * Returns the parent node of the current node
423	 * @link http://php.net/manual/en/tidynode.getparent.php
424	 * @return tidyNode a tidyNode if the node has a parent, or &null;
425	 * otherwise.
426	 */
427	public function getParent () {}
428
429}
430
431/**
432 * @param $option
433 */
434function tidy_getopt ($option) {}
435
436/**
437 * @param $input
438 * @param $config_options [optional]
439 * @param $encoding [optional]
440 */
441function tidy_parse_string ($input, $config_options, $encoding) {}
442
443/**
444 * @param $file
445 * @param $config_options [optional]
446 * @param $encoding [optional]
447 * @param $use_include_path [optional]
448 */
449function tidy_parse_file ($file, $config_options, $encoding, $use_include_path) {}
450
451/**
452 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
453 * Return a string representing the parsed tidy markup
454 * @link http://php.net/manual/en/function.tidy-get-output.php
455 * @param tidy $object <p>
456 * &tidy.object;
457 * </p>
458 * @return string the parsed tidy markup.
459 */
460function tidy_get_output (tidy $object ) {}
461
462/**
463 * Return warnings and errors which occurred parsing the specified document
464 * @link http://php.net/manual/en/function.tidy-get-error-buffer.php
465 * @param tidy $detailed[optional]
466 */
467function tidy_get_error_buffer ($detailed) {}
468
469/**
470 * Execute configured cleanup and repair operations on parsed markup
471 * @link http://php.net/manual/en/function.tidy-clean-repair.php
472 */
473function tidy_clean_repair () {}
474
475/**
476 * Repair a string using an optionally provided configuration file
477 * @link http://php.net/manual/en/function.tidy-repair-string.php
478 * @param $data
479 * @param $config_file [optional]
480 * @param $encoding [optional]
481 */
482function tidy_repair_string ($data, $config_file, $encoding) {}
483
484/**
485 * Repair a file and return it as a string
486 * @link http://php.net/manual/en/function.tidy-repair-file.php
487 * @param $filename
488 * @param $config_file [optional]
489 * @param $encoding [optional]
490 * @param $use_include_path [optional]
491 */
492function tidy_repair_file ($filename, $config_file, $encoding, $use_include_path) {}
493
494/**
495 * Run configured diagnostics on parsed and repaired markup
496 * @link http://php.net/manual/en/function.tidy-diagnose.php
497 */
498function tidy_diagnose () {}
499
500/**
501 * Get release date (version) for Tidy library
502 * @link http://php.net/manual/en/function.tidy-get-release.php
503 * @return string a string with the release date of the Tidy library.
504 */
505function tidy_get_release () {}
506
507/**
508 * Get current Tidy configuration
509 * @link http://php.net/manual/en/function.tidy-get-config.php
510 */
511function tidy_get_config () {}
512
513/**
514 * Get status of specified document
515 * @link http://php.net/manual/en/function.tidy-get-status.php
516 */
517function tidy_get_status () {}
518
519/**
520 * Get the Detected HTML version for the specified document
521 * @link http://php.net/manual/en/function.tidy-get-html-ver.php
522 */
523function tidy_get_html_ver () {}
524
525/**
526 * Indicates if the document is a XHTML document
527 * @link http://php.net/manual/en/function.tidy-is-xhtml.php
528 */
529function tidy_is_xhtml () {}
530
531/**
532 * Indicates if the document is a generic (non HTML/XHTML) XML document
533 * @link http://php.net/manual/en/function.tidy-is-xml.php
534 */
535function tidy_is_xml () {}
536
537/**
538 * Returns the Number of Tidy errors encountered for specified document
539 * @link http://php.net/manual/en/function.tidy-error-count.php
540 */
541function tidy_error_count () {}
542
543/**
544 * Returns the Number of Tidy warnings encountered for specified document
545 * @link http://php.net/manual/en/function.tidy-warning-count.php
546 * @param $object tidy <p>
547 * The Tidy object.
548 * </p>
549 * @return int the number of warnings.
550 */
551function tidy_warning_count (tidy $object) {}
552
553/**
554 * Returns the Number of Tidy accessibility warnings encountered for specified document
555 * @link http://php.net/manual/en/function.tidy-access-count.php
556 * @param $object tidy <p>
557 * The Tidy object.
558 * </p>
559 * @return int the number of warnings.
560 */
561function tidy_access_count (tidy $object) {}
562
563/**
564 * (PHP 5, PECL tidy &gt;= 0.5.2)<br/>
565 * Returns the Number of Tidy configuration errors encountered for specified document
566 * @link http://php.net/manual/en/function.tidy-config-count.php
567 * @param tidy $object <p>
568 * &tidy.object;
569 * </p>
570 * @return int the number of errors.
571 */
572function tidy_config_count (tidy $object) {}
573
574/**
575 * Returns the documentation for the given option name
576 * @link http://php.net/manual/en/function.tidy-get-opt-doc.php
577 * @param $object tidy <p>
578 * A tidy object
579 * </p>
580 * @param $optname string <p>
581 * The option name
582 * </p>
583 * @return string a string if the option exists and has documentation available, or
584 * false otherwise.
585 */
586function tidy_get_opt_doc (tidy $object, $optname) {}
587
588/**
589 * Returns a tidyNode object representing the root of the tidy parse tree
590 * @link http://php.net/manual/en/function.tidy-get-root.php
591 */
592function tidy_get_root () {}
593
594/**
595 * Returns a tidyNode Object starting from the &lt;head&gt; tag of the tidy parse tree
596 * @link http://php.net/manual/en/function.tidy-get-head.php
597 */
598function tidy_get_head () {}
599
600/**
601 * Returns a tidyNode Object starting from the &lt;html&gt; tag of the tidy parse tree
602 * @link http://php.net/manual/en/function.tidy-get-html.php
603 */
604function tidy_get_html () {}
605
606/**
607 * Returns a tidyNode Object starting from the &lt;body&gt; tag of the tidy parse tree
608 * @link http://php.net/manual/en/function.tidy-get-body.php
609 * @param tidy
610 */
611function tidy_get_body ($tidy) {}
612
613/**
614 * (PHP 5)<br/>
615 * ob_start callback function to repair the buffer
616 * @link http://php.net/manual/en/function.ob-tidyhandler.php
617 * @param string $input <p>
618 * The buffer.
619 * </p>
620 * @param int $mode [optional] <p>
621 * The buffer mode.
622 * </p>
623 * @return string the modified buffer.
624 */
625function ob_tidyhandler ($input, $mode = null) {}
626
627
628/**
629 * description
630 * @link http://php.net/manual/en/tidy.constants.php
631 */
632define ('TIDY_TAG_UNKNOWN', 0);
633define ('TIDY_TAG_A', 1);
634define ('TIDY_TAG_ABBR', 2);
635define ('TIDY_TAG_ACRONYM', 3);
636define ('TIDY_TAG_ADDRESS', 4);
637define ('TIDY_TAG_ALIGN', 5);
638define ('TIDY_TAG_APPLET', 6);
639define ('TIDY_TAG_AREA', 7);
640define ('TIDY_TAG_B', 8);
641define ('TIDY_TAG_BASE', 9);
642define ('TIDY_TAG_BASEFONT', 10);
643define ('TIDY_TAG_BDO', 11);
644define ('TIDY_TAG_BGSOUND', 12);
645define ('TIDY_TAG_BIG', 13);
646define ('TIDY_TAG_BLINK', 14);
647define ('TIDY_TAG_BLOCKQUOTE', 15);
648define ('TIDY_TAG_BODY', 16);
649define ('TIDY_TAG_BR', 17);
650define ('TIDY_TAG_BUTTON', 18);
651define ('TIDY_TAG_CAPTION', 19);
652define ('TIDY_TAG_CENTER', 20);
653define ('TIDY_TAG_CITE', 21);
654define ('TIDY_TAG_CODE', 22);
655define ('TIDY_TAG_COL', 23);
656define ('TIDY_TAG_COLGROUP', 24);
657define ('TIDY_TAG_COMMENT', 25);
658define ('TIDY_TAG_DD', 26);
659define ('TIDY_TAG_DEL', 27);
660define ('TIDY_TAG_DFN', 28);
661define ('TIDY_TAG_DIR', 29);
662define ('TIDY_TAG_DIV', 30);
663define ('TIDY_TAG_DL', 31);
664define ('TIDY_TAG_DT', 32);
665define ('TIDY_TAG_EM', 33);
666define ('TIDY_TAG_EMBED', 34);
667define ('TIDY_TAG_FIELDSET', 35);
668define ('TIDY_TAG_FONT', 36);
669define ('TIDY_TAG_FORM', 37);
670define ('TIDY_TAG_FRAME', 38);
671define ('TIDY_TAG_FRAMESET', 39);
672define ('TIDY_TAG_H1', 40);
673define ('TIDY_TAG_H2', 41);
674define ('TIDY_TAG_H3', 42);
675define ('TIDY_TAG_H4', 43);
676define ('TIDY_TAG_H5', 44);
677define ('TIDY_TAG_H6', 45);
678define ('TIDY_TAG_HEAD', 46);
679define ('TIDY_TAG_HR', 47);
680define ('TIDY_TAG_HTML', 48);
681define ('TIDY_TAG_I', 49);
682define ('TIDY_TAG_IFRAME', 50);
683define ('TIDY_TAG_ILAYER', 51);
684define ('TIDY_TAG_IMG', 52);
685define ('TIDY_TAG_INPUT', 53);
686define ('TIDY_TAG_INS', 54);
687define ('TIDY_TAG_ISINDEX', 55);
688define ('TIDY_TAG_KBD', 56);
689define ('TIDY_TAG_KEYGEN', 57);
690define ('TIDY_TAG_LABEL', 58);
691define ('TIDY_TAG_LAYER', 59);
692define ('TIDY_TAG_LEGEND', 60);
693define ('TIDY_TAG_LI', 61);
694define ('TIDY_TAG_LINK', 62);
695define ('TIDY_TAG_LISTING', 63);
696define ('TIDY_TAG_MAP', 64);
697define ('TIDY_TAG_MARQUEE', 65);
698define ('TIDY_TAG_MENU', 66);
699define ('TIDY_TAG_META', 67);
700define ('TIDY_TAG_MULTICOL', 68);
701define ('TIDY_TAG_NOBR', 69);
702define ('TIDY_TAG_NOEMBED', 70);
703define ('TIDY_TAG_NOFRAMES', 71);
704define ('TIDY_TAG_NOLAYER', 72);
705define ('TIDY_TAG_NOSAVE', 73);
706define ('TIDY_TAG_NOSCRIPT', 74);
707define ('TIDY_TAG_OBJECT', 75);
708define ('TIDY_TAG_OL', 76);
709define ('TIDY_TAG_OPTGROUP', 77);
710define ('TIDY_TAG_OPTION', 78);
711define ('TIDY_TAG_P', 79);
712define ('TIDY_TAG_PARAM', 80);
713define ('TIDY_TAG_PLAINTEXT', 81);
714define ('TIDY_TAG_PRE', 82);
715define ('TIDY_TAG_Q', 83);
716define ('TIDY_TAG_RB', 84);
717define ('TIDY_TAG_RBC', 85);
718define ('TIDY_TAG_RP', 86);
719define ('TIDY_TAG_RT', 87);
720define ('TIDY_TAG_RTC', 88);
721define ('TIDY_TAG_RUBY', 89);
722define ('TIDY_TAG_S', 90);
723define ('TIDY_TAG_SAMP', 91);
724define ('TIDY_TAG_SCRIPT', 92);
725define ('TIDY_TAG_SELECT', 93);
726define ('TIDY_TAG_SERVER', 94);
727define ('TIDY_TAG_SERVLET', 95);
728define ('TIDY_TAG_SMALL', 96);
729define ('TIDY_TAG_SPACER', 97);
730define ('TIDY_TAG_SPAN', 98);
731define ('TIDY_TAG_STRIKE', 99);
732define ('TIDY_TAG_STRONG', 100);
733define ('TIDY_TAG_STYLE', 101);
734define ('TIDY_TAG_SUB', 102);
735define ('TIDY_TAG_SUP', 103);
736define ('TIDY_TAG_TABLE', 104);
737define ('TIDY_TAG_TBODY', 105);
738define ('TIDY_TAG_TD', 106);
739define ('TIDY_TAG_TEXTAREA', 107);
740define ('TIDY_TAG_TFOOT', 108);
741define ('TIDY_TAG_TH', 109);
742define ('TIDY_TAG_THEAD', 110);
743define ('TIDY_TAG_TITLE', 111);
744define ('TIDY_TAG_TR', 112);
745define ('TIDY_TAG_TT', 113);
746define ('TIDY_TAG_U', 114);
747define ('TIDY_TAG_UL', 115);
748define ('TIDY_TAG_VAR', 116);
749define ('TIDY_TAG_WBR', 117);
750define ('TIDY_TAG_XMP', 118);
751
752/**
753 * root node
754 * @link http://php.net/manual/en/tidy.constants.php
755 */
756define ('TIDY_NODETYPE_ROOT', 0);
757
758/**
759 * doctype
760 * @link http://php.net/manual/en/tidy.constants.php
761 */
762define ('TIDY_NODETYPE_DOCTYPE', 1);
763
764/**
765 * HTML comment
766 * @link http://php.net/manual/en/tidy.constants.php
767 */
768define ('TIDY_NODETYPE_COMMENT', 2);
769
770/**
771 * Processing Instruction
772 * @link http://php.net/manual/en/tidy.constants.php
773 */
774define ('TIDY_NODETYPE_PROCINS', 3);
775
776/**
777 * Text
778 * @link http://php.net/manual/en/tidy.constants.php
779 */
780define ('TIDY_NODETYPE_TEXT', 4);
781
782/**
783 * start tag
784 * @link http://php.net/manual/en/tidy.constants.php
785 */
786define ('TIDY_NODETYPE_START', 5);
787
788/**
789 * end tag
790 * @link http://php.net/manual/en/tidy.constants.php
791 */
792define ('TIDY_NODETYPE_END', 6);
793
794/**
795 * empty tag
796 * @link http://php.net/manual/en/tidy.constants.php
797 */
798define ('TIDY_NODETYPE_STARTEND', 7);
799
800/**
801 * CDATA
802 * @link http://php.net/manual/en/tidy.constants.php
803 */
804define ('TIDY_NODETYPE_CDATA', 8);
805
806/**
807 * XML section
808 * @link http://php.net/manual/en/tidy.constants.php
809 */
810define ('TIDY_NODETYPE_SECTION', 9);
811
812/**
813 * ASP code
814 * @link http://php.net/manual/en/tidy.constants.php
815 */
816define ('TIDY_NODETYPE_ASP', 10);
817
818/**
819 * JSTE code
820 * @link http://php.net/manual/en/tidy.constants.php
821 */
822define ('TIDY_NODETYPE_JSTE', 11);
823
824/**
825 * PHP code
826 * @link http://php.net/manual/en/tidy.constants.php
827 */
828define ('TIDY_NODETYPE_PHP', 12);
829
830/**
831 * XML declaration
832 * @link http://php.net/manual/en/tidy.constants.php
833 */
834define ('TIDY_NODETYPE_XMLDECL', 13);
835
836// End of tidy v.2.0
837?>