搜索

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

91.XSDatabaseSQLite3

...php/util/XSDataSource.class.php#L768 (显示) public function close(){ if ($this->obj) { $this->obj->close(); $this->obj = null; }} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/ph...

92.XSIndex::addSynonym

...raw, $synonym){ $raw = strval($raw); $synonym = strval($synonym); if ($raw !== '' && $synonym !== '') { $cmd = new XSCommand(XS_CMD_INDEX_SYNONYMS, XS_CMD_INDEX_SYNONYMS_ADD, 0, $raw, $synonym); if ($this->_bufSize > 0) { $this->appendBuffer(strval($cmd)); } ...

93.XSUtil::getOpt

...) public static function getOpt($short, $long = null, $extra = false){ if (self::$options === null) { self::parseOpt(); } $value = null; $options = self::$options; if ($long !== null && isset($options[$long])) { $value = $options[$long]; } elseif ($short !== null && ...

94.XSSearch::count

...ull){ $query = $query === null ? '' : $this->preQueryString($query); if ($query === '' && $this->_count !== null) { return $this->_count; } $cmd = new XSCommand(XS_CMD_SEARCH_GET_TOTAL, 0, $this->_defaultOp, $query); $res = $this->execCommand($cmd, XS_CMD_OK_SEARCH_TOTAL); $...

95.XSIndex::delSynonym

... strval($raw); $synonym = $synonym === null ? '' : strval($synonym); if ($raw !== '') { $cmd = new XSCommand(XS_CMD_INDEX_SYNONYMS, XS_CMD_INDEX_SYNONYMS_DEL, 0, $raw, $synonym); if ($this->_bufSize > 0) { $this->appendBuffer(strval($cmd)); } else { $...

96.XSTokenizerSplit

...nizer.class.php#L79 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = $arg; }} getTokens() 方法 public void getTokens($value, $doc=NULL) $value $doc 源码: sdk/php/lib/XSTokenizer.class.php#L86 ...

97.XSTokenizerScws::addDict

...class.php#L299 (显示) public function addDict($fpath, $mode = null){ if (!is_int($mode)) { $mode = stripos($fpath, '.txt') !== false ? SCWS_XDICT_TXT : SCWS_XDICT_XDB; } if (!isset($this->_setting['add_dict'])) { $this->_setting['add_dict'] = array(); } $this->_settin...

98.编译时出错,是怎么回事?scws.h

发布时间:2013-04-18 10:04 t By ffcz

checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking for scws support... yes, shared checking for scws.h... no configure: error: Please download and install scws from http://ww...

99.xdb导入时关联xdb.class.php中的key错误

发布时间:2011-06-09 10:06 t By itlong

...b.class.php 447行有问题。 修改xdb.class.php如下: 原来: if ($cmp == false) $cmp = create_function('$a,$b', 'return strcmp($a[key],$b[key]);');//$a[key]这种写法非常不严谨,是低级问题。真不明白定这个函数的人是如何学php的,害人不浅。 改成 i...

100.XSTokenizerXlen

...izer.class.php#L106 (显示) public function __construct($arg = null){ if ($arg !== null && $arg !== '') { $this->arg = intval($arg); if ($this->arg < 1 || $this->arg > 255) { throw new XSException('Invalid argument for ' . __CLASS__ . ': ' . $arg); } }} ...

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