API17:JFormRuleRules
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JFormRuleRules== | ||
| + | ===Description=== | ||
| + | {{Description:JFormRuleRules}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JFormRuleRules|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFormRuleRules|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JFormRuleRules::test/11.1|test]] | |[[JFormRuleRules::test/11.1|test]] | ||
|Method to test the value. | |Method to test the value. | ||
|- | |- | ||
| + | |protected | ||
|[[JFormRuleRules::getFieldActions/11.1|getFieldActions]] | |[[JFormRuleRules::getFieldActions/11.1|getFieldActions]] | ||
|Method to get the list of possible permission action names for the form field. | |Method to get the list of possible permission action names for the form field. | ||
|- | |- | ||
| + | |protected | ||
|[[JFormRuleRules::getValueActions/11.1|getValueActions]] | |[[JFormRuleRules::getValueActions/11.1|getValueActions]] | ||
|Method to get the list of permission action names from the form field value. | |Method to get the list of permission action names from the form field value. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/form/rules/rules.php | ||
| + | * '''Extends''' [[JFormRule/11.1|JFormRule]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.form.rules.rules' );</source> | <source lang="php">jimport( 'joomla.form.rules.rules' );</source> | ||
===See also=== | ===See also=== | ||
| − | * JFormRuleRules source code | + | * {{JVer|11.1}} '''JFormRuleRules source code''' on [[jplatform:form/rules/rules.php|BitBucket]] |
| − | * [[JFormRuleRules|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Form/11.1|Form]] |
| + | * [[JFormRuleRules|Other versions of JFormRuleRules]] | ||
{{SeeAlso:JFormRuleRules}} | {{SeeAlso:JFormRuleRules}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFormRuleRules|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFormRuleRules|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 45: | Line 46: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JFormRuleRules]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JFormRuleRules]]</noinclude> | ||
Revision as of 18:03, 27 April 2011
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.
JFormRuleRules
Description
Description:JFormRuleRules [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | test | Method to test the value. |
| protected | getFieldActions | Method to get the list of possible permission action names for the form field. |
| protected | getValueActions | Method to get the list of permission action names from the form field value. |
- Defined in libraries/joomla/form/rules/rules.php
- Extends JFormRule
Importing
jimport( 'joomla.form.rules.rules' );
See also
-
JFormRuleRules source code on BitBucket
-
Subpackage Form
- Other versions of JFormRuleRules
SeeAlso:JFormRuleRules [Edit See Also]
User contributed notes
<CodeExamplesForm />
