搜索

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

1.XSDocument::__call

...ent.class.php#L108 (显示) public function __call($name, $args){ if ($this->_meta !== null) { $name = strtolower($name); if (isset($this->_meta[$name])) { return $this->_meta[$name]; } } throw new XSException('Call to undefined method `' . get_class($this) ...

2.XSDocument::getIterator

...XSDocument.class.php#L272 (显示) public function getIterator(){ if ($this->_charset !== null && $this->_charset !== 'UTF-8') { $from = $this->_meta === null ? $this->_charset : 'UTF-8'; $to = $this->_meta === null ? 'UTF-8' : $this->_charset; return new ArrayIterator(XS::c...

3.XSDocument

...ent.class.php#L108 (显示) public function __call($name, $args){ if ($this->_meta !== null) { $name = strtolower($name); if (isset($this->_meta[$name])) { return $this->_meta[$name]; } } throw new XSException('Call to undefined method `' . get_class($this) ...

4.XSDocument::__construct

...s.php#L56 (显示) public function __construct($p = null, $d = null){ $this->_data = array(); if (is_array($p)) { $this->_data = $p; } elseif (is_string($p)) { if (strlen($p) !== self::$_resSize) { $this->setCharset($p); return; } $this->_m...

5.XSServer::read

...ize if ($len == 0) { return ''; } // loop to send data $this->check(); for ($buf = '', $size = $len;;) { $bytes = fread($this->_sock, $len); if ($bytes === false || strlen($bytes) == 0) { break; } $len -= strlen($bytes); $buf .= $by...

6.XSDocument::setField

... false){ if ($value === null) { if ($isMeta) { unset($this->_meta[$name]); } else { unset($this->_data[$name]); } } else { if ($isMeta) { $this->_meta[$name] = $value; } else { $this->_data[$name] = $value; }...

7.XSServer::write

...strlen($buf)) == 0) { return true; } // loop to send data $this->check(); while (true) { $bytes = fwrite($this->_sock, $buf, $len); if ($bytes === false || $bytes === 0 || $bytes === $len) { break; } $len -= $bytes; $buf = substr($buf,...

8.XSServer

...#L143 (显示) public function __construct($conn = null, $xs = null){ $this->xs = $xs; if ($conn !== null) { $this->open($conn); }} 构造函数, 打开连接 __destruct() 方法 public void __destruct() 源码: sdk/php/lib/XSServer.class.php#L154 (显示) public ...

9.XSDocument::setFields

...示) public function setFields($data){ if ($data === null) { $this->_data = array(); $this->_meta = $this->_terms = $this->_texts = null; } else { $this->_data = array_merge($this->_data, $data); }} 批量设置字段值 这里是以合并方式赋值, 即不会清...

10.XSDocument::__set

...ment.class.php#L93 (显示) public function __set($name, $value){ if ($this->_meta !== null) { throw new XSException('Magick property of result document is read-only'); } $this->setField($name, $value);} 魔术方法 __set 实现以对象属性方式设置文档字段值

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