public __construct ( $str = null, $lowercase = true, $forceTagsClosed = true, $target_charset = DEFAULT_TARGET_CHARSET, $stripRN = true, $defaultBRText = DEFAULT_BR_TEXT ) |
function __construct($base_url, $page = NULL) { if (!$page) { parent::__construct($base_url); } else { parent::__construct($base_url . $page); } $this->base_url = $base_url; $this->faculty_info = $this->get_faculty_info(); $this->faculty_thumb_srcs = $this->get_faculty_thumb_srcs(); $this->faculty_members = array_map(array($this, "merge_obj_arrays"), $this->faculty_info, $this->faculty_thumb_srcs); }
public function __construct($str = null) { $lowercase = true; $forceTagsClosed = true; $target_charset = DEFAULT_TARGET_CHARSET; $stripRN = true; $defaultBRText = DEFAULT_BR_TEXT; $defaultSpanText = DEFAULT_SPAN_TEXT; parent::__construct(null, $lowercase, $forceTagsClosed, $target_charset, $stripRN, $defaultBRText, $defaultSpanText); if (empty($str) || strlen($str) > MAX_FILE_SIZE) { throw new \RuntimeException('Wrong $str param. Strlen = ' . ($str ? strlen($str) : 0)); } $this->load($str, $lowercase, $stripRN); }
function CI_Phpdom() { //php dom construct parent::__construct(); }
public function __construct($sHtml) { $this->block_tags[HDOM_ROOT_PSEUDOTAG] = 1; $this->dom_node_class = 'DomFragNode'; parent::__construct($sHtml, false, false, 'UTF-8', false); }
public function __construct() { parent::__construct(); }