PHP Класс Components\ReportGenerator\Controllers\Backend\ReportGeneratorController

Наследование: extends Backend\AdminController
Показать файл Открыть проект

Открытые методы

Метод Описание
__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

Приватные методы

Метод Описание
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

Описание методов

__construct() публичный Метод

public __construct ( )

create() публичный Метод

Display a listing of the form.
public create ( ) : Response
Результат Response

destroy() публичный Метод

public destroy ( $id = null )

getGenerate() публичный Метод

public getGenerate ( $id )

getModules() публичный Метод

Get modules along with data
public getModules ( object $modules, array $input ) : object
$modules object
$input array
Результат object

index() публичный Метод

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

postGenerate() публичный Метод

public postGenerate ( $id )

store() публичный Метод

Create the report
public store ( ) : Response
Результат Response