Back to Form class

Method addRulePath

public static array
addRulePath
(mixed $new = null)
Proxy for FormHelper::addRulePath().
Parameters
  • mixed $new A path or array of paths to add.
Returns
  • array The list of paths that have been added.
Since
  • 1.7.0
-
  • \Joomla\CMS\Form\FormHelper::addRulePath()
Class: Form
Project: Joomla

Method addRulePath - Source code

/**
 * Proxy for FormHelper::addRulePath().
 *
 * @param   mixed  $new  A path or array of paths to add.
 *
 * @return  array  The list of paths that have been added.
 *
 * @see     FormHelper::addRulePath()
 * @since   1.7.0
 */
public static function addRulePath($new = null)
{
    return FormHelper::addRulePath($new);
}