프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$idSite |
메소드 | 설명 | |
---|---|---|
getAttachments ( $report, $processedReports, $prettyDate ) : array | Get report attachments, ex. graph images | |
getRenderedReport ( ) | Get rendered report | |
getStaticGraph ( $reportMetadata, $width, $height, $evolution, $segment ) | ||
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 | |
setIdSite ( integer $idSite ) | Sets the site id | |
setLocale ( string $locale ) | Initialize locale settings. |
메소드 | 설명 | |
---|---|---|
getClassNameFromClassId ( $rendererType ) | ||
getInvalidClassIdExceptionMessage ( $rendererType ) | ||
getOutputPath ( $filename ) : string | Return $filename with temp directory and delete file | |
inlineToBrowser ( $contentType, $content ) | ||
makeFilenameWithExtension ( string $filename, string $extension ) : string | Append $extension to $filename | |
normalizeRendererType ( $rendererType ) | ||
processTableFormat ( $reportMetadata, $report, $reportColumns ) : array | Convert a dimension-less report to a multi-row two-column data table | |
sendToBrowser ( $filename, $extension, $contentType, $content ) | ||
writeFile ( $filename, $extension, $content ) |
abstract public getAttachments ( $report, $processedReports, $prettyDate ) : array | ||
$report | ||
$processedReports | ||
$prettyDate | ||
리턴 | array |
protected static getInvalidClassIdExceptionMessage ( $rendererType ) |
protected static getOutputPath ( $filename ) : string | ||
$filename | ||
리턴 | string | path of file in temp directory |
public static getStaticGraph ( $reportMetadata, $width, $height, $evolution, $segment ) |
protected static processTableFormat ( $reportMetadata, $report, $reportColumns ) : array | ||
$reportMetadata | array | |
$report | DataTable | |
$reportColumns | array | |
리턴 | array | DataTable $report & array $columns |
abstract 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 |
abstract public renderReport ( array $processedReport ) | ||
$processedReport | array | @see API::getProcessedReport() |
protected static sendToBrowser ( $filename, $extension, $contentType, $content ) |
abstract public sendToBrowserDownload ( string $filename ) | ||
$filename | string | without path & without format extension |
abstract public sendToBrowserInline ( string $filename ) | ||
$filename | string | without path & without format extension |
abstract public sendToDisk ( string $filename ) : string | ||
$filename | string | without path & without format extension |
리턴 | string | path of file |