getFieldTitle() 方法 public XSFieldMeta getFieldTitle() {return} XSFieldMeta 类型为 TITLE 的字段 源码: sdk/php/lib/XS.class.php#L491 (显示) public function getFieldTitle(){ return $this->_scheme->getFieldTitle();} 获取当前标题字段
getAllFields() 方法 public XSFieldMeta[] getAllFields() {return} XSFieldMeta[] 源码: sdk/php/lib/XSFieldScheme.class.php#L117 (显示) public function getAllFields(){ return $this->_fields;} 获取项目所有字段结构设置
getField() 方法 public XSFieldMeta getField(mixed $name, bool $throw=true) $name mixed 字段名称(string) 或字段序号(vno, int) $throw bool 当字段不存在时是否抛出异常, 默认为 true {return} XSFieldMeta 字段元数据对象 源码: sdk/php/li...
...rivate] => XSFieldScheme Object ( [_fields:private] => Array ( [newsid] => XSFieldMeta Object ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 ) [title] => XSFieldMeta Object ( [name] => title [cutlen] => 0 [weight] => 5 [type] =>...
getField() 方法 public XSFieldMeta getField(mixed $name, bool $throw=true) $name mixed 字段名称(string) 或字段序号(vno, int) $throw bool 当字段不存在时是否抛出异常, 默认为 true {return} XSFieldMeta 字段元数据对象, 若不存在则返回...
...ument cmds foreach ($this->xs->getAllFields() as $field) /* @var $field XSFieldMeta */ { // value if (($value = $doc->f($field)) !== null) { $varg = $field->isNumeric() ? XS_CMD_VALUE_FLAG_NUMERIC : 0; $value = $field->val($value); if (!$field->hasCu...
allFields 属性 只读 public XSFieldMeta[] getAllFields() 获取项目所有字段结构设置
fieldBody 属性 只读 public XSFieldMeta getFieldBody() 获取当前内容字段
fieldId 属性 只读 public XSFieldMeta getFieldId() 获取当前主键字段
fieldTitle 属性 只读 public XSFieldMeta getFieldTitle() 获取当前标题字段