API17

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.

Joomla 11.1 JFormHelper::loadRuleType[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]