JModelAdmin::canDelete
From Joomla! Documentation
Revision as of 16:53, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
Revision as of 16:53, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JModelAdmin::canDelete[edit]
Description[edit]
Method to test whether a record can be deleted.
Template:Description:JModelAdmin::canDelete [Edit Descripton]
protected function 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 on line 118 of libraries/joomla/application/component/modeladmin.php
- Since
See also[edit]
- JModelAdmin::canDelete source code on BitBucket
- Class JModelAdmin
- Subpackage Application
- Other versions of JModelAdmin::canDelete
Template:SeeAlso:JModelAdmin::canDelete [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />