Difference between revisions of "JAccess::getActions"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Method to return a list of actions for which permissions can be set given a component and section. | Method to return a list of actions for which permissions can be set given a component and section. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function getActions ( | public static function getActions ( | ||
Line 36: | Line 34: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[JHtmlAccess::actions | + | ** [[API17:JHtmlAccess::actions|JHtmlAccess::actions]] |
− | ** [[JFormRuleRules::getFieldActions | + | ** [[API17:JFormRuleRules::getFieldActions|JFormRuleRules::getFieldActions]] |
− | ** [[JFormFieldRules::getInput | + | ** [[API17:JFormFieldRules::getInput|JFormFieldRules::getInput]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JAccess::getActions source code''' on [[jplatform:access/access.php#cl-348|BitBucket]] | * {{JVer|11.1}} '''JAccess::getActions source code''' on [[jplatform:access/access.php#cl-348|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JAccess | + | * {{JVer|11.1}} Class [[API17:JAccess|JAccess]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Access | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Access|Access]] |
− | * [[JAccess::getActions|Other versions of JAccess::getActions]] | + | * [[API17:JAccess::getActions|Other versions of JAccess::getActions]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JAccess::getActions | category=JAccess::getActions | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 59: | Line 55: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:18, 24 March 2017
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.
JAccess::getActions[edit]
Description[edit]
Method to return a list of actions for which permissions can be set given a component and section.
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[edit]
- JAccess::getActions source code on BitBucket
- Class JAccess
- Subpackage Access
- Other versions of JAccess::getActions
User contributed notes[edit]
Code Examples[edit]