API16

JModel/addTablePath

< API16:JModel

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

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



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);
}



Examples

Code Examples


Advertisement