PHP 클래스 Piwik\ReportRenderer\Csv

상속: extends Piwik\ReportRenderer
파일 보기 프로젝트 열기: piwik/piwik

보호된 프로퍼티들

프로퍼티 타입 설명
$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 ) : Csv

메소드 상세

getApiMethodNameFromUniqueId() 보호된 메소드

protected getApiMethodNameFromUniqueId ( $uniqueId ) : string
$uniqueId
리턴 string

getAttachments() 공개 메소드

Get report attachments, ex. graph images
public getAttachments ( $report, $processedReports, $prettyDate ) : array
$report
$processedReports
$prettyDate
리턴 array

getRenderedReport() 공개 메소드

Get rendered report
public getRenderedReport ( )

getRenderer() 보호된 메소드

protected getRenderer ( Piwik\DataTable\DataTableInterface $table, string $uniqueId ) : Csv
$table Piwik\DataTable\DataTableInterface
$uniqueId string
리턴 Piwik\DataTable\Renderer\Csv

renderFrontPage() 공개 메소드

Generate the first page.
public renderFrontPage ( string $reportTitle, string $prettyDate, string $description, array $reportMetadata, array $segment )
$reportTitle string
$prettyDate string formatted date
$description string
$reportMetadata array metadata for all reports
$segment array segment applied to all reports

renderReport() 공개 메소드

Multiple calls to this method before calling outputRendering appends each report content.
public renderReport ( array $processedReport )
$processedReport array @see API::getProcessedReport()

sendToBrowserDownload() 공개 메소드

Send rendering to browser with a 'download file' prompt
public sendToBrowserDownload ( string $filename )
$filename string without path & without format extension

sendToBrowserInline() 공개 메소드

Output rendering to browser
public sendToBrowserInline ( string $filename )
$filename string without path & without format extension

sendToDisk() 공개 메소드

Save rendering to disk
public sendToDisk ( string $filename ) : string
$filename string without path & without format extension
리턴 string path of file

setLocale() 공개 메소드

If not called, locale settings defaults to 'en'
public setLocale ( string $locale )
$locale string

프로퍼티 상세

$rendered 보호되어 있는 프로퍼티

protected string $rendered
리턴 string