Merge pull request #4675 from jitendrapurohit/CRM-15691
[civicrm-core.git] / CRM / Custom / Form / ChangeFieldType.php
index c242122a6db71c82984750c20b2b782cccfc9f8f..bc57ce0c7945d341dd648de458b031c08df25114 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -195,6 +195,12 @@ class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form {
       ), ts('Field Type Changed'), 'success');
   }
 
+  /**
+   * @param $dataType
+   * @param $htmlType
+   *
+   * @return array|null
+   */
   static function fieldTypeTransitions($dataType, $htmlType) {
     // Text field is single value field,
     // can not be change to other single value option which contains option group
@@ -293,6 +299,11 @@ class CRM_Custom_Form_ChangeFieldType extends CRM_Core_Form {
     }
   }
 
+  /**
+   * @param $str
+   *
+   * @return array
+   */
   static function explode($str) {
     if (empty($str) || $str == CRM_Core_DAO::VALUE_SEPARATOR . CRM_Core_DAO::VALUE_SEPARATOR) {
       return array();