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 | + | 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.
JModelAdmin::canEditState[edit]
Description[edit]
Method to test whether a record can be deleted.
Template:Description:JModelAdmin::canEditState [Edit Descripton]
Since[edit]
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)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JModelAdmin::canEditState
Examples[edit]
<CodeExamplesForm />