PHP Class Tdt\Core\Formatters\HTMLFormatter

Author: Michiel Vancoillie ([email protected])
Inheritance: implements Tdt\Core\Formatters\IFormatter
ファイルを表示 Open project: tdt/core

Public Methods

Method Description
createResponse ( $dataObj )
getBody ( $dataObj )
getDocumentation ( )

Private Methods

Method Description
displayTree ( $data, $format = 'json' )
getDcat ( $definition ) : string Prettifies an XML string into a human-readable form
xmlPrettify ( string $xml ) : string Prettifies an XML string into a human-readable form

Method Details

createResponse() public static method

public static createResponse ( $dataObj )

getBody() public static method

public static getBody ( $dataObj )

getDocumentation() public static method

public static getDocumentation ( )