JFormHelper::addPath
Method to add a path to the list of include paths for one of the form's entities.
Currently supported entities: field, rule and form. You are free to support your own in a subclass.
Signature
protected function addPath(string
$entity,
[mixed
$new = null] )
Parameters
-
$entity
- Form's entity name for which paths will be added.
-
$new
- A path or array of paths to add.
Returns
- array
- The list of paths that have been added.