src/ADT/CSS/Sheet.php
public function removeRuleBySelector( $selector ){
		foreach( $this->rules as $nr => $rule ){
			if( $selector == $rule->getSelector() ){
				unset( $this->rules[$nr] );
				return TRUE;
			}
		}
		return FALSE;
	}
public function removeRuleBySelector( $selector ){
		foreach( $this->rules as $nr => $rule ){
			if( $selector == $rule->getSelector() ){
				unset( $this->rules[$nr] );
				return TRUE;
			}
		}
		return FALSE;
	}
public function removeRuleBySelector ( $ selector ) { foreach ( $ this -> rules as $ nr => $ rule ) { if ( $ selector == $ rule -> getSelector ( ) ) { unset ( $ this -> rules [ $ nr ] ) ; return TRUE ; } } return FALSE ; }
Removes a rule by its selector.
@access		public
@param		string			$selector		Rule selector
@return		boolean
Removes a rule by its selector .