搜索

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

261.XSUtil::fixWidth

...补足的字符 {return} string 源码: sdk/php/util/XSUtil.class.php#L50 (显示) public static function fixWidth($text, $size, $pad = ' '){ for ($i = $j = 0; $i < strlen($text) && $j < $size; $i++, $j++) { if ((ord($text[$i]) & 0xe0) === 0xe0) { if (($size - $j) ...

262.XSSearch::setAutoSynonyms

... 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L129 (显示) public function setAutoSynonyms($value = true){ $flag = XS_CMD_PARSE_FLAG_BOOLEAN | XS_CMD_PARSE_FLAG_PHRASE | XS_CMD_PARSE_FLAG_LOVEHATE; if ($value === true) { $flag |= XS_CMD_PARSE_FLA...

263.XS::getSearch

...() {return} XSSearch 搜索操作对象 源码: sdk/php/lib/XS.class.php#L431 (显示) public function getSearch(){ if ($this->_search === null) { $conns = array(); if (!isset($this->_config['server.search'])) { $conns[] = 8384; } else { for...

264.RE: 能否提供个hdwiki的html的过滤器和ini文件呢?

发布时间:2012-11-30 16:11 t By hightman

比如你的过滤器名字为 test 那么文件名 /usr/local/sdk/php/lib/XSTestFilter.php 内容 class XSTestFilter implements XSFilter { }

265.XSSearch::setCollapse

... 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L332 (显示) public function setCollapse($field, $num = 1){ $vno = $field === null ? XSFieldScheme::MIXED_VNO : $this->xs->getField($field, true)->vno; $max = min(255, intval($num)); $cmd = new XSCommand(...

266.XSErrorException::__construct

...错所在的行数 $previous Exception 源码: sdk/php/lib/XS.class.php#L134 (显示) public function __construct($code, $message, $file, $line, $previous = null){ $this->_file = $file; $this->_line = $line; if (version_compare(PHP_VERSION, '5.3.0', '>=')) { parent::__c...

267.XSIndex::addSynonym

... 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L283 (显示) public function addSynonym($raw, $synonym){ $raw = strval($raw); $synonym = strval($synonym); if ($raw !== '' && $synonym !== '') { $cmd = new XSCommand(XS_CMD_INDEX_SYNONYMS, XS_CMD_I...

268.XSTokenizerScws::setDict

...回对象本身以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L283 (显示) public function setDict($fpath, $mode = null){ if (!is_int($mode)) { $mode = stripos($fpath, '.txt') !== false ? SCWS_XDICT_TXT : SCWS_XDICT_XDB; } $this->_setting['set_dict'] = new XSCo...

269.XSFieldScheme::getField

...对象, 若不存在则返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L93 (显示) public function getField($name, $throw = true){ if (is_int($name)) { if (!isset($this->_vnoMap[$name])) { if ($throw === true) { throw new XSException('Not exists fie...

270.XSTokenizerScws::getResult

...本中的位置,attr:词性,word:词] 源码: sdk/php/lib/XSTokenizer.class.php#L339 (显示) public function getResult($text){ $words = array(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_RESULT, 0, $text); $res = self::$_server...

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