_init($arrParamInfo); } function _init($arrParamInfo){ $arrProperties = array_keys(get_object_vars($this)); foreach ($arrProperties as $property) { $this->$property = isset($arrParamInfo[$property]) ? $this->$property = $arrParamInfo[preg_replace('/^_/', '', $property)] : $this->$property = null; } } function getEscapeValue($CHAR_CODE = CHAR_CODE){ return htmlspecialchars($this->_value, ENT_QUOTES, $CHAR_CODE); } function getValue(){ return $this->_value; } function convert(){ $this->_value = mb_convert_kana($this->_value, $this->$_convert); } function getKeyName(){ return $this->_keyname; } function getDispName(){ return $this->_dispname; } function is_file(){ return $this->_file == true ? true : false; } } ?>