예제 #1
0
 public function set($att, $value)
 {
     if (is_object($_t = $this->nodeType) && !$_t instanceof Enum ? $_t !== Xml::$Element : $_t != Xml::$Element) {
         throw new HException("bad nodeType");
     }
     $this->_attributes->set($att, Xml::__decodeattr($value));
 }
예제 #2
0
파일: Xml.class.php 프로젝트: komcdo/winnow
 public function set($att, $value)
 {
     if ($this->nodeType != Xml::$Element) {
         throw new HException("bad nodeType");
     }
     $this->_attributes->set($att, Xml::__decodeattr($value));
 }