Function Standard_crud_module->may_delete_this
Definitions
sources/crud_module.php
- Standard crud_module delete possibility checker.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$id | ID_TEXT | No | No | required parameter | N/A | N/A | The entry being potentially deleted |
Returns
- Whether it may be deleted
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Standard crud_module delete possibility checker.
*
* @param ID_TEXT $id The entry being potentially deleted
* @return boolean Whether it may be deleted
*/
public function may_delete_this(string $id) : bool
* Standard crud_module delete possibility checker.
*
* @param ID_TEXT $id The entry being potentially deleted
* @return boolean Whether it may be deleted
*/
public function may_delete_this(string $id) : bool