PHP Class Components\ReportGenerator\Controllers\Backend\ReportGeneratorController

Inheritance: extends Backend\AdminController
Afficher le fichier Open project: doptor/doptor

Méthodes publiques

Méthode Description
__construct ( )
create ( ) : Response Display a listing of the form.
destroy ( $id = null )
getGenerate ( $id )
getModules ( object $modules, array $input ) : object Get modules along with data
index ( ) Display a listing of the installed report generators.
postGenerate ( $id )
store ( ) : Response Create the report

Private Methods

Méthode Description
csvReport ( array $input, $generator ) : string Generate a CSV report
moduleEntries ( array $input, Collection $module ) : Collection Get the entries based on the input
pdfReport ( array $input, $generator ) : string Generate a PDF report
printHtml ( array $input, $generator ) : View Generate a HTML document for printing

Method Details

__construct() public méthode

public __construct ( )

create() public méthode

Display a listing of the form.
public create ( ) : Response
Résultat Response

destroy() public méthode

public destroy ( $id = null )

getGenerate() public méthode

public getGenerate ( $id )

getModules() public méthode

Get modules along with data
public getModules ( object $modules, array $input ) : object
$modules object
$input array
Résultat object

index() public méthode

Display a listing of the installed report generators.
public index ( )

postGenerate() public méthode

public postGenerate ( $id )

store() public méthode

Create the report
public store ( ) : Response
Résultat Response