Class ContentType
Representation of the Content-Type header field.
<?php use ICanBoogie\HTTP\Headers\ContentType; $ct = new ContentType; $ct->type = "text/html"; $ct->charset = "utf-8"; echo $ct; // text/html; charset=utf-8 $ct = ContentType::from("text/plain; charset=iso-8859-1"); echo $ct->type; // text/plain echo $ct->charset; // iso-8859-1
- ICanBoogie\HTTP\Headers\Header implements ArrayAccess
 - 
			
ICanBoogie\HTTP\Headers\ContentType			
			
			
		 
		
		
		Namespace: ICanBoogie\HTTP\Headers
See: http://tools.ietf.org/html/rfc2616#section-14.17
Located at Headers/ContentType.php
	
		See: http://tools.ietf.org/html/rfc2616#section-14.17
Located at Headers/ContentType.php
Methods summary
				 public 
				
				
				
			 | 
			
Methods inherited from ICanBoogie\HTTP\Headers\Header
				__get(), 
				__set(), 
				__toString(), 
				__unset(), 
				from(), 
				offsetExists(), 
				offsetGet(), 
				offsetSet(), 
				offsetUnset(), 
				parse()