搜索

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

81.XSDatabaseMySQLI::setUtf8

setUtf8() 方法 public bool setUtf8() {return} bool 始终返回 true 源码: sdk/php/util/XSDataSource.class.php#L677 (显示) public function setUtf8(){ $this->obj->set_charset('utf8'); return true;} 将输出字符集设置为 UTF-8

82.XSDatabaseMySQL

... mixed query(string $sql) $sql string 要执行的 SQL 语句 {return} mixed 源码: sdk/php/util/XSDataSource.class.php#L511 (显示) public function query($sql){ //echo "[DEBUG] SQL: $sql\n"; $res = mysql_query($sql, $this->link); if ($res === false) { throw n...

83.XS::getScwsServer

getScwsServer() 方法 public XSServer getScwsServer() {return} XSServer 分词服务器 源码: sdk/php/lib/XS.class.php#L467 (显示) public function getScwsServer(){ if ($this->_scws === null) { $conn = isset($this->_config['server.search']) ? $this->_config['server....

84.XSIndex::add

... public XSIndex add(XSDocument $doc) $doc XSDocument {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L72 (显示) public function add(XSDocument $doc){ return $this->update($doc, true);} 添加文档到索引中 特别...

85.XSTokenizerSplit::getTokens

...str($this->arg, 0, 1) == '/' && substr($this->arg, -1, 1) == '/') { return preg_split($this->arg, $value); } return explode($this->arg, $value);}

86.XSTokenizerScws::getVersion

getVersion() 方法 public string getVersion() {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_...

87.XSSearch::getDbTotal

getDbTotal() 方法 public int getDbTotal() {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('Itot...

88.XS::getField

...hrow bool 当字段不存在时是否抛出异常, 默认为 true {return} XSFieldMeta 字段元数据对象 源码: sdk/php/lib/XS.class.php#L514 (显示) public function getField($name, $throw = true){ return $this->_scheme->getField($name, $throw);} 获取项目字段元...

89.XSServer::reopen

...rce=false) $force bool 是否强制重新连接, 默认为否 {return} XSServer 返回自己, 以便串接操作 源码: sdk/php/lib/XSServer.class.php#L185 (显示) public function reopen($force = false){ if ($this->_flag & self::BROKEN || $force === true) { $this->op...

90.XSSearch::addDb

...法 public XSSearch addDb(string $name) $name string {return} XSSearch 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L492 (显示) public function addDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_CMD_SEARCH_A...

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