...5 || strlen($to) > 255) { throw new XSException('Value of range is too long'); } $vno = $this->xs->getField($field)->vno; $from = XS::convert($from, 'UTF-8', $this->_charset); $to = XS::convert($to, 'UTF-8', $this->_charset); if ($from === null) { ...
...db_open’: xdb.c:171:21: error: ‘LOCK_EX’ undeclared (first use in this function) xdb.c:171:21: note: each undeclared identifier is reported only once for each function it appears in xdb.c: In function ‘xdb_create’: xdb.c:213:20: error: ‘LOCK_EX’ undeclared (first use in this functi...
... 192.168.5.180:8383 -k start,得到一个: WARNING: server[xs-indexd] is running (BIND:192.168.5.180:8383, PID:3961) 查看indexd.log: 2011-10-27 15:24:05 indexd[3961] can not get db by pid (PID:8501) 2011-10-27 16:35:55 indexd[3961] caught system signal[15], terminate immediately 2011-10-2...
...el($term, $field = null){ // get field $field = $field === null ? $this->xs->getFieldId() : $this->xs->getField($field); // get commands $cmds = array(); $terms = is_array($term) ? array_unique($term) : array($term); $terms = XS::convert($terms, 'UTF-8', $this->xs->getDefaultCharse...
...l/XSDataSource.class.php#L709 (显示) public function close(){ if ($this->link) { sqlite_close($this->link); $this->link = null; }} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/p...
...l/XSDataSource.class.php#L768 (显示) public function close(){ if ($this->obj) { $this->obj->close(); $this->obj = null; }} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接参数, 包含: path 源码: sdk/php/util/...
... In function `main': test.c:4: error: `scws_t' undeclared (first use in this function) test.c:4: error: (Each undeclared identifier is reported only once test.c:4: error: for each function it appears in.) test.c:4: error: syntax error before "s" test.c:5: error: `s' undeclared (first use in thi...
...) public function __toString(){ $string = '[' . __CLASS__ . '] ' . $this->getRelPath($this->getFile()) . '(' . $this->getLine() . '): '; $string .= $this->getMessage() . ($this->getCode() > 0 ? '(S#' . $this->getCode() . ')' : ''); return $string;} 将类对象转换成字符串 get...
...) 析构函数 XS __get() 魔术方法 __get XSComponent __isset() 魔术方法 __isset XSComponent __set() 魔术方法 __set XSComponent __unset() 魔术方法 __unset XSComponent autoload() 智能加载类库文件 XS convert() 字符集转换 X...
...util/XSDataSource.class.php#L569 (显示) public function close(){ if (is_resource($this->link)) { pg_close($this->link); $this->link = null; }} 关闭数据库连接 connect() 方法 public void connect($param) $param 源码: sdk/php/util/XSDataSourc...