搜索

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

1.XSServer::read

read() 方法 protected string read(int $len) $len int 要读入的长度 {return} string 成功时返回读到的字符串 源码: sdk/php/lib/XSServer.class.php#L404 (显示) protected function read($len){ // quick return for zero size if ($len == 0) { retu...

2.XSServer::getRespond

.../lib/XSServer.class.php#L334 (显示) public function getRespond(){ // read data from server $buf = $this->read(8); $hdr = unpack('Ccmd/Carg1/Carg2/Cblen1/Iblen', $buf); $res = new XSCommand($hdr); $res->buf = $this->read($hdr['blen']); $res->buf1 = $this->read($hdr['blen1']); ...

3.XSDocument::__set

...ull) { throw new XSException('Magick property of result document is read-only'); } $this->setField($name, $value);} 魔术方法 __set 实现以对象属性方式设置文档字段值

4.XSServer

...的连接情况 XSServer connect() 连接服务端 XSServer read() 读取数据 XSServer write() 写入数据 XSServer 属性明细 _conn 属性 protected $_conn; _flag 属性 protected $_flag; _project 属性 protected $_project; _sendBuff...

5.XSUtil::copyDir

...($dst, 0755, true))) { return false; } while (($entry = $dir->read()) !== false) { if ($entry === '.' || $entry === '..') { continue; } $psrc = $src . DIRECTORY_SEPARATOR . $entry; $pdst = $dst . DIRECTORY_SEPARATOR . $entry; if (is_dir($pds...

6.XSComponent::__set

... } // throw exception $msg = method_exists($this, 'get' . $name) ? 'Read-only' : 'Undefined'; $msg .= ' property: ' . get_class($this) . '::$' . $name; throw new XSException($msg);} 魔术方法 __set 设置模拟属性的值, 内部实际是调用 setXxx 方法

7.XSJsonDataSource

...ataSource.class.php#L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; while (true) { $buf = fgets($this->fd, 8192); if ($buf === false || strlen($buf) === 0) { break; } $line .= $buf; if (strlen($buf) ...

8.XSJsonDataSource::getDataList

...ataSource.class.php#L295 (显示) protected function getDataList(){ // read line (check to timeout?) $line = ''; while (true) { $buf = fgets($this->fd, 8192); if ($buf === false || strlen($buf) === 0) { break; } $line .= $buf; if (strlen($buf) ...

9.XSIndex::addExdata

..._get_contents($data)) === false) { throw new XSException('Failed to read exdata from file'); } // try to check allowed (BUG: check the first cmd only): // XS_CMD_IMPORT_HEADER, XS_CMD_INDEX_REQUEST, XS_CMD_INDEX_REMOVE, XS_CMD_INDEX_EXDATA $first = ord(substr($data, 0, 1)); if ...

10.XSCsvDataSource

...($file) && $this->inCli) { echo "WARNING: input file not specified, read data from \n"; $file = 'php://stdin'; } if (!($this->fd = fopen($file, 'r'))) { throw new XSException("Can not open input file: '$file'"); } $this->line = 0; if (isset($_SERVER['XS_CSV...

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