dolibarr/dev/tools/phan/stubs/tidy.phan_php
2024-09-06 20:28:06 +08:00

245 lines
7.1 KiB
Plaintext

<?php
// These stubs were generated by the phan stub generator.
// @phan-stub-for-extension tidy@7.4.33
namespace {
class tidy {
// properties
public $errorBuffer;
// methods
public function getOpt($option) {}
public function cleanRepair() {}
public function parseFile($file, $config_options = null, $encoding = null, $use_include_path = null) {}
public function parseString($input, $config_options = null, $encoding = null) {}
public function repairString($data, $config_file = null, $encoding = null) {}
public function repairFile($filename, $config_file = null, $encoding = null, $use_include_path = null) {}
public function diagnose() {}
public function getRelease() {}
public function getConfig() {}
public function getStatus() {}
public function getHtmlVer() {}
public function getOptDoc($optname) {}
public function isXhtml() {}
public function isXml() {}
public function root() {}
public function head() {}
public function html() {}
public function body() {}
public function __construct($filename = null, $config_file = null, $encoding = null, $use_include_path = null) {}
}
final class tidyNode {
// properties
public $attribute;
public $child;
public $column;
public $id;
public $line;
public $name;
public $proprietary;
public $type;
public $value;
// methods
public function hasChildren() {}
public function hasSiblings() {}
public function isComment() {}
public function isHtml() {}
public function isText() {}
public function isJste() {}
public function isAsp() {}
public function isPhp() {}
public function getParent() {}
private function __construct() {}
}
function tidy_access_count($object) {}
function tidy_clean_repair($object) {}
function tidy_config_count($object) {}
function tidy_diagnose($object) {}
function tidy_error_count($object) {}
function tidy_get_body($tidy) {}
function tidy_get_config($object) {}
function tidy_get_error_buffer($object) {}
function tidy_get_head($object) {}
function tidy_get_html($object) {}
function tidy_get_html_ver($object) {}
function tidy_get_opt_doc($resource, $optname) {}
function tidy_get_output($object) {}
function tidy_get_release() {}
function tidy_get_root($object) {}
function tidy_get_status($object) {}
function tidy_getopt($object, $option) {}
function tidy_is_xhtml($object) {}
function tidy_is_xml($object) {}
function tidy_parse_file($file, $config_options = null, $encoding = null, $use_include_path = null) {}
function tidy_parse_string($input, $config_options = null, $encoding = null) {}
function tidy_repair_file($filename, $config_file = null, $encoding = null, $use_include_path = null) {}
function tidy_repair_string($data, $config_file = null, $encoding = null) {}
function tidy_warning_count($object) {}
const TIDY_NODETYPE_ASP = 10;
const TIDY_NODETYPE_CDATA = 8;
const TIDY_NODETYPE_COMMENT = 2;
const TIDY_NODETYPE_DOCTYPE = 1;
const TIDY_NODETYPE_END = 6;
const TIDY_NODETYPE_JSTE = 11;
const TIDY_NODETYPE_PHP = 12;
const TIDY_NODETYPE_PROCINS = 3;
const TIDY_NODETYPE_ROOT = 0;
const TIDY_NODETYPE_SECTION = 9;
const TIDY_NODETYPE_START = 5;
const TIDY_NODETYPE_STARTEND = 7;
const TIDY_NODETYPE_TEXT = 4;
const TIDY_NODETYPE_XMLDECL = 13;
const TIDY_TAG_A = 1;
const TIDY_TAG_ABBR = 2;
const TIDY_TAG_ACRONYM = 3;
const TIDY_TAG_ADDRESS = 4;
const TIDY_TAG_ALIGN = 5;
const TIDY_TAG_APPLET = 6;
const TIDY_TAG_AREA = 7;
const TIDY_TAG_ARTICLE = 123;
const TIDY_TAG_ASIDE = 124;
const TIDY_TAG_AUDIO = 125;
const TIDY_TAG_B = 8;
const TIDY_TAG_BASE = 9;
const TIDY_TAG_BASEFONT = 10;
const TIDY_TAG_BDI = 126;
const TIDY_TAG_BDO = 11;
const TIDY_TAG_BGSOUND = 12;
const TIDY_TAG_BIG = 13;
const TIDY_TAG_BLINK = 14;
const TIDY_TAG_BLOCKQUOTE = 15;
const TIDY_TAG_BODY = 16;
const TIDY_TAG_BR = 17;
const TIDY_TAG_BUTTON = 18;
const TIDY_TAG_CANVAS = 127;
const TIDY_TAG_CAPTION = 19;
const TIDY_TAG_CENTER = 20;
const TIDY_TAG_CITE = 21;
const TIDY_TAG_CODE = 22;
const TIDY_TAG_COL = 23;
const TIDY_TAG_COLGROUP = 24;
const TIDY_TAG_COMMAND = 128;
const TIDY_TAG_COMMENT = 25;
const TIDY_TAG_DATALIST = 129;
const TIDY_TAG_DD = 26;
const TIDY_TAG_DEL = 27;
const TIDY_TAG_DETAILS = 130;
const TIDY_TAG_DFN = 28;
const TIDY_TAG_DIALOG = 131;
const TIDY_TAG_DIR = 29;
const TIDY_TAG_DIV = 30;
const TIDY_TAG_DL = 31;
const TIDY_TAG_DT = 32;
const TIDY_TAG_EM = 33;
const TIDY_TAG_EMBED = 34;
const TIDY_TAG_FIELDSET = 35;
const TIDY_TAG_FIGCAPTION = 132;
const TIDY_TAG_FIGURE = 133;
const TIDY_TAG_FONT = 36;
const TIDY_TAG_FOOTER = 134;
const TIDY_TAG_FORM = 37;
const TIDY_TAG_FRAME = 38;
const TIDY_TAG_FRAMESET = 39;
const TIDY_TAG_H1 = 40;
const TIDY_TAG_H2 = 41;
const TIDY_TAG_H3 = 42;
const TIDY_TAG_H4 = 43;
const TIDY_TAG_H5 = 44;
const TIDY_TAG_H6 = 45;
const TIDY_TAG_HEAD = 46;
const TIDY_TAG_HEADER = 135;
const TIDY_TAG_HGROUP = 136;
const TIDY_TAG_HR = 47;
const TIDY_TAG_HTML = 48;
const TIDY_TAG_I = 49;
const TIDY_TAG_IFRAME = 50;
const TIDY_TAG_ILAYER = 51;
const TIDY_TAG_IMG = 52;
const TIDY_TAG_INPUT = 53;
const TIDY_TAG_INS = 54;
const TIDY_TAG_ISINDEX = 55;
const TIDY_TAG_KBD = 56;
const TIDY_TAG_KEYGEN = 57;
const TIDY_TAG_LABEL = 58;
const TIDY_TAG_LAYER = 59;
const TIDY_TAG_LEGEND = 60;
const TIDY_TAG_LI = 61;
const TIDY_TAG_LINK = 62;
const TIDY_TAG_LISTING = 63;
const TIDY_TAG_MAIN = 137;
const TIDY_TAG_MAP = 64;
const TIDY_TAG_MARK = 138;
const TIDY_TAG_MARQUEE = 66;
const TIDY_TAG_MENU = 67;
const TIDY_TAG_MENUITEM = 139;
const TIDY_TAG_META = 68;
const TIDY_TAG_METER = 140;
const TIDY_TAG_MULTICOL = 69;
const TIDY_TAG_NAV = 141;
const TIDY_TAG_NOBR = 70;
const TIDY_TAG_NOEMBED = 71;
const TIDY_TAG_NOFRAMES = 72;
const TIDY_TAG_NOLAYER = 73;
const TIDY_TAG_NOSAVE = 74;
const TIDY_TAG_NOSCRIPT = 75;
const TIDY_TAG_OBJECT = 76;
const TIDY_TAG_OL = 77;
const TIDY_TAG_OPTGROUP = 78;
const TIDY_TAG_OPTION = 79;
const TIDY_TAG_OUTPUT = 142;
const TIDY_TAG_P = 80;
const TIDY_TAG_PARAM = 81;
const TIDY_TAG_PLAINTEXT = 83;
const TIDY_TAG_PRE = 84;
const TIDY_TAG_PROGRESS = 143;
const TIDY_TAG_Q = 85;
const TIDY_TAG_RB = 86;
const TIDY_TAG_RBC = 87;
const TIDY_TAG_RP = 88;
const TIDY_TAG_RT = 89;
const TIDY_TAG_RTC = 90;
const TIDY_TAG_RUBY = 91;
const TIDY_TAG_S = 92;
const TIDY_TAG_SAMP = 93;
const TIDY_TAG_SCRIPT = 94;
const TIDY_TAG_SECTION = 144;
const TIDY_TAG_SELECT = 95;
const TIDY_TAG_SERVER = 96;
const TIDY_TAG_SERVLET = 97;
const TIDY_TAG_SMALL = 98;
const TIDY_TAG_SOURCE = 145;
const TIDY_TAG_SPACER = 99;
const TIDY_TAG_SPAN = 100;
const TIDY_TAG_STRIKE = 101;
const TIDY_TAG_STRONG = 102;
const TIDY_TAG_STYLE = 103;
const TIDY_TAG_SUB = 104;
const TIDY_TAG_SUMMARY = 146;
const TIDY_TAG_SUP = 105;
const TIDY_TAG_TABLE = 107;
const TIDY_TAG_TBODY = 108;
const TIDY_TAG_TD = 109;
const TIDY_TAG_TEMPLATE = 147;
const TIDY_TAG_TEXTAREA = 110;
const TIDY_TAG_TFOOT = 111;
const TIDY_TAG_TH = 112;
const TIDY_TAG_THEAD = 113;
const TIDY_TAG_TIME = 148;
const TIDY_TAG_TITLE = 114;
const TIDY_TAG_TR = 115;
const TIDY_TAG_TRACK = 149;
const TIDY_TAG_TT = 116;
const TIDY_TAG_U = 117;
const TIDY_TAG_UL = 118;
const TIDY_TAG_UNKNOWN = 0;
const TIDY_TAG_VAR = 119;
const TIDY_TAG_VIDEO = 150;
const TIDY_TAG_WBR = 120;
const TIDY_TAG_XMP = 121;
}