... 要加载的项目配置文件 源码: 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) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROO...
[quote='czhlxd' pid='4544' dateline='1377085362'] [quote='boxshadow' pid='4543' dateline='1377085275'] [quote='hightman' pid='4539' dateline='1377057605'] 没数据吧 [/quote] 大大,请教一个问题 我在php中如何引用XS.php这个文件呢? require的话会提示报错 我是...
[quote='boxshadow' pid='4562' dateline='1377162839'] [quote='czhlxd' pid='4544' dateline='1377085362'] [quote='boxshadow' pid='4543' dateline='1377085275'] [quote='hightman' pid='4539' dateline='1377057605'] 没数据吧 [/quote] 大大,请教一个问题 我在php中如何引用XS.php这...
getFieldBody() 方法 public XSFieldMeta getFieldBody() {return} XSFieldMeta 类型为 BODY 的字段 源码: sdk/php/lib/XS.class.php#L501 (显示) public function getFieldBody(){ return $this->_scheme->getFieldBody();} 获取当前内容字段
makeDsn() 方法 abstract protected void makeDsn(array $param) $param array 源码: sdk/php/util/XSDataSource.class.php#L859 (显示) abstract protected function makeDsn($param); 提取参数内容生成 PDO 连接专用的 DSN
[quote='czhlxd' pid='4564' dateline='1377175842'] [quote='boxshadow' pid='4562' dateline='1377162839'] [quote='czhlxd' pid='4544' dateline='1377085362'] [quote='boxshadow' pid='4543' dateline='1377085275'] [quote='hightman' pid='4539' dateline='1377057605'] 没数据吧 [/quote] 大大,...
...lic void __toString() 源码: sdk/php/lib/XSFieldScheme.class.php#L33 (显示) public function __toString(){ $str = ''; foreach ($this->_fields as $field) { $str .= $field->toConfig() . "\n"; } return $str;} 将对象转换为配置文件字符串 addField() 方法 ...
...型为 BODY 的字段 源码: sdk/php/lib/XSFieldScheme.class.php#L77 (显示) public function getFieldBody(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_BODY])) { $name = $this->_typeMap[XSFieldMeta::TYPE_BODY]; return $this->_fields[$name]; } return false;} 获取...
..., 若无则返回 null 源码: sdk/php/lib/XSDocument.class.php#L221 (显示) public function getAddIndex($field){ $field = strval($field); if ($this->_texts === null || !isset($this->_texts[$field])) { return null; } return $this->autoConvert($this->_texts[$field]);} 获...
... public void __destruct() 源码: sdk/php/lib/XSIndex.class.php#L528 (显示) public function __destruct(){ if ($this->_rebuild === true) { try { $this->endRebuild(); } catch (Exception $e) { } } foreach (self::$_adds as $srv) { $srv-...