PHP Trait CakeDC\Users\Controller\Traits\SimpleCrudTrait

Datei anzeigen Open project: cakedc/users

Public Methods

Method Description
add ( ) : void Add method
delete ( string | null $id = null ) : Response Delete method
edit ( string | null $id = null ) : void Edit method
index ( ) : void Index method
view ( string | null $id = null ) : void View method

Method Details

add() public method

Add method
public add ( ) : void
return void Redirects on successful add, renders view otherwise.

delete() public method

Delete method
public delete ( string | null $id = null ) : Response
$id string | null User id.
return Cake\Network\Response Redirects to index.

edit() public method

Edit method
public edit ( string | null $id = null ) : void
$id string | null User id.
return void Redirects on successful edit, renders view otherwise.

index() public method

Index method
public index ( ) : void
return void

view() public method

View method
public view ( string | null $id = null ) : void
$id string | null User id.
return void