Actions

API17

Difference between revisions of "JAccess::getAssetRules"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JAccess::getAssetRules|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JAccess::getAssetRules|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JAccess::getAssetRules ($asset, $recursive=false)
+
public static function getAssetRules (
 +
        $asset
 +
        $recursive=false
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 156 of libraries/joomla/access/access.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/access/access.php
+
** [[JHtmlRules::assetFormWidget/11.1|JHtmlRules::assetFormWidget]]
===Referenced by===
+
** [[JUser::authorise/11.1|JUser::authorise]]
* [[JHtmlRules/assetFormWidget/11.1|JHtmlRules::assetFormWidget]]
+
** [[JFormFieldRules::getInput/11.1|JFormFieldRules::getInput]]
* [[JUser/authorise/11.1|JUser::authorise]]
+
* [[JFormFieldRules/getInput/11.1|JFormFieldRules::getInput]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JAccess::getAssetRules source code''' on [[jplatform:access/access.php#cl-148|BitBucket]]
 +
* {{JVer|11.1}} Class [[JAccess/11.1|JAccess]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Access/11.1|Access]]
 +
* [[JAccess::getAssetRules|Other versions of JAccess::getAssetRules]]
 +
{{SeeAlso:JAccess::getAssetRules}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JAccess::getAssetRules|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JAccess::getAssetRules|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JAccess/11.1|JAccess]]
+
===User contributed notes===
* [[JAccess::getAssetRules|Other versions of this method]]
+
{{SeeAlso:JAccess::getAssetRules}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 55:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JAccess]][[Category:JAccess::getAssetRules]]</noinclude>
 
<noinclude>[[Category:JAccess]][[Category:JAccess::getAssetRules]]</noinclude>

Revision as of 20:07, 27 April 2011

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::getAssetRules

Description

Method to return the object for an asset.

Description:JAccess::getAssetRules [Edit Descripton]

public static function getAssetRules (
        $asset
        $recursive=false
)
Parameter Type Default Description
$asset
$recursive false

See also

SeeAlso:JAccess::getAssetRules [Edit See Also]

User contributed notes

<CodeExamplesForm />