Actions

API15

JModel/addTablePath

From Joomla! Documentation

< API15:JModel
Revision as of 17:10, 22 March 2010 by Doxiki (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

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

[Edit Descripton]

Description:JModel/addTablePath

Syntax

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

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

[Edit See Also] SeeAlso:JModel/addTablePath

Examples

<CodeExamplesForm />