本文整理汇总了PHP中KAutoloader::_includePath方法的典型用法代码示例。如果您正苦于以下问题:PHP KAutoloader::_includePath方法的具体用法?PHP KAutoloader::_includePath怎么用?PHP KAutoloader::_includePath使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类KAutoloader
的用法示例。
在下文中一共展示了KAutoloader::_includePath方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: setDefaultIncludePath
/**
* Sets the default include paths
*/
private static function setDefaultIncludePath()
{
self::$_includePath = array(self::buildPath(KALTURA_ROOT_PATH), self::buildPath(KALTURA_ROOT_PATH, "vendor", "symfony"), self::buildPath(KALTURA_ROOT_PATH, "vendor", "symfony", "vendor"), self::buildPath(KALTURA_ROOT_PATH, "vendor", "ZendFramework", "library"), self::buildPath(SF_ROOT_DIR), self::buildPath(SF_ROOT_DIR, "lib"), self::buildPath(SF_ROOT_DIR, "apps", "kaltura", "lib"));
}
示例2: setDefaultIncludePath
/**
* Sets the default include paths
*/
private static function setDefaultIncludePath()
{
self::$_includePath = array(self::buildPath(KALTURA_ROOT_PATH), self::buildPath(KALTURA_ROOT_PATH, 'vendor', 'symfony'), self::buildPath(KALTURA_ROOT_PATH, 'vendor', 'symfony', 'vendor'), self::buildPath(KALTURA_ROOT_PATH, 'vendor', 'ZendFramework', 'library'), self::buildPath(KALTURA_ROOT_PATH, 'alpha'), self::buildPath(KALTURA_ROOT_PATH, 'alpha', 'lib'), self::buildPath(KALTURA_ROOT_PATH, 'alpha', 'apps', 'kaltura', 'lib'));
}