projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #23688 from eileenmcnaughton/import_cont_tests
[civicrm-core.git]
/
CRM
/
Event
/
Import
/
Field.php
diff --git
a/CRM/Event/Import/Field.php
b/CRM/Event/Import/Field.php
index 8bba7e00f17c0566f603f5e69fa888e89c167091..a3062a2ec0e7b5926f95837011c5701e387a074b 100644
(file)
--- a/
CRM/Event/Import/Field.php
+++ b/
CRM/Event/Import/Field.php
@@
-33,7
+33,7
@@
class CRM_Event_Import_Field {
/**
* Type of field
/**
* Type of field
- * @var
enum
+ * @var
int
*/
public $_type;
*/
public $_type;
@@
-51,13
+51,13
@@
class CRM_Event_Import_Field {
/**
* Value of this field
/**
* Value of this field
- * @var
object
+ * @var
string|null
*/
public $_value;
/**
* @param string $name
*/
public $_value;
/**
* @param string $name
- * @param $title
+ * @param
string
$title
* @param int $type
* @param string $headerPattern
* @param string $dataPattern
* @param int $type
* @param string $headerPattern
* @param string $dataPattern
@@
-95,8
+95,8
@@
class CRM_Event_Import_Field {
switch ($this->_name) {
case 'contact_id':
switch ($this->_name) {
case 'contact_id':
- // note: we validate ex
t
istence of the contact in API, upon
- // insert (it would be too costl
t
y to do a db call here)
+ // note: we validate existence of the contact in API, upon
+ // insert (it would be too costly to do a db call here)
return CRM_Utils_Rule::integer($this->_value);
case 'register_date':
return CRM_Utils_Rule::integer($this->_value);
case 'register_date':