Function Module_cms_catalogues_alt->may_delete_this
Definitions
cms/pages/modules/cms_catalogues.php
- Standard aed_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 catalogue being potentially deleted (null: we are creating a new category) |
Returns
- Whether it may be deleted
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Standard aed_module delete possibility checker.
*
* @param ?ID_TEXT $id The catalogue being potentially deleted (null: we are creating a new category)
* @return boolean Whether it may be deleted
*/
public function may_delete_this(?string $id) : bool
* Standard aed_module delete possibility checker.
*
* @param ?ID_TEXT $id The catalogue being potentially deleted (null: we are creating a new category)
* @return boolean Whether it may be deleted
*/
public function may_delete_this(?string $id) : bool

