PHP Class Components\ReportBuilder\Controllers\Backend\ReportBuilderController

Inheritance: extends Backend\AdminController
显示文件 Open project: doptor/doptor

Public Methods

Method 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

Method Description
getReportGenerator ( $input ) Create the report generator for download

Method Details

__construct() public method

public __construct ( )

create() public method

Display a listing of the form.
public create ( ) : Response
return Response

destroy() public method

public destroy ( $id = null )

download() public method

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

edit() public method

public edit ( $id )

formatInput() public method

public formatInput ( $input )

getModuleFields() public method

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

index() public method

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

requiredFields() public method

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

store() public method

Create the report
public store ( ) : Response
return Response

update() public method

public update ( $id )