Class ContentType

Description

Class that handles content-type headers Class was named content_type in 1.3.0 and 1.3.1. It is used internally by rfc822header class.

  • since: 1.3.2

Located in /class/mime/ContentType.class.php (line 25)


	
			
Variable Summary
array $properties
string $type0
string $type1
Method Summary
ContentType ContentType (string $type)
ContentType __construct (string $type)
Variables
array $properties = '' (line 41)

Auxiliary header information prepared with parseContentType() function in rfc822header class.

string $type0 = 'text' (line 30)

Media type

string $type1 = 'plain' (line 35)

Media subtype

Methods
Constructor ContentType (line 65)

Constructor (PHP4 style, kept for compatibility reasons)

Prepared type0 and type1 properties

ContentType ContentType (string $type)
  • string $type: content type string without auxiliary information
Constructor __construct (line 48)

Constructor (PHP5 style, required in some future version of PHP)

Prepared type0 and type1 properties

ContentType __construct (string $type)
  • string $type: content type string without auxiliary information

Documentation generated on Mon, 13 Jan 2020 04:22:13 +0100 by phpDocumentor 1.4.3