====== 自定义字段使用 ====== == 调用字段 == $field = $this->fields->fieldName; == 输出字段 == $this->fields->fieldName(); == 判断字段 == if(isset($this->fields->fieldName)){ echo '字段存在,值为:'.$this->fields->fieldName; }else{ echo '字段不存在'; }
$field = $this->fields->fieldName;
$this->fields->fieldName();
if(isset($this->fields->fieldName)){ echo '字段存在,值为:'.$this->fields->fieldName; }else{ echo '字段不存在'; }