搜索

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

1.XSException::getRelPath

...le = realpath($file); if (is_dir($file)) { $pos = false; $to = $file; } else { $pos = strrpos($file, '/'); $to = substr($file, 0, $pos); } for ($rel = '';; $rel .= '../') { if ($from === $to) { break; } if ($from === dirname($fr...

2.XSException

... 名称描述定义于 __construct() Exception __toString() 将类对象转换成字符串 XSException getCode() Exception getFile() Exception getLine() Exception getMessage() Exception getPrevious() Exception getRelPath(...

3.XSServer::connect

...erver.class.php#L452 (显示) protected function connect(){ // connect to server $conn = $this->_conn; if (is_int($conn) || is_numeric($conn)) { $host = 'localhost'; $port = intval($conn); } elseif (!strncmp($conn, 'file://', 7)) { // write-only for saving index exc...

4.XSJsonDataSource::getDataList

...hp#L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; while (true) { $buf = fgets($this->fd, 8192); if ($buf === false || strlen($buf) === 0) { break; } $line .= $buf; if (strlen($buf) < 8191 || substr(...

5.XSIndex::addExdata

...ile_get_contents($data)) === false) { throw new XSException('Failed to read exdata from file'); } // try to check allowed (BUG: check the first cmd only): // XS_CMD_IMPORT_HEADER, XS_CMD_INDEX_REQUEST, XS_CMD_INDEX_REMOVE, XS_CMD_INDEX_EXDATA $first = ord(substr($data, 0, 1)); ...

6.XSDatabaseMySQL

... $user, $pass)) === false) { throw new XSException("Can not connect to mysql server: '$user@$host'"); } if (!mysql_select_db($param['dbname'], $this->link)) { $this->close(); throw new XSException("Can not switch to database name: '{$param['dbname']}'"); } $this->set...

7.XSJsonDataSource

...hp#L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; while (true) { $buf = fgets($this->fd, 8192); if ($buf === false || strlen($buf) === 0) { break; } $line .= $buf; if (strlen($buf) < 8191 || substr(...

8.XS

...set XSComponent __unset() 魔术方法 __unset XSComponent autoload() 智能加载类库文件 XS convert() 字符集转换 XS getAllFields() 获取项目所有字段结构设置 XS getConfig() Returns 获取配置原始数据 XS getDefaultCharset() ...

9.XSSearch

...orrectedQuery array 获取修正后的搜索词列表 XSSearch dbTotal int 获取搜索数据库内的数据总量 XSSearch facets array 读取最近一次分面搜索记数 XSSearch hotQuery array 获取热门搜索词列表 XSSearch lastCount int 获取...

10.XSServer

...erver.class.php#L452 (显示) protected function connect(){ // connect to server $conn = $this->_conn; if (is_int($conn) || is_numeric($conn)) { $host = 'localhost'; $port = intval($conn); } elseif (!strncmp($conn, 'file://', 7)) { // write-only for saving index exc...

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