_name = $name; $this->_title = $title; $this->_type = $type; $this->_headerPattern = $headerPattern; $this->_dataPattern = $dataPattern; $this->_value = NULL; } function resetValue() { $this->_value = NULL; } /** * the value is in string format. convert the value to the type of this field * and set the field value with the appropriate type */ function setValue($value) { $this->_value = $value; } function validate() { if (CRM_Utils_System::isNull($this->_value)) { return TRUE; } return TRUE; } }