english/libraries/joomla/cache/storage.php
/**
	 * Add a directory where JCacheStorage should search for handlers. You may
	 * either pass a string or an array of directories.
	 *
	 * @param   string   A path to search.
	 *
	 * @return  array    An array with directory elements
	 * @since   11.1
	 */
Add a directory where JCacheStorage should search for handlers. You may
either pass a string or an array of directories.

@param   string   A path to search.

@return  array    An array with directory elements
@since   11.1
Add a directory where JCacheStorage should search for handlers . You may either pass a string or an array of directories . @param string A path to search . @return array An array with directory elements @since 11 . 1
public static function addIncludePath($path='')
	{
		static $paths;
		if (!isset($paths)) {
			$paths = array();
		}
		if (!empty($path) && !in_array($path, $paths)) {
			jimport('joomla.filesystem.path');
			array_unshift($paths, JPath::clean($path));
		}
		return $paths;
	}
public static function addIncludePath ( $ path = '' ) { static $ paths ; if ( ! isset ( $ paths ) ) { $ paths = array ( ) ; } if ( ! empty ( $ path ) && ! in_array ( $ path , $ paths ) ) { jimport ( 'joomla.filesystem.path' ) ; array_unshift ( $ paths , JPath :: clean ( $ path ) ) ; } return $ paths ; }
Add a directory where JCacheStorage should search for handlers.
Add a directory where JCacheStorage should search for handlers .