Actions

API17

Difference between revisions of "JModelAdmin::canDelete"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
protected JModelAdmin->canDelete ($record)
+
protected JModelAdmin::canDelete ($record)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 30:
 
boolean True if allowed to delete the record. Defaults to the permission for the component.
 
boolean True if allowed to delete the record. Defaults to the permission for the component.
 
===Defined in===
 
===Defined in===
libraries/joomla/application/component/modeladmin.php
+
libraries/joomla/application/component/modeladmin.php (line 118)
 +
* see source code in [[jplatform:application/component/modeladmin.php#cl-118|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:58, 23 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JModelAdmin::canDelete

Description

Method to test whether a record can be deleted.

Description:JModelAdmin::canDelete [Edit Descripton]

Since

Joomla 11.1

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)

Referenced by

See also

[Edit See Also]

SeeAlso:JModelAdmin::canDelete

Examples

<CodeExamplesForm />