Back to FormHelper class

Method addFieldPath

public static array
addFieldPath
(mixed $new = null)
Method to add a path to the list of field 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 addFieldPath - Source code

/**
 * Method to add a path to the list of field 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 addFieldPath($new = null)
{
    return self::addPath('field', $new);
}