Example #1
0
 public static function fromDom($dom)
 {
     $me = new self();
     $me->loadDom($dom);
     return $me;
 }
Example #2
0
 public static function fromDom($dom, $contextNode = null)
 {
     $me = new self();
     $me->loadDom($dom, $contextNode);
     return $me;
 }