API17:JAccess::getActions
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JAccess::getActions|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JAccess::getActions|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function getActions ( |
| + | $component | ||
| + | $section= 'component' | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' array List of actions available for the given component and section. | |
| − | array List of actions available for the given component and section. | + | * '''Defined''' on line 356 of libraries/joomla/access/access.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/access/access.php | + | * '''Referenced by''' |
| − | * | + | ** [[JHtmlAccess::actions/11.1|JHtmlAccess::actions]] |
| − | + | ** [[JFormRuleRules::getFieldActions/11.1|JFormRuleRules::getFieldActions]] | |
| − | * [[JHtmlAccess::actions/11.1|JHtmlAccess::actions]] | + | ** [[JFormFieldRules::getInput/11.1|JFormFieldRules::getInput]] |
| − | * [[JFormRuleRules::getFieldActions/11.1|JFormRuleRules::getFieldActions]] | + | |
| − | * [[JFormFieldRules::getInput/11.1|JFormFieldRules::getInput]] | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JAccess::getActions source code''' on [[jplatform:access/access.php#cl-348|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JAccess/11.1|JAccess]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Access/11.1|Access]] | ||
| + | * [[JAccess::getActions|Other versions of JAccess::getActions]] | ||
| + | {{SeeAlso:JAccess::getActions}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JAccess::getActions|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JAccess::getActions|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 56: | Line 56: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JAccess]][[Category:JAccess::getActions]]</noinclude> | <noinclude>[[Category:JAccess]][[Category:JAccess::getActions]]</noinclude> | ||
Revision as of 20:07, 27 April 2011
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.
JAccess::getActions
Description
Method to return a list of actions for which permissions can be set given a component and section.
Description:JAccess::getActions [Edit Descripton]
public static function getActions ( $component $section= 'component' )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $component | string | The component from which to retrieve the actions. | |
| $section | string | 'component' | The name of the section within the component from which to retrieve the actions. |
- Returns array List of actions available for the given component and section.
- Defined on line 356 of libraries/joomla/access/access.php
- Since
- Referenced by
See also
-
JAccess::getActions source code on BitBucket
-
Class JAccess
-
Subpackage Access
- Other versions of JAccess::getActions
SeeAlso:JAccess::getActions [Edit See Also]
User contributed notes
<CodeExamplesForm />
