CoreFiles by mySites.guru
legacy.php38 lines, 1,007 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
10d0f4bd22beeee2bed93a5a29ad80e2
sha1
864a2208964f3c769c229c7264501d3c7e0f4681
sha256
54492d8c4d0dc600207f2e7de6476add4add881efe359919b8d1b688b76b3a71
<?php
/**
 * @package     Joomla.Libraries
 * @subpackage  Model
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

defined('JPATH_PLATFORM') or die;

jimport('joomla.application.component.model');

/**
 * Alias to JModel for forward compatability.
 *
 * @package     Joomla.Libraries
 * @subpackage  Model
 * @since       2.5.5
 */
class JModelLegacy extends JModel
{
	/**
	 * Add a directory where JModel should search for models. You may
	 * either pass a string or an array of directories.
	 *
	 * @param   mixed   $path    A path or array[sting] of paths to search.
	 * @param   string  $prefix  A prefix for models.
	 *
	 * @return  array  An array with directory elements. If prefix is equal to '', all directories are returned.
	 *
	 * @since   2.5.5
	 */
	public static function addIncludePath($path = '', $prefix = '')
	{
		return parent::addIncludePath($path, $prefix);
	}
}

The same content is in 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.