Merge branch 'JohnFF-patch-1'
[civicrm-core.git] / CRM / Activity / Import / Field.php
index b800841ee78c6c5191549124eb12a26685f3aab8..6ee8a03e8343d1c7ded5636d474eada0d99fba84 100644 (file)
@@ -84,6 +84,14 @@ class CRM_Activity_Import_Field {
    * @var object
    */
   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;
@@ -106,6 +114,9 @@ class CRM_Activity_Import_Field {
     $this->_value = $value;
   }
 
+  /**
+   * @return bool
+   */
   function validate() {
 
     if (CRM_Utils_System::isNull($this->_value)) {