src/FS/File/CSS/Parser.php
static protected function parseProperties( $string ){
		$list	= array();
		foreach( explode( ';', trim( $string ) ) as $line ){
			if( !trim( $line ) )
				continue;
			$parts	= explode( ':', $line );
			$key	= array_shift( $parts );
			$value	= trim( implode( ':', $parts ) );
			$list[]	= new ADT_CSS_Property( $key, $value );
		}
		return $list;
	}
static protected function parseProperties( $string ){
		$list	= array();
		foreach( explode( ';', trim( $string ) ) as $line ){
			if( !trim( $line ) )
				continue;
			$parts	= explode( ':', $line );
			$key	= array_shift( $parts );
			$value	= trim( implode( ':', $parts ) );
			$list[]	= new ADT_CSS_Property( $key, $value );
		}
		return $list;
	}
static protected function parseProperties ( $ string ) { $ list = array ( ) ; foreach ( explode ( ';' , trim ( $ string ) ) as $ line ) { if ( ! trim ( $ line ) ) continue ; $ parts = explode ( ':' , $ line ) ; $ key = array_shift ( $ parts ) ; $ value = trim ( implode ( ':' , $ parts ) ) ; $ list [ ] = new ADT_CSS_Property ( $ key , $ value ) ; } return $ list ; }
Parses CSS properties inside a rule and returns a list of property objects.
@access		protected
@param		string			$string		String of CSS rule properties
@return		array			List of property objects
Parses CSS properties inside a rule and returns a list of property objects .