常用方法
常用方法
常用方法
常用方法
function __construct($thing_url = "") { if ($thing_url != null) { $this->url = $thing_url; $dom = new DomDocument("1.0"); // use @ to suppress parser warnings @$dom->loadHTMLfile($thing_url); $this->initialize_from_dom($dom); } }