PHP 트레잇 CakeDC\Users\Controller\Traits\SimpleCrudTrait

파일 보기 프로젝트 열기: cakedc/users

공개 메소드들

메소드 설명
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

메소드 상세

add() 공개 메소드

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

delete() 공개 메소드

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

edit() 공개 메소드

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

index() 공개 메소드

Index method
public index ( ) : void
리턴 void

view() 공개 메소드

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