...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L492 (显示) public function addDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_CMD_SEARCH_ADD_DB, 'buf' => $name)); $this->_curDbs[] = $name; return $this;} 添加搜索的数据库名, 支...
...g 异常的简要描述信息 源码: sdk/php/lib/XS.class.php#L149 (显示) public function __toString(){ $string = '[' . __CLASS__ . '] ' . $this->getRelPath($this->_file) . '(' . $this->_line . '): '; $string .= $this->getMessage() . '(' . $this->getCode() . ')'; return $string;} ...
..., 不是返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L367 (显示) public function isSpeical(){ return ($this->type == self::TYPE_ID || $this->type == self::TYPE_TITLE || $this->type == self::TYPE_BODY);} 判断当前字段是否为特殊类型 特殊类型的字段是指 id,...
...以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L256 (显示) public function setIgnore($yes = true){ $this->_setting['ignore'] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_SET_IGNORE, $yes === false ? 0 : 1); return $this;} 设置忽略...
...存在为 true, 反之为 false 源码: sdk/php/lib/XS.class.php#L221 (显示) public function __isset($name){ return method_exists($this, 'get' . $name);} 魔术方法 __isset 判断模拟属性是否存在并可读取
..., 不是返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L345 (显示) public function isBoolIndex(){ if ($this->flag & self::FLAG_NON_BOOL) { return false; } return (!$this->hasIndex() || $this->tokenizer !== XSTokenizer::DFL);} 判断当前字段的索引是否为...
...以支持串接操作 源码: sdk/php/lib/XSTokenizer.class.php#L242 (显示) public function setCharset($charset){ self::$_charset = strtoupper($charset); if (self::$_charset == 'UTF8') { self::$_charset = 'UTF-8'; } return $this;} 设置字符集 默认字符集是 UTF-...
... $name string 类的名称 源码: sdk/php/lib/XS.class.php#L533 (显示) public static function autoload($name){ $file = XS_LIB_ROOT . '/' . $name . '.class.php'; if (file_exists($file)) { require_once $file; }} 智能加载类库文件 要求以 Name.class.php 命名...
...ng 异常的简要描述信息 源码: sdk/php/lib/XS.class.php#L67 (显示) public function __toString(){ $string = '[' . __CLASS__ . '] ' . $this->getRelPath($this->getFile()) . '(' . $this->getLine() . '): '; $string .= $this->getMessage() . ($this->getCode() > 0 ? '(S#' . $this->get...
...g=NULL) $arg 源码: sdk/php/lib/XSTokenizer.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 f...