API17:JModelAdmin::canDelete
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JModelAdmin::canDelete
Description
Method to test whether a record can be deleted.
Description:JModelAdmin::canDelete [Edit Descripton]
Since
Synopsis
protected JModelAdmin::canDelete ($record)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $record | object | A record object. |
Returns
boolean True if allowed to delete the record. Defaults to the permission for the component.
Defined in
libraries/joomla/application/component/modeladmin.php (line 118)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JModelAdmin::canDelete
Examples
<CodeExamplesForm />
