...ruct(string $file) $file string 要加载的项目配置文件 源码: sdk/php/lib/XS.class.php#L284 (显示) public function __construct($file){ if (strlen($file) < 255 && !is_file($file)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoo...
...法名称 $args array 调用时的参数列表 (此处无用) 源码: sdk/php/lib/XSDocument.class.php#L108 (显示) public function __call($name, $args){ if ($this->_meta !== null) { $name = strtolower($name); if (isset($this->_meta[$name])) { return $this->...
... 方法明细 close() 方法 abstract public void close() 源码: sdk/php/util/XSDataSource.class.php#L433 (显示) abstract public function close(); 关闭数据库连接 connect() 方法 abstract public void connect(array $param) $param array 连接参数, ...
...象参数, 常为 SQL 语句或要导入的文件路径 $arg 源码: sdk/php/util/XSDataSource.class.php#L30 (显示) public function __construct($type, $arg){ $this->type = $type; $this->arg = $arg; $this->inCli = php_sapi_name() === 'cli'; $this->init();} 构造函...
... 方法明细 __toString() 方法 public void __toString() 源码: sdk/php/lib/XSFieldScheme.class.php#L33 (显示) public function __toString(){ $str = ''; foreach ($this->_fields as $field) { $str .= $field->toConfig() . "\n"; } return $str;} 将对象转换...
...tring 服务端连接参数 $xs XS 需要捆绑的 xs 对象 源码: sdk/php/lib/XSServer.class.php#L143 (显示) public function __construct($conn = null, $xs = null){ $this->xs = $xs; if ($conn !== null) { $this->open($conn); }} 构造函数, 打开连接 __de...
...sePgSQL 方法明细 close() 方法 public void close() 源码: sdk/php/util/XSDataSource.class.php#L569 (显示) public function close(){ if (is_resource($this->link)) { pg_close($this->link); $this->link = null; }} 关闭数据库连接 connect() 方...
...ing 要转换字符串 {return} string 转换后的字符串 源码: sdk/php/util/XSUtil.class.php#L95 (显示) public static function convertIn($buf){ if (self::$charset !== null) { return XS::convert($buf, 'UTF-8', self::$charset); } return $buf;} 把用户输入...
...ted $obj; 方法明细 close() 方法 public void close() 源码: sdk/php/util/XSDataSource.class.php#L833 (显示) public function close(){ $this->obj = null;} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接参数, ...
...ng $arg=NULL) $arg string 复合等级参数,默认不指定 源码: sdk/php/lib/XSTokenizer.class.php#L188 (显示) public function __construct($arg = null){ if (self::$_server === null) { $xs = XS::getLastXS(); if ($xs === null) { throw new XSException('A...