JModelLegacy::addIncludePath
Add a directory where JModelLegacy should search for models. You may either pass a string or an array of directories.
Signature
public function addIncludePath([string
$path = '',
[string
$prefix = '']] )
Parameters
-
$path
- A path or array[sting] of paths to search.
-
$prefix
- A prefix for models.
Returns
- array
- An array with directory elements. If prefix is equal to '', all directories are returned.