搜索

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

1.XSFieldMeta::fromConfig

... type & default setting if (isset($config['type'])) { $predef = 'self::TYPE_' . strtoupper($config['type']); if (defined($predef)) { $this->type = constant($predef); if ($this->type == self::TYPE_ID) { $this->flag = self::FLAG_INDEX_SELF; ...

2.XSFieldMeta::toConfig

...(){ // type $str = "[" . $this->name . "]\n"; if ($this->type === self::TYPE_NUMERIC) { $str .= "type = numeric\n"; } elseif ($this->type === self::TYPE_DATE) { $str .= "type = date\n"; } elseif ($this->type === self::TYPE_ID) { $str .= "type = id\n"; } elseif ...

3.XSFieldMeta

...判断当前字段是否需要在混合区索引 XSFieldMeta hasIndexSelf() 判断当前字段是否需要在字段区索引 XSFieldMeta isBoolIndex() 判断当前字段的索引是否为布尔型 XSFieldMeta isNumeric() 判断当前字段是否为数字型 XSFieldMeta ...

4.XSFieldScheme::logger

...eldScheme.class.php#L198 (显示) public static function logger(){ if (self::$_logger === null) { $scheme = new self; $scheme->addField('id', array('type' => 'id')); $scheme->addField('pinyin'); $scheme->addField('partial'); $scheme->addField('total', array('ty...

5.XSUtil::getOpt

...ublic 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 && isse...

6.XSUtil

...til.class.php#L95 (显示) public static function convertIn($buf){ if (self::$charset !== null) { return XS::convert($buf, 'UTF-8', self::$charset); } return $buf;} 把用户输入的字符串转换为 UTF-8 编码 convertOut() 方法 public static string convertOut(st...

7.XSTokenizerScws

....class.php#L188 (显示) public function __construct($arg = null){ if (self::$_server === null) { $xs = XS::getLastXS(); if ($xs === null) { throw new XSException('An XS instance should be created before using ' . __CLASS__); } self::$_server = $xs->getScws...

8.XSDatabaseDataSource::getDataList

...t <= 0) { return false; } $sql = $this->sql . ' LIMIT ' . min(self::PLIMIT, $this->limit) . ' OFFSET ' . $this->offset; $this->limit -= self::PLIMIT; $this->offset += self::PLIMIT; return $this->db->query($sql);} 返回一批数据

9.XSFieldMeta::isSpeical

....php#L367 (显示) public function isSpeical(){ return ($this->type == self::TYPE_ID || $this->type == self::TYPE_TITLE || $this->type == self::TYPE_BODY);} 判断当前字段是否为特殊类型 特殊类型的字段是指 id, title, body, 每个项目至多只能有一个这种类型的...

10.XSTokenizerScws::setCharset

...okenizer.class.php#L242 (显示) public function setCharset($charset){ self::$_charset = strtoupper($charset); if (self::$_charset == 'UTF8') { self::$_charset = 'UTF-8'; } return $this;} 设置字符集 默认字符集是 UTF-8, 这是指 getResult 系列函数的 $text 参...

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