PHP Class Piwik\Plugins\API\Renderer\Php

Inheritance: extends Piwik\API\ApiRenderer
Exibir arquivo Open project: piwik/piwik Class Usage Examples

Public Methods

Method Description
renderArray ( $array )
renderDataTable ( $dataTable )
renderException ( $message, Exception | Throwable $exception ) : string
renderSuccess ( $message )
sendHeader ( )

Private Methods

Method Description
serializeIfNeeded ( $response )
shouldSerialize ( mixed $defaultSerializeValue ) : boolean Returns true if the user requested to serialize the output data (&serialize=1 in the request)

Method Details

renderArray() public method

public renderArray ( $array )

renderDataTable() public method

public renderDataTable ( $dataTable )

renderException() public method

public renderException ( $message, Exception | Throwable $exception ) : string
$message
$exception Exception | Throwable
return string

renderSuccess() public method

public renderSuccess ( $message )

sendHeader() public method

public sendHeader ( )