PageRenderTime 53ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/phpstubs/phpruntime/tidy.php

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