搜索

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

1.XSException::getRelPath

...om = getcwd(); $file = 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 (...

2.XSFieldMeta::getCustomTokenizer

... return self::$_tokenizers[$this->tokenizer]; } else { if (($pos1 = strpos($this->tokenizer, '(')) !== false && ($pos2 = strrpos($this->tokenizer, ')', $pos1 + 1))) { $name = 'XSTokenizer' . ucfirst(trim(substr($this->tokenizer, 0, $pos1))); $arg = ...

3.XSException

...om = getcwd(); $file = 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 (...

4.XSUtil::parseOpt

...=== '-') { $pname = substr($pname, 1); if (($pos = strpos($pname, '=')) !== false) { $value = substr($pname, $pos + 1); $pname = substr($pname, 0, $pos); } } elseif (strlen($pname) > 1) { for...

5.XSDatabaseDataSource

...protected function init(){ if (strstr($this->type, 'sqlite')) { $pos = strpos($this->type, ':'); $param = array('scheme' => substr($this->type, 0, $pos)); $param['path'] = substr($this->type, $pos + (substr($this->type, $pos + 1, 2) === '//' ? 3 : 1)); } elseif (!($param =...

6.XS::getIndex

...fig['server.index']) ? $this->_config['server.index'] : 8383; if (($pos = strpos($conn, ';')) !== false) { $adds = explode(';', substr($conn, $pos + 1)); $conn = substr($conn, 0, $pos); } $this->_index = new XSIndex($conn, $this); $this->_index->setT...

7.XSServer::connect

... |= self::FILE; $this->_sock = $sock; return; } elseif (($pos = strpos($conn, ':')) !== false) { $host = substr($conn, 0, $pos); $port = intval(substr($conn, $pos + 1)); } else { $host = 'unix://' . $conn; $port = -1; } if (($sock = @fsockopen($h...

8.XSFieldMeta

...定的值转换为符合这个字段的数据格式 XSFieldMeta withPos() 判断当前字段索引是否支持短语搜索 XSFieldMeta 属性明细 cutlen 属性 public int $cutlen; 剪取长度 (单位:字节) 用于在返回搜索结果自动剪取较长内容的字段, 默...

9.XSUtil

...=== '-') { $pname = substr($pname, 1); if (($pos = strpos($pname, '=')) !== false) { $value = substr($pname, $pos + 1); $pname = substr($pname, 0, $pos); } } elseif (strlen($pname) > 1) { for...

10.XSIndex::update

... // internal tokenizer $wdf = $field->weight | ($field->withPos() ? XS_CMD_INDEX_FLAG_WITHPOS : 0); if ($field->hasIndexMixed()) { $cmds[] = new XSCommand(XS_CMD_DOC_INDEX, $wdf, XSFieldScheme::MIXED_VNO, $value); } if ($...

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