搜索

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

131.XSDocument::offsetSet

...lue mixed 字段值 源码: sdk/php/lib/XSDocument.class.php#L309 (显示) public function offsetSet($name, $value){ if (!is_null($name)) { $this->__set(strval($name), $value); }} ArrayAccess 接口, 设置字段值, 勿直接调用

132.XSTokenizerXlen::getTokens

...e $doc 源码: sdk/php/lib/XSTokenizer.class.php#L116 (显示) public function getTokens($value, XSDocument $doc = null){ $terms = array(); for ($i = 0; $i < strlen($value); $i += $this->arg) { $terms[] = substr($value, $i, $this->arg); } return $terms;}

133.XS::__destruct

__destruct() 方法 public void __destruct() 源码: sdk/php/lib/XS.class.php#L304 (显示) public function __destruct(){ $this->_index = null; $this->_search = null;} 析构函数 由于对象交叉引用, 如需提前销毁对象, 请强制调用该函数

134.XSDatabaseSQLite::connect

...参数, 包含: path 源码: sdk/php/util/XSDataSource.class.php#L699 (显示) public function connect($param){ if (($this->link = sqlite_open($param['path'])) === false) { throw new XSException("Can not open sqlite file: '{$param['path']}'"); }} 打开数据库

135.XSSearch::open

...onn) $conn string 源码: sdk/php/lib/XSSearch.class.php#L55 (显示) public function open($conn){ parent::open($conn); $this->_prefix = array(); $this->_fieldSet = false; $this->_lastCount = false;} 连接搜索服务端并初始化 每次重新连接后所有的搜索...

136.XSServer::getConnString

... string 连接字符串 源码: sdk/php/lib/XSServer.class.php#L217 (显示) public function getConnString(){ $str = $this->_conn; if (is_int($str) || is_numeric($str)) { $str = 'localhost:' . $str; } elseif (strpos($str, ':') === false) { $str = 'unix://' . $str; } ...

137.XSTokenizer::getTokens

...的词组成的数组 源码: sdk/php/lib/XSTokenizer.class.php#L33 (显示) public function getTokens($value, XSDocument $doc = null); 执行分词并返回词列表

138.XSServer::sendCommand

...造函数的第一参数 源码: sdk/php/lib/XSServer.class.php#L321 (显示) public function sendCommand($cmd){ if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } $this->write(strval($cmd));} 往服务器直接发送指令 (无缓存)

139.XSDatabase::setUtf8

setUtf8() 方法 public bool setUtf8() {return} bool 如果数据库能直接输出 UTF-8 编码则返回 true 否则返回 false 源码: sdk/php/util/XSDataSource.class.php#L445 (显示) public function setUtf8(){ return false;} 设置数据库字符集为 UTF-8

140.XSFieldScheme::__toString

...lic void __toString() 源码: sdk/php/lib/XSFieldScheme.class.php#L33 (显示) public function __toString(){ $str = ''; foreach ($this->_fields as $field) { $str .= $field->toConfig() . "\n"; } return $str;} 将对象转换为配置文件字符串

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