X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FActivity%2FImport%2FField.php;h=b865151ab4254b5d4d8532510b7296df56a78427;hb=79c0e11ec92e46b36336f7903a537c5fcc78efef;hp=6ee8a03e8343d1c7ded5636d474eada0d99fba84;hpb=0ec03e9fabc23b802ac80cb68c44b5abaf7f8585;p=civicrm-core.git diff --git a/CRM/Activity/Import/Field.php b/CRM/Activity/Import/Field.php index 6ee8a03e83..b865151ab4 100644 --- a/CRM/Activity/Import/Field.php +++ b/CRM/Activity/Import/Field.php @@ -1,7 +1,7 @@ _name = $name; $this->_title = $title; $this->_type = $type; @@ -102,22 +101,22 @@ class CRM_Activity_Import_Field { $this->_value = NULL; } - function resetValue() { + public function resetValue() { $this->_value = NULL; } /** - * the value is in string format. convert the value to the type of this field + * 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) { + public function setValue($value) { $this->_value = $value; } /** * @return bool */ - function validate() { + public function validate() { if (CRM_Utils_System::isNull($this->_value)) { return TRUE; @@ -125,4 +124,3 @@ class CRM_Activity_Import_Field { return TRUE; } } -