www.gusucode.com > 同城苏州黄页系统php源码程序 > lib/class.field/fld_openTime.class.php
<? if( !class_exists('field') ) include_once($root_path.'lib/field.class.php'); ############################## # # 营业时段 栏位类 --- --- # class fld_openTime extends field { var $name = 'openTime'; var $caption = '营业时段'; var $inputType = 'text'; var $checkType = 'text'; var $groupType = ''; var $default = ''; var $alertName = '营业时段'; var $allowEmpty = 1; var $minValue = '*'; var $maxValue = '120'; var $inputName = 'openTime'; var $formName = 'theform'; var $column = 'openTime'; var $input_maxlength = ' maxlength="120"'; var $input_size_width = ''; var $input_size_height = ''; var $inputStyle = ''; var $innerInput = ""; var $lm_dbtable = ''; var $lm_indexFld = ''; var $lm_loadAll = false; var $maxFileByte = 0; var $maxPicWidth = 0; var $maxPicHeight = 0; function fld_openTime ( &$webpage ) { $this->groupMember = array( ); $this->options = unserialize("a:0:{}"); $this->lm_lower = unserialize("a:1:{i:0;s:0:\"\";}"); $this->allowFileType = unserialize("a:1:{i:0;s:0:\"\";}"); $this->set_input_size(); # 调用父类的构造函数,初始化 父类中的成员 $my_parent_name=get_parent_class(__CLASS__); $this->$my_parent_name(); } } ?>