JTable/addIncludePath

From Joomla! Documentation

Jump to: navigation, search

Adds a filesystem path where JTable should search for table class files. You may either pass a string or an array of paths. Duplicate paths are ignored. Paths are added to the front of the array so that custom paths are searched first.

Returns the array of paths. Call addIncludePath with a null argument to get the current path array.

Syntax

array addIncludePath( $path )

where:

Argument Data type Description Default
$path string or array A filesystem path or array of filesystem paths to add. null

Example

Example required.

See also

Personal tools