Свойство | Тип | Описание | |
---|---|---|---|
$rendered | string |
Метод | Описание | |
---|---|---|
getAttachments ( $report, $processedReports, $prettyDate ) : array | Get report attachments, ex. graph images | |
getRenderedReport ( ) | Get rendered report | |
renderFrontPage ( string $reportTitle, string $prettyDate, string $description, array $reportMetadata, array $segment ) | Generate the first page. | |
renderReport ( array $processedReport ) | Render the provided report. | |
sendToBrowserDownload ( string $filename ) | Send rendering to browser with a 'download file' prompt | |
sendToBrowserInline ( string $filename ) | Output rendering to browser | |
sendToDisk ( string $filename ) : string | Save rendering to disk | |
setLocale ( string $locale ) | Initialize locale settings. |
Метод | Описание | |
---|---|---|
getApiMethodNameFromUniqueId ( $uniqueId ) : string | ||
getRenderer ( Piwik\DataTable\DataTableInterface $table, string $uniqueId ) : |
protected getApiMethodNameFromUniqueId ( $uniqueId ) : string | ||
$uniqueId | ||
Результат | string |
public getAttachments ( $report, $processedReports, $prettyDate ) : array | ||
$report | ||
$processedReports | ||
$prettyDate | ||
Результат | array |
protected getRenderer ( Piwik\DataTable\DataTableInterface $table, string $uniqueId ) : |
||
$table | Piwik\DataTable\DataTableInterface | |
$uniqueId | string | |
Результат |
public renderReport ( array $processedReport ) | ||
$processedReport | array | @see API::getProcessedReport() |
public sendToBrowserDownload ( string $filename ) | ||
$filename | string | without path & without format extension |
public sendToBrowserInline ( string $filename ) | ||
$filename | string | without path & without format extension |
public sendToDisk ( string $filename ) : string | ||
$filename | string | without path & without format extension |
Результат | string | path of file |