Actions

API17

Difference between revisions of "JHtmlRules::assetFormWidget"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtmlRules::assetFormWidget|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlRules::assetFormWidget|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlRules::assetFormWidget ($actions, $assetId=null, $parent=null, $control= 'jform[rules]', $idPrefix= 'jform_rules')
+
public static function assetFormWidget (
 +
        $actions
 +
        $assetId=null
 +
        $parent=null
 +
        $control= 'jform[rules]'
 +
        $idPrefix= 'jform_rules'
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 45: Line 50:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string The required HTML for the SELECT tag.
string The required HTML for the SELECT tag.
+
* '''Defined''' on line 33 of libraries/joomla/html/html/rules.php
===Defined in===
+
libraries/joomla/html/html/rules.php (line 33)
+
* see source code in [[jplatform:html/html/rules.php#cl-33|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHtmlRules::assetFormWidget source code''' on [[jplatform:html/html/rules.php#cl-25|BitBucket]]
 +
* {{JVer|11.1}} Class [[JHtmlRules/11.1|JHtmlRules]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JHtmlRules::assetFormWidget|Other versions of JHtmlRules::assetFormWidget]]
 +
{{SeeAlso:JHtmlRules::assetFormWidget}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlRules::assetFormWidget|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlRules::assetFormWidget|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHtmlRules/11.1|JHtmlRules]]
+
===User contributed notes===
* [[JHtmlRules::assetFormWidget|Other versions of this method]]
+
{{SeeAlso:JHtmlRules::assetFormWidget}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 66: Line 69:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHtmlRules]][[Category:JHtmlRules::assetFormWidget]]</noinclude>
 
<noinclude>[[Category:JHtmlRules]][[Category:JHtmlRules::assetFormWidget]]</noinclude>

Revision as of 20:08, 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 JHtmlRules::assetFormWidget

Description

Displays a list of the available access sections.

Description:JHtmlRules::assetFormWidget [Edit Descripton]

public static function assetFormWidget (
        $actions
        $assetId=null
        $parent=null
        $control= 'jform[rules]'
        $idPrefix= 'jform_rules'
)
Parameter Type Default Description
$actions string The form field name.
$assetId string null The name of the selected section.
$parent string null Additional attributes to add to the select field.
$control boolean 'jform[rules]' True to add "All Sections" option.
$idPrefix 'jform_rules'
  • Returns string The required HTML for the SELECT tag.
  • Defined on line 33 of libraries/joomla/html/html/rules.php

See also

SeeAlso:JHtmlRules::assetFormWidget [Edit See Also]

User contributed notes

<CodeExamplesForm />