function __construct($fields_xml = "") { //if (is_object($fields_xml)) { // $this->fields = $fields_xml->fields; //$this-> //} else { parent::__construct($fields_xml, null); //} }
public function __construct($show_name, $name, $is_must_input = false) { parent::__construct($show_name, $name, $is_must_input); $this->typ = "Field_array"; $this->real_data = array(); $this->bookId = ''; $this->value = array(); $this->real_data = array(); }
/** * Constructor */ public function __construct($config = array()) { // first we run the perent constructor if (parent::__construct($config)) { // set if line numbers should be added to comments $this->loadLineNr = $this->componentData->debug_linenr ? true : false; return true; } return false; }
public function __construct($show_name, $name, $is_must_input = false) { parent::__construct($show_name, $name, $is_must_input); $this->typ = "Field_array"; $this->real_data = array(); $this->bookId = ''; $this->value = array(); $this->real_data = array(); $this->count = 0; $this->field_typ = 'Peijianweixiu_model'; $this->dataModel = new $this->field_typ(); $this->listFields = array('typ', 'xinghao', 'name', 'pinpai', 'baoxiu', 'jiage', 'counter', 'gongshi', 'xinghaoId', 'isZidai'); $this->showListFields = array(array('typ', 'name'), array('pinpai', 'xinghao'), array('baoxiu', 'jiage')); $this->mustFields = array('typ' => true, 'name' => true, 'pinpai' => true); $this->templates = '{typ} : {pinpai}-{name} {xinghao}(保修{baoxiu}月,参考价格{jiage})'; }
public function __construct($show_name, $name, $is_must_input = false) { parent::__construct($show_name, $name, $is_must_input); $this->typ = "Field_array_relate"; $this->tableName = ''; $this->valueField = ''; $this->showField = ''; $this->whereData = array(); $this->valueSetted = false; $this->showValue = ' - '; $this->enum = array(); $this->needOrgId = 1; $this->relate_id_is_id = true; $this->value_checked = 0; $this->value = array(); $this->id_lists = array(); $this->relate_id_is_id = true; $this->linked_lists = null; }
public function __construct($show_name, $name, $is_must_input = false) { parent::__construct($show_name, $name, $is_must_input); $this->typ = "Field_mongoid"; $this->value = ''; }
public function __construct($show_name, $name, $is_must_input = false) { parent::__construct($show_name, $name, $is_must_input); $this->typ = "Field_cartype"; $this->real_data = array("", "", ""); }
public function __construct($show_name, $name, $is_must_input = false) { parent::__construct($show_name, $name, $is_must_input); $this->typ = "Field_array"; }