API17

API17:JController::addViewPath

From Joomla! Documentation

Revision as of 14:56, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JController::addViewPath

Description

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

{{subst:Description:JController::addViewPath}}

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

{{subst:SeeAlso:JController::addViewPath}}

User contributed notes

<CodeExamplesForm />