PHP Class Components\ContactManager\Controllers\Backend\ContactController

Inheritance: extends Backend\AdminController
ファイルを表示 Open project: doptor/doptor

Protected Properties

Property Type Description
$config
$fields
$layout The layout that should be used for responses.
$module_alias
$module_link
$type Type of the parent page

Public Methods

Method Description
__construct ( )
create ( $form_id ) Show the form for creating a new resource.
destroy ( integer $id = null ) : Illuminate\Http\RedirectResponse Remove the specified resource from storage.
edit ( integer $id, $form_id ) Show the form for editing the specified resource.
index ( ) Display a listing of the resource.
show ( integer $id, $form_id ) Display the specified resource.
store ( ) Store a newly created resource in storage.
update ( integer $id ) : Illuminate\Http\RedirectResponse Update the specified resource in storage.

Protected Methods

Method Description
getForm ( $form_id ) : array | mixed

Private Methods

Method Description
getDisplayOptions ( $input ) : array What fields to display to the public

Method Details

__construct() public method

public __construct ( )

create() public method

Show the form for creating a new resource.
public create ( $form_id )
$form_id

destroy() public method

Remove the specified resource from storage.
public destroy ( integer $id = null ) : Illuminate\Http\RedirectResponse
$id integer
return Illuminate\Http\RedirectResponse

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id, $form_id )
$id integer
$form_id

getForm() protected method

protected getForm ( $form_id ) : array | mixed
$form_id
return array | mixed

index() public method

Display a listing of the resource.
public index ( )

show() public method

Display the specified resource.
public show ( integer $id, $form_id )
$id integer
$form_id

store() public method

Store a newly created resource in storage.
public store ( )

update() public method

Update the specified resource in storage.
public update ( integer $id ) : Illuminate\Http\RedirectResponse
$id integer
return Illuminate\Http\RedirectResponse

Property Details

$config protected_oe property

protected $config

$fields protected_oe property

protected $fields

$layout protected_oe property

The layout that should be used for responses.
protected $layout

$module_alias protected_oe property

protected $module_alias

$type protected_oe property

Type of the parent page
protected $type