Merge pull request #7608 from colemanw/CRM-16353
authorcolemanw <coleman@civicrm.org>
Fri, 15 Jan 2016 21:14:37 +0000 (16:14 -0500)
committercolemanw <coleman@civicrm.org>
Fri, 15 Jan 2016 21:14:37 +0000 (16:14 -0500)
CRM-16353 - Warn not to use deprecated function

CRM/Batch/Page/AJAX.php
CRM/Campaign/Page/AJAX.php
CRM/Custom/Page/AJAX.php
CRM/Financial/Page/AJAX.php
CRM/Utils/JSON.php

index 3bf89bfa10d7e3ed9f9b538ba02ff1417c803837..5355ce58749cfb288e3fa1b85323e6b09790e812 100644 (file)
@@ -50,7 +50,8 @@ class CRM_Batch_Page_AJAX {
   }
 
   /**
-   * Retrieve records.
+   * This function uses the deprecated v1 datatable api and needs updating. See CRM-16353.
+   * @deprecated
    */
   public static function getBatchList() {
     $sortMapper = array(
index d04d2b1ed45fd93a1e7fd5da6fb6e67bb04a4b1b..8674ffcf616fc4cf34e92a1a2996f0d8c04e8790 100644 (file)
@@ -565,8 +565,8 @@ class CRM_Campaign_Page_AJAX {
   }
 
   /**
-   * Retrieve campaigns as for campaign dashboard.
-   *
+   * This function uses the deprecated v1 datatable api and needs updating. See CRM-16353.
+   * @deprecated
    */
   public function campaignList() {
     //get the search criteria params.
@@ -668,8 +668,8 @@ class CRM_Campaign_Page_AJAX {
   }
 
   /**
-   * Retrieve survey for survey dashboard.
-   *
+   * This function uses the deprecated v1 datatable api and needs updating. See CRM-16353.
+   * @deprecated
    */
   public function surveyList() {
     //get the search criteria params.
@@ -773,8 +773,8 @@ class CRM_Campaign_Page_AJAX {
   }
 
   /**
-   * Retrieve petitions for petition dashboard.
-   *
+   * This function uses the deprecated v1 datatable api and needs updating. See CRM-16353.
+   * @deprecated
    */
   public function petitionList() {
     //get the search criteria params.
index 4885b1f17d3bf9b97d759b6d1325920e2db9af95..bdf0ec3d50f586ea9b36498ac6fc2bcade9b8e85 100644 (file)
  * This class contains the functions that are called using AJAX (jQuery)
  */
 class CRM_Custom_Page_AJAX {
+
   /**
-   * Get list of options.
-   *
+   * This function uses the deprecated v1 datatable api and needs updating. See CRM-16353.
+   * @deprecated
    */
   public static function getOptionList() {
     $params = $_REQUEST;
index 771fc0978c980917c1722360642d50fda2d45a30..51468b955907c35b64b7c772b40bbd173935c35d 100644 (file)
@@ -260,9 +260,10 @@ class CRM_Financial_Page_AJAX {
   }
 
   /**
-   * Get output of financial transactions.
+   * This function uses the deprecated v1 datatable api and needs updating. See CRM-16353.
+   * @deprecated
    *
-   * @return string
+   * @return string|wtf??
    */
   public static function getFinancialTransactionsList() {
     $sortMapper = array(
index eb3b5d52308b82f84b61f30d94133c5902cf6532..52a40c99884b31d2d927b23904941dc00f45fbbd 100644 (file)
@@ -47,7 +47,7 @@ class CRM_Utils_JSON {
   }
 
   /**
-   * encode data for dataTable plugin.
+   * Do not use this function. See CRM-16353.
    * @deprecated
    *
    * @param array $params