API17

API17:JFormHelper::loadRuleType

From Joomla! Documentation

Joomla 11.1 JFormHelper::loadRuleType

Description

Method to load a form rule object given a type.


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 Joomla 11.1
  • Referenced by

See also


User contributed notes

Code Examples