Back to Form class

Method addFormPath

public static array
addFormPath
(mixed $new = null)
Proxy for FormHelper::addFormPath().
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::addFormPath()
Class: Form
Project: Joomla

Method addFormPath - Source code

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