Merge pull request #4621 from atif-shaikh/CRM-15589
[civicrm-core.git] / CRM / Member / Import / Field.php
index a8ccd7f3da94012ede94e89cf030531060c5fb41..adfad40ac0b24c920bcd337f3ac8d90d93b7210c 100644 (file)
@@ -85,6 +85,13 @@ class CRM_Member_Import_Field {
    */
   public $_value;
 
+  /**
+   * @param $name
+   * @param $title
+   * @param int $type
+   * @param string $headerPattern
+   * @param string $dataPattern
+   */
   function __construct($name, $title, $type = CRM_Utils_Type::T_INT, $headerPattern = '//', $dataPattern = '//') {
     $this->_name = $name;
     $this->_title = $title;
@@ -107,6 +114,9 @@ class CRM_Member_Import_Field {
     $this->_value = $value;
   }
 
+  /**
+   * @return bool
+   */
   function validate() {
 
     if (CRM_Utils_System::isNull($this->_value)) {