Back to FormHelper class

Method addFormPath

public static array
addFormPath
(mixed $new = null)
Method to add a path to the list of form include paths.
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
Class: FormHelper
Project: Joomla

Method addFormPath - Source code

/**
 * Method to add a path to the list of form include paths.
 *
 * @param   mixed  $new  A path or array of paths to add.
 *
 * @return  array  The list of paths that have been added.
 *
 * @since   1.7.0
 */
public static function addFormPath($new = null)
{
    return self::addPath('form', $new);
}