PHP 클래스 Crud\Listener\BaseListener

Licensed under The MIT License For full copyright and license information, please see the LICENSE.txt
상속: extends Crud\Core\Object
파일 보기 프로젝트 열기: friendsofcake/crud

공개 메소드들

메소드 설명
implementedEvents ( ) : array Returns a list of all events that will fire in the controller during its life cycle.
resourceName ( string | null $value = null ) : string Return the human name of the model

메소드 상세

implementedEvents() 공개 메소드

You can override this function to add you own listener callbacks. - initialize: Called at the same time as CrudComponent::initialize() - startup: Called at the same time as CrudComponent::startup() - beforeHandle : Called before CrudAction is executed - recordNotFound : Called if a find() did not return any records - beforePaginate : Called right before any paginate() method - afterPaginate : Called right after any paginate() method - invalidId : Called if the ID format validation failed - setFlash : Called before any FlashComponent::set()
public implementedEvents ( ) : array
리턴 array

resourceName() 공개 메소드

By default it uses Inflector::humanize, but can be changed using the "name" configuration property
public resourceName ( string | null $value = null ) : string
$value string | null Value
리턴 string