JFormHelper::loadRuleType
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFormHelper::loadRuleType[edit]
Description[edit]
Method to load a form rule object given a type.
Template:Description:JFormHelper::loadRuleType [Edit Descripton]
public static function loadRuleType (
$type
$new=true
)
Parameter | Type | Default | Description |
---|---|---|---|
$type | string | The rule type. | |
$new | boolean | true | Flag to toggle whether we should get a new instance of the object. |
- Returns mixed object on success, false otherwise.
- Defined on line 82 of libraries/joomla/form/helper.php
- Since
- Referenced by
See also[edit]
- JFormHelper::loadRuleType source code on BitBucket
- Class JFormHelper
- Subpackage Form
- Other versions of JFormHelper::loadRuleType
Template:SeeAlso:JFormHelper::loadRuleType [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />