src/FS/File/CSS/Editor.php
public function getProperties( $selector ){
		if( !$this->sheet )
			throw new RuntimeException( 'No CSS sheet loaded' );
		$rule	= $this->sheet->getRuleBySelector( $selector );
		if( !$rule )
			return array();
		return $rule->getProperties();
	}
public function getProperties( $selector ){
		if( !$this->sheet )
			throw new RuntimeException( 'No CSS sheet loaded' );
		$rule	= $this->sheet->getRuleBySelector( $selector );
		if( !$rule )
			return array();
		return $rule->getProperties();
	}
public function getProperties ( $ selector ) { if ( ! $ this -> sheet ) throw new RuntimeException ( 'No CSS sheet loaded' ) ; $ rule = $ this -> sheet -> getRuleBySelector ( $ selector ) ; if ( ! $ rule ) return array ( ) ; return $ rule -> getProperties ( ) ; }
Returns a list of CSS property objects by a rule selector.
@access		public
@param		string		$selector		Rule selector
@return		array
@throws		RuntimeException	if no CSS sheet is loaded, yet.
Returns a list of CSS property objects by a rule selector .