src/ADT/CSS/Sheet.php
public function set( $selector, $key, $value = NULL ){
		if( $value === NULL || !strlen( $value ) )
			return $this->remove( $selector, $key );
		$rule = $this->getRuleBySelector( $selector );
		if( !$rule ){
			$rule	= new ADT_CSS_Rule( $selector );
			$this->rules[]	= $rule;
		}
		return $rule->setPropertyByKey( $key, $value );
	}
public function set( $selector, $key, $value = NULL ){
		if( $value === NULL || !strlen( $value ) )
			return $this->remove( $selector, $key );
		$rule = $this->getRuleBySelector( $selector );
		if( !$rule ){
			$rule	= new ADT_CSS_Rule( $selector );
			$this->rules[]	= $rule;
		}
		return $rule->setPropertyByKey( $key, $value );
	}
public function set ( $ selector , $ key , $ value = NULL ) { if ( $ value === NULL || ! strlen ( $ value ) ) return $ this -> remove ( $ selector , $ key ) ; $ rule = $ this -> getRuleBySelector ( $ selector ) ; if ( ! $ rule ) { $ rule = new ADT_CSS_Rule ( $ selector ) ; $ this -> rules [ ] = $ rule ; } return $ rule -> setPropertyByKey ( $ key , $ value ) ; }
Sets a properties value.
@access		public
@param		string			$selector		Rule selector
@param		string			$key			Property key
@param		string			$value			Property value
@return		boolean
Sets a properties value .