搜索

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

11.XSFieldMeta::getCustomTokenizer

... && ($pos2 = strrpos($this->tokenizer, ')', $pos1 + 1))) { $name = 'XSTokenizer' . ucfirst(trim(substr($this->tokenizer, 0, $pos1))); $arg = substr($this->tokenizer, $pos1 + 1, $pos2 - $pos1 - 1); } else { $name = 'XSTokenizer' . ucfirst($this->tokenizer);...

12.XSFieldScheme

...new XSFieldMeta($field, $config); } if (isset($this->_fields[$field->name])) { throw new XSException('Duplicated field name: `' . $field->name . '\''); } if ($field->isSpeical()) { if (isset($this->_typeMap[$field->type])) { $prev = $this->_typeMap[$field->type];...

13.XSServer::setProject

setProject() 方法 public void setProject(string $name, string $home='') $name string 项目名称 $home string 项目在服务器上的目录路径, 可选参数(不得超过255字节). 源码: sdk/php/lib/XSServer.class.php#L251 (显示) public function setProject($nam...

14.XS::setName

setName() 方法 public void setName(string $name) $name string 项目名称 源码: sdk/php/lib/XS.class.php#L378 (显示) public function setName($name){ $this->_config['project.name'] = $name;} 修改当前项目名称 注意,必须在 getSearch 和 getIndex 前调用...

15.XSDocument::offsetSet

offsetSet() 方法 public void offsetSet(string $name, mixed $value) $name string 字段名称 $value mixed 字段值 源码: sdk/php/lib/XSDocument.class.php#L309 (显示) public function offsetSet($name, $value){ if (!is_null($name)) { $this->__set(strval($nam...

16.增量索引不成功

发布时间:2014-02-13 17:02 t By lzc2523700

...e_db_array[$table], TRUE ); //建立 XS 对象 $xs = new XS($project_name); //获取 索引对象 $index = $xs->index; $doc = new XSDocument; $result = array(); $result = $this->temp_db->get_where($table, array($table_key_array[$table] => $id))->row_array(); if(empty($result...

17.XSComponent::__get

__get() 方法 public mixed __get(string $name) $name string 属性名称 {return} mixed 属性值 源码: sdk/php/lib/XS.class.php#L182 (显示) public function __get($name){ $getter = 'get' . $name; if (method_exists($this, $getter)) { return $this->$getter...

18.XSComponent::__set

__set() 方法 public void __set(string $name, mixed $value) $name string 属性名称 $value mixed 属性值 源码: sdk/php/lib/XS.class.php#L202 (显示) public function __set($name, $value){ $setter = 'set' . $name; if (method_exists($this, $setter)) { re...

19.XSFieldScheme::addField

...new XSFieldMeta($field, $config); } if (isset($this->_fields[$field->name])) { throw new XSException('Duplicated field name: `' . $field->name . '\''); } if ($field->isSpeical()) { if (isset($this->_typeMap[$field->type])) { $prev = $this->_typeMap[$field->type];...

20.XS::autoload

autoload() 方法 public static void autoload(string $name) $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...

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