lib/YUI/Compressor.php
public function setType($type)
	{
		if ($type === self::TYPE_CSS || $type === self::TYPE_JS)
			$this->_options['type'] = $type;
		else
			throw new Exception('Invalid type: '.$type);
	}
public function setType($type)
	{
		if ($type === self::TYPE_CSS || $type === self::TYPE_JS)
			$this->_options['type'] = $type;
		else
			throw new Exception('Invalid type: '.$type);
	}
public function setType ( $ type ) { if ( $ type === self :: TYPE_CSS || $ type === self :: TYPE_JS ) $ this -> _options [ 'type' ] = $ type ; else throw new Exception ( 'Invalid type: ' . $ type ) ; }
Sets the compressor type. Valid values are TYPE_JS and TYPE_CSS. This
method can be used to change the compressor type after the class has
been instantiated.
@param string $type the type
@throws Exception if the type is invalid
Sets the compressor type . Valid values are TYPE_JS and TYPE_CSS . This method can be used to change the compressor type after the class has been instantiated .