搜索

大约有 9 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.1963秒)

1.XS::__construct

...struct($file){ if (strlen($file) < 255 && !is_file($file)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : XS_LIB_ROOT . '/../app'; } $file2 = $appRoot . '/' . $file . '.ini'; if (is_file...

2.XSUtil::toProjectIni

...c function toProjectIni($project){ if (!is_file($project)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : dirname(__FILE__) . '/../app'; } return $appRoot . '/' . $project . '.ini'; } else {...

3.XSFieldMeta::getCustomTokenizer

... require_once $file; } else if (file_exists(XS_LIB_ROOT . DIRECTORY_SEPARATOR . $file)) { require_once XS_LIB_ROOT . DIRECTORY_SEPARATOR . $file; } if (!class_exists($name)) { throw new XSException('Undefined custom tokenize...

4.XS::autoload

...p#L533 (显示) public static function autoload($name){ $file = XS_LIB_ROOT . '/' . $name . '.class.php'; if (file_exists($file)) { require_once $file; }} 智能加载类库文件 要求以 Name.class.php 命名并与本文件存放在同一目录, 如: XSTokenizerXxx.class.php

5.XSDatabasePDO::connect

...his->makeDsn($param); $user = isset($param['user']) ? $param['user'] : 'root'; $pass = isset($param['pass']) ? $param['pass'] : ''; try { $this->obj = new PDO($dsn, $user, $pass); } catch (PDOException $e) { throw new XSException($e->getMessage()); }} 连接数据库...

6.XS

...struct($file){ if (strlen($file) < 255 && !is_file($file)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : XS_LIB_ROOT . '/../app'; } $file2 = $appRoot . '/' . $file . '.ini'; if (is_file...

7.XSUtil

...c function toProjectIni($project){ if (!is_file($project)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : dirname(__FILE__) . '/../app'; } return $appRoot . '/' . $project . '.ini'; } else {...

8.XSDatabasePDO

...his->makeDsn($param); $user = isset($param['user']) ? $param['user'] : 'root'; $pass = isset($param['pass']) ? $param['pass'] : ''; try { $this->obj = new PDO($dsn, $user, $pass); } catch (PDOException $e) { throw new XSException($e->getMessage()); }} 连接数据库...

9.XSFieldMeta

... require_once $file; } else if (file_exists(XS_LIB_ROOT . DIRECTORY_SEPARATOR . $file)) { require_once XS_LIB_ROOT . DIRECTORY_SEPARATOR . $file; } if (!class_exists($name)) { throw new XSException('Undefined custom tokenize...

  • 时间不限
  • 按相关性排序