API17

API17:JController::addViewPath

From Joomla! Documentation

Joomla 11.1 JController::addViewPath

Description

Add one or more view paths to the controller's stack, in LIFO order.


public function addViewPath ($path)
Parameter Type Default Description
$path array The directory (string) or list of directories (array) to add.
  • Returns This object to support chaining.
  • Defined on line 413 of libraries/joomla/application/component/controller.php

See also


User contributed notes

Code Examples