JModel::addTablePath: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Adds to the stack of model table paths in LIFO order. | Adds to the stack of model table paths in LIFO order. | ||
<source lang="php"> | <source lang="php"> | ||
public static | public static function addTablePath ($path) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' void | |||
void | * '''Defined''' on line 112 of libraries/joomla/application/component/model.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/application/component/model.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JModel::addTablePath source code''' on [[jplatform:application/component/model.php#cl-104|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JModel|JModel]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | |||
* | * [[API17:JModel::addTablePath|Other versions of JModel::addTablePath]] | ||
* [[JModel::addTablePath|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JModel::addTablePath | category=JModel::addTablePath | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:26, 25 March 2017
JModel::addTablePath
Description
Adds to the stack of model table paths in LIFO order.
public static function addTablePath ($path)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | array | The directory (-ies) to add. |
See also
JModel::addTablePath source code on BitBucket
Class JModel
Subpackage Application- Other versions of JModel::addTablePath
User contributed notes
Code Examples