JController::addModelPath: Difference between revisions
From Joomla! Documentation
m →User contributed notes: moving preparation |
m →See also: moving preparation |
||
| Line 36: | Line 36: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JController::addModelPath source code''' on [[jplatform:application/component/controller.php#cl-136|BitBucket]] | * {{JVer|11.1}} '''JController::addModelPath source code''' on [[jplatform:application/component/controller.php#cl-136|BitBucket]] | ||
* {{JVer|11.1}} Class [[JController | * {{JVer|11.1}} Class [[API17:JController|JController]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Application | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
* [[JController::addModelPath|Other versions of JController::addModelPath]] | * [[API17:JController::addModelPath|Other versions of JController::addModelPath]] | ||
{{SeeAlso:JController::addModelPath}} | {{SeeAlso:JController::addModelPath}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Revision as of 00:57, 12 May 2013
JController::addModelPath
Description
Adds to the stack of model paths in LIFO order.
Template:Description:JController::addModelPath [Edit Descripton]
public static function addModelPath (
$path
$prefix=''
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | mixed | The directory (string), or list of directories (array) to add. | |
| $prefix | string | A prefix for models |
- Returns void
- Defined on line 144 of libraries/joomla/application/component/controller.php
See also
JController::addModelPath source code on BitBucket
Class JController
Subpackage Application- Other versions of JController::addModelPath
Template:SeeAlso:JController::addModelPath [Edit See Also]
User contributed notes
<CodeExamplesForm />