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 #23712 from eileenmcnaughton/import_queue
[civicrm-core.git]
/
CRM
/
Member
/
Import
/
Field.php
diff --git
a/CRM/Member/Import/Field.php
b/CRM/Member/Import/Field.php
index 2f920277b8102d56d40ffe7619f061b40b8e8742..e4f44e5b3d2899a604b552aef04230297e743b82 100644
(file)
--- a/
CRM/Member/Import/Field.php
+++ b/
CRM/Member/Import/Field.php
@@
-13,8
+13,6
@@
*
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
*
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
*/
class CRM_Member_Import_Field {
*/
class CRM_Member_Import_Field {
@@
-37,7
+35,7
@@
class CRM_Member_Import_Field {
/**
* Type of field
/**
* Type of field
- * @var
enum
+ * @var
int
*/
public $_type;
*/
public $_type;
@@
-67,13
+65,13
@@
class CRM_Member_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
@@
-96,7
+94,7
@@
class CRM_Member_Import_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
*
* The value is in string format. convert the value to the type of this field
* and set the field value with the appropriate type
*
- * @param $value
+ * @param
string
$value
*/
public function setValue($value) {
$this->_value = $value;
*/
public function setValue($value) {
$this->_value = $value;
@@
-113,8
+111,8
@@
class CRM_Member_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 'receive_date':
return CRM_Utils_Rule::integer($this->_value);
case 'receive_date':