PHP Class Components\ReportBuilder\Controllers\Backend\ReportBuilderController

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 )
download ( $id ) Download the report builder
edit ( $id )
formatInput ( $input )
getModuleFields ( integer $id ) : array Get all the fields that are available in a module
index ( ) Display a listing of the created report builders.
requiredFields ( array $input, integer $i ) : array Get only the required fields from the input
store ( ) : Response Create the report
update ( $id )

Private Methods

Méthode Description
getReportGenerator ( $input ) Create the report generator for download

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 )

download() public méthode

Download the report builder
public download ( $id )
$id

edit() public méthode

public edit ( $id )

formatInput() public méthode

public formatInput ( $input )

getModuleFields() public méthode

Get all the fields that are available in a module
public getModuleFields ( integer $id ) : array
$id integer Module ID
Résultat array The fields in the module

index() public méthode

Display a listing of the created report builders.
public index ( )

requiredFields() public méthode

Get only the required fields from the input
public requiredFields ( array $input, integer $i ) : array
$input array Input
$i integer
Résultat array

store() public méthode

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

update() public méthode

public update ( $id )