API17

JController::addModelPath: Difference between revisions

From Joomla! Documentation

m See also: moving preparation
m clean up
Line 4: Line 4:
Adds to the stack of model paths in LIFO order.  
Adds to the stack of model paths in LIFO order.  


{{Description:JController::addModelPath}}
{{subst:Description:JController::addModelPath}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JController::addModelPath|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public static function addModelPath (
public static function addModelPath (
Line 39: Line 37:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[API17:JController::addModelPath|Other versions of JController::addModelPath]]
* [[API17:JController::addModelPath|Other versions of JController::addModelPath]]
{{SeeAlso:JController::addModelPath}}
{{subst:SeeAlso:JController::addModelPath}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JController::addModelPath|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 14:56, 24 March 2017

Joomla 11.1 JController::addModelPath

Description

Adds to the stack of model paths in LIFO order.

{{subst:Description:JController::addModelPath}}

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

{{subst:SeeAlso:JController::addModelPath}}

User contributed notes

<CodeExamplesForm />