library/QATools/QATools/HtmlElements/Element/AbstractTypifiedElement.php
protected function isAttributeMatching(array $criterion)
	{
		if ( !isset($criterion[self::CRITERION_ATTRS]) ) {
			return true;
		}

		foreach ( $criterion[self::CRITERION_ATTRS] as $attribute => $definition ) {
			if ( $this->isValueMatchingCriterionDefinition($this->getAttribute($attribute), $definition) ) {
				return true;
			}
		}

		return false;
	}
protected function isAttributeMatching(array $criterion)
	{
		if ( !isset($criterion[self::CRITERION_ATTRS]) ) {
			return true;
		}

		foreach ( $criterion[self::CRITERION_ATTRS] as $attribute => $definition ) {
			if ( $this->isValueMatchingCriterionDefinition($this->getAttribute($attribute), $definition) ) {
				return true;
			}
		}

		return false;
	}
protected function isAttributeMatching ( array $ criterion ) { if ( ! isset ( $ criterion [ self :: CRITERION_ATTRS ] ) ) { return true ; } foreach ( $ criterion [ self :: CRITERION_ATTRS ] as $ attribute => $ definition ) { if ( $ this -> isValueMatchingCriterionDefinition ( $ this -> getAttribute ( $ attribute ) , $ definition ) ) { return true ; } } return false ; }
Checks if the attributes of the criterion are matching.

@param array $criterion The criterion.

@return boolean
Checks if the attributes of the criterion are matching .