Actions

API17

Difference between revisions of "JAccess::getActions"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (moving preparation)
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JAccess::getActions|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JAccess::getActions|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JAccess::getActions ($component, $section= 'component')
+
public static function getActions (
 +
        $component
 +
        $section= 'component'
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''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
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/access/access.php
+
* '''Referenced by'''
===Referenced by===
+
** [[API17:JHtmlAccess::actions|JHtmlAccess::actions]]
* [[JHtmlAccess/actions/11.1|JHtmlAccess::actions]]
+
** [[API17:JFormRuleRules::getFieldActions|JFormRuleRules::getFieldActions]]
* [[JFormRuleRules/getFieldActions/11.1|JFormRuleRules::getFieldActions]]
+
** [[API17:JFormFieldRules::getInput|JFormFieldRules::getInput]]
* [[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 [[API17:JAccess|JAccess]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Access|Access]]
 +
* [[API17: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>
* [[JAccess/11.1|JAccess]]
+
===User contributed notes===
* [[JAccess::getActions|Other versions of this method]]
+
{{SeeAlso:JAccess::getActions}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 55: Line 56:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JAccess]][[Category:JAccess::getActions]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:34, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 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.

See also

  • Joomla 11.1 JAccess::getActions source code on BitBucket
  • Joomla 11.1 Class JAccess
  • Joomla 11.1 Subpackage Access
  • Other versions of JAccess::getActions

SeeAlso:JAccess::getActions [Edit See Also]

User contributed notes

<CodeExamplesForm />