JAccess::getActions: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| 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"> | ||
| Line 42: | Line 42: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Access|Access]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Access|Access]] | ||
* [[API17: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=* | ||
Latest revision as of 02:18, 25 March 2017
JAccess::getActions
Description
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
JAccess::getActions source code on BitBucket
Class JAccess
Subpackage Access- Other versions of JAccess::getActions
User contributed notes
Code Examples