Back to LegacyModelLoaderTrait class

Method addTablePath

public static void
addTablePath
(mixed $path)
Adds to the stack of model table paths in LIFO order.
Parameters
  • mixed $path The directory as a string or directories as an array to add.
Returns
  • void
Since
  • 3.0
Deprecated
  • 5.0

Method addTablePath - Source code

/**
 * Adds to the stack of model table paths in LIFO order.
 *
 * @param   mixed  $path  The directory as a string or directories as an array to add.
 *
 * @return  void
 *
 * @since       3.0
 * @deprecated  5.0 See getInstance
 */
public static function addTablePath($path)
{
    Table::addIncludePath($path);
}