本文整理汇总了PHP中Fields::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Fields::__construct方法的具体用法?PHP Fields::__construct怎么用?PHP Fields::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Fields
的用法示例。
在下文中一共展示了Fields::__construct方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct($fields_xml = "")
{
//if (is_object($fields_xml)) {
// $this->fields = $fields_xml->fields;
//$this->
//} else {
parent::__construct($fields_xml, null);
//}
}
示例2: __construct
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();
}
示例3: __construct
/**
* 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;
}
示例4: __construct
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})';
}
示例5: __construct
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;
}
示例6: __construct
public function __construct($show_name, $name, $is_must_input = false)
{
parent::__construct($show_name, $name, $is_must_input);
$this->typ = "Field_mongoid";
$this->value = '';
}
示例7: __construct
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("", "", "");
}
示例8: __construct
public function __construct($show_name, $name, $is_must_input = false)
{
parent::__construct($show_name, $name, $is_must_input);
$this->typ = "Field_array";
}