includes/Parser.php
public function addUpgraded(DOMElement $el, $property) {
		if ( !is_array($property) ) {
			$property = array($property);
		}

		// add element to list of upgraded elements
		if ( !$this->upgraded->contains($el) ) {
			$this->upgraded->attach($el, $property);
		} else {
			$this->upgraded[$el] = array_merge($this->upgraded[$el], $property);
		}
	}
public function addUpgraded(DOMElement $el, $property) {
		if ( !is_array($property) ) {
			$property = array($property);
		}

		// add element to list of upgraded elements
		if ( !$this->upgraded->contains($el) ) {
			$this->upgraded->attach($el, $property);
		} else {
			$this->upgraded[$el] = array_merge($this->upgraded[$el], $property);
		}
	}
public function addUpgraded ( DOMElement $ el , $ property ) { if ( ! is_array ( $ property ) ) { $ property = array ( $ property ) ; } // add element to list of upgraded elements if ( ! $ this -> upgraded -> contains ( $ el ) ) { $ this -> upgraded -> attach ( $ el , $ property ) ; } else { $ this -> upgraded [ $ el ] = array_merge ( $ this -> upgraded [ $ el ] , $ property ) ; } }
Add element + property as upgraded during backcompat
@param DOMElement $el
@param string|array $property
Add element + property as upgraded during backcompat