Property | Type | Description | |
---|---|---|---|
$charset | string | Document charset | |
$contentType | string | Document content type | |
$doctype | string | Document type | |
$doctypes | array | Document doctypes |
Method | Description | |
---|---|---|
__construct ( string $doctype = null, string $charset = 'utf-8', mixed $childNode = null, string $indent = null ) : |
Constructor | |
__toString ( ) : string | Render Dom object to string | |
getCharset ( ) : string | Method to return the document charset. | |
getContentType ( ) : string | Method to return the document charset. | |
getDoctype ( ) : string | Method to return the document type. | |
render ( boolean $ret = false ) : mixed | Method to render the document and its child elements. | |
setCharset ( string $chr ) : |
Method to set the document charset. | |
setContentType ( string $content ) : |
Method to set the document charset. | |
setDoctype ( string $doctype = null ) : |
Method to set the document type. |
public getCharset ( ) : string | ||
return | string |
public getContentType ( ) : string | ||
return | string |
public getDoctype ( ) : string | ||
return | string |
public setCharset ( string $chr ) : |
||
$chr | string | |
return |
public setContentType ( string $content ) : |
||
$content | string | |
return |
public setDoctype ( string $doctype = null ) : |
||
$doctype | string | |
return |
protected string $contentType | ||
return | string |
protected static array $doctypes | ||
return | array |