public function setMimeEncoding($type = 'text/html', $sync = true)
	{
		$this->_mime = strtolower($type);

		// Syncing with meta-data
		if ($sync)
		{
			$this->setMetaData('content-type', $type, true, false);
		}

		return $this;
	}
public function setMimeEncoding($type = 'text/html', $sync = true)
	{
		$this->_mime = strtolower($type);

		// Syncing with meta-data
		if ($sync)
		{
			$this->setMetaData('content-type', $type, true, false);
		}

		return $this;
	}
public function setMimeEncoding ( $ type = 'text/html' , $ sync = true ) { $ this -> _mime = strtolower ( $ type ) ; // Syncing with meta-data if ( $ sync ) { $ this -> setMetaData ( 'content-type' , $ type , true , false ) ; } return $ this ; }
Sets the document MIME encoding that is sent to the browser.

@param   string   $type  The document type to be sent
@param   boolean  $sync  Should the type be synced with HTML?
@return  object   Document instance of $this to allow chaining
Sets the document MIME encoding that is sent to the browser .