Actions

API17

Difference between revisions of "JModelAdmin::canEditState"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
protected JModelAdmin->canEditState ($record)
+
protected JModelAdmin::canEditState ($record)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 30:
 
boolean True if allowed to change the state of the record. Defaults to the permission for the component.
 
boolean True if allowed to change the state of 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 132)
 +
* see source code in [[jplatform:application/component/modeladmin.php#cl-132|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::canEditState

Description

Method to test whether a record can be deleted.

Description:JModelAdmin::canEditState [Edit Descripton]

Since

Joomla 11.1

Synopsis

protected JModelAdmin::canEditState ($record)
Parameter Type Default Description
$record object A record object.

Returns

boolean True if allowed to change the state of the record. Defaults to the permission for the component.

Defined in

libraries/joomla/application/component/modeladmin.php (line 132)

Referenced by

See also

[Edit See Also]

SeeAlso:JModelAdmin::canEditState

Examples

<CodeExamplesForm />