API16

API16:JModel/addTablePath

From Joomla! Documentation

Revision as of 22:36, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Adds to the stack of model table paths in LIFO order. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JModel/addTablePath|Edit Desc...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Adds to the stack of model table paths in LIFO order.

[Edit Descripton]

Template:Description:JModel/addTablePath

Syntax

static addTablePath($path)
Parameter Name Default Value Description
$path The directory (-ies) to add.

Returns

void

Defined in

libraries/joomla/application/component/model.php

Importing

jimport( 'joomla.application.component.model' );

Source Body

public static function addTablePath($path)
{
        jimport('joomla.database.table');
        JTable::addIncludePath($path);
}

[Edit See Also] Template:SeeAlso:JModel/addTablePath

Examples

<CodeExamplesForm />