搜索

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

171.XSUtil::convertOut

... {return} string 转换后的字符串 源码: sdk/php/util/XSUtil.class.php#L82 (显示) public static function convertOut($buf){ if (self::$charset !== null) { return XS::convert($buf, self::$charset, 'UTF-8'); } return $buf;} 把 UTF-8 字符串转换为用户编码

172.XSTokenizerScws::getVersion

...on() {return} string 版本号 源码: sdk/php/lib/XSTokenizer.class.php#L327 (显示) public function getVersion(){ $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_VERSION); $res = self::$_server->execCommand($cmd, XS_CMD_OK_INFO); return $res->buf;} 获取 sc...

173.XSUtil::convertIn

... {return} string 转换后的字符串 源码: sdk/php/util/XSUtil.class.php#L95 (显示) public static function convertIn($buf){ if (self::$charset !== null) { return XS::convert($buf, 'UTF-8', self::$charset); } return $buf;} 把用户输入的字符串转换为 UTF-8 ...

174.new MyDocument会找不到啊

发布时间:2014-07-10 15:07 t By 327532817

require_once 'xunsearch/lib/XS.php'; $xs = new XS('demo'); var_dump($xs); //到这里是正常的 $doc = new MyDocument; // Class 'MyDocument' not found 肯定没有这个类啊 我该怎么操作呢

175.XSSearch::getDbTotal

...Total() {return} int 数据总量 源码: sdk/php/lib/XSSearch.class.php#L659 (显示) public function getDbTotal(){ $cmd = new XSCommand(XS_CMD_SEARCH_DB_TOTAL); $res = $this->execCommand($cmd, XS_CMD_OK_DB_TOTAL); $tmp = unpack('Itotal', $res->buf); return $tmp['total'];} ...

176.XSDataFilter::process

...se 表示本条数据不加入索引 源码: sdk/php/util/XSDataSource.class.php#L969 (显示) public function process($data, $cs = false); 字段数据处理函数

177.XS::getField

... {return} XSFieldMeta 字段元数据对象 源码: sdk/php/lib/XS.class.php#L514 (显示) public function getField($name, $throw = true){ return $this->_scheme->getField($name, $throw);} 获取项目字段元数据

178.XSDocument::getAddIndex

...ng 文本内容, 若无则返回 null 源码: sdk/php/lib/XSDocument.class.php#L221 (显示) public function getAddIndex($field){ $field = strval($field); if ($this->_texts === null || !isset($this->_texts[$field])) { return null; } return $this->autoConvert($this->_texts[$...

179.XSServer::reopen

...Server 返回自己, 以便串接操作 源码: sdk/php/lib/XSServer.class.php#L185 (显示) public function reopen($force = false){ if ($this->_flag & self::BROKEN || $force === true) { $this->open($this->_conn); } return $this;} 重新打开连接 仅应用于曾经成...

180.XSDatabaseDataSource::getDataList

... 没有更多数据时返回 false 源码: sdk/php/util/XSDataSource.class.php#L220 (显示) protected function getDataList(){ if ($this->limit <= 0) { return false; } $sql = $this->sql . ' LIMIT ' . min(self::PLIMIT, $this->limit) . ' OFFSET ' . $this->offset; $this->limit...

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