Свойство | Type | Description | |
---|---|---|---|
$_defaultConfig | array | enabled Is this crud action enabled or disabled findMethod The default Model::find() method for reading data view A map of the controller action and the view to render If NULL (the default) the controller action name will be used relatedModels is a map of the controller action and the whether it should fetch associations lists to be used in select boxes. An array as value means it is enabled and represent the list of model associations to be fetched saveOptions Options array used for $options argument of patchEntity() and save method. If you configure a key with your action name, it will override the default settings. |
Méthode | Description | |
---|---|---|
_error ( Crud\Event\Subject $subject ) : void | Error callback | |
_get ( string | null $id = null ) : void | HTTP GET handler | |
_post ( string | null $id = null ) : |
HTTP POST handler | |
_put ( string | null $id = null ) : |
HTTP PUT handler | |
_success ( Crud\Event\Subject $subject ) : |
Success callback |
protected _success ( Crud\Event\Subject $subject ) : |
||
$subject | Crud\Event\Subject | Event subject |
Résultat |
protected array $_defaultConfig | ||
Résultat | array |