API16

API16:JModel/addTablePath

From Joomla! Documentation

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

Description

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


{{subst: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);
}


{{subst:SeeAlso:JModel/addTablePath}}

Examples

<CodeExamplesForm />