PHP Класс Components\ContactManager\Controllers\Backend\ContactController

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

Защищенные свойства (Protected)

Свойство Тип Описание
$config
$fields
$layout The layout that should be used for responses.
$module_alias
$module_link
$type Type of the parent page

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

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

Защищенные методы

Метод Описание
getForm ( $form_id ) : array | mixed

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

Метод Описание
getDisplayOptions ( $input ) : array What fields to display to the public

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

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

public __construct ( )

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

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

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

Remove the specified resource from storage.
public destroy ( integer $id = null ) : Illuminate\Http\RedirectResponse
$id integer
Результат Illuminate\Http\RedirectResponse

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

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

getForm() защищенный Метод

protected getForm ( $form_id ) : array | mixed
$form_id
Результат array | mixed

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

Display a listing of the resource.
public index ( )

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

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

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

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

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

Update the specified resource in storage.
public update ( integer $id ) : Illuminate\Http\RedirectResponse
$id integer
Результат Illuminate\Http\RedirectResponse

Описание свойств

$config защищенное свойство

protected $config

$fields защищенное свойство

protected $fields

$layout защищенное свойство

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

$module_alias защищенное свойство

protected $module_alias

$type защищенное свойство

Type of the parent page
protected $type