Метод | Описание | |
---|---|---|
findMethod ( string | null $method = null ) : string | Change the find() method |
Метод | Описание | |
---|---|---|
_findRecord ( string $id, Crud\Event\Subject $subject ) : Cake\ORM\Entity | Find a record from the ID | |
_notFound ( string $id, Crud\Event\Subject $subject ) : void | Throw exception if a record is not found |
protected _findRecord ( string $id, Crud\Event\Subject $subject ) : Cake\ORM\Entity | ||
$id | string | Record id |
$subject | Crud\Event\Subject | Event subject |
Результат | Cake\ORM\Entity |