PHP Class Fireguard\Report\Exporters\ImageExporter

Inheritance: extends AbstractPhantomExporter, implements Fireguard\Report\Contracts\ExporterContract
Afficher le fichier Open project: fireguard/report Class Usage Examples

Protected Properties

Свойство Type Description
$format ['BMP', 'JPG', 'JPEG', 'PNG']
$orientation ['landscape', 'portrait']
$validFormats

Méthodes publiques

Méthode Description
configure ( array $config = [] ) : Fireguard\Report\Contracts\ExporterContract
generate ( Fireguard\Report\Contracts\ReportContract $report ) : string
getMimeType ( ) : string
setFormat ( string $format ) : AbstractPhantomExporter

Méthodes protégées

Méthode Description
generateHtmlWithAllReportContent ( Fireguard\Report\Contracts\ReportContract $report )

Method Details

configure() public méthode

public configure ( array $config = [] ) : Fireguard\Report\Contracts\ExporterContract
$config array
Résultat Fireguard\Report\Contracts\ExporterContract

generate() public méthode

public generate ( Fireguard\Report\Contracts\ReportContract $report ) : string
$report Fireguard\Report\Contracts\ReportContract
Résultat string

generateHtmlWithAllReportContent() protected méthode

protected generateHtmlWithAllReportContent ( Fireguard\Report\Contracts\ReportContract $report )
$report Fireguard\Report\Contracts\ReportContract

getMimeType() public méthode

public getMimeType ( ) : string
Résultat string

setFormat() public méthode

public setFormat ( string $format ) : AbstractPhantomExporter
$format string
Résultat AbstractPhantomExporter

Property Details

$format protected_oe property

['BMP', 'JPG', 'JPEG', 'PNG']
protected $format

$orientation protected_oe property

['landscape', 'portrait']
protected $orientation

$validFormats protected_oe property

protected $validFormats