JControllerLegacy::addPath
Adds to the search path for templates and resources.
Signature
protected function addPath(string
$type,
mixed
$path )
Parameters
-
$type
- The path type (e.g. 'model', 'view').
-
$path
- The directory string or stream array to search.
Returns
- JControllerLegacy
- A JControllerLegacy object to support chaining.