src/ADT/CSS/Sheet.php
public function hasRuleBySelector( $selector ){
		foreach( $this->rules as $rule )
			if( $selector == $rule->getSelector() )
				return TRUE;
		return FALSE;
	}
public function hasRuleBySelector( $selector ){
		foreach( $this->rules as $rule )
			if( $selector == $rule->getSelector() )
				return TRUE;
		return FALSE;
	}
public function hasRuleBySelector ( $ selector ) { foreach ( $ this -> rules as $ rule ) if ( $ selector == $ rule -> getSelector ( ) ) return TRUE ; return FALSE ; }
Indicates whether a rule is existing by its selector.
@access		public
@param		string			$selector	Rule selector
@return		boolean
Indicates whether a rule is existing by its selector .