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

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.

Joomla 11.1 JModelAdmin::canEditState[edit]

Description[edit]

Method to test whether a record can be deleted.

Template:Description:JModelAdmin::canEditState [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

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

Returns[edit]

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

Defined in[edit]

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

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JModelAdmin::canEditState

Examples[edit]

<CodeExamplesForm />