Merge pull request #10092 from jitendrapurohit/CRM-20339
[civicrm-core.git] / CRM / Core / DAO / Job.php
index ca81225b48571939744edfeabfae82983500e7d5..18149b5428f0f3fecae066374208d5c08ce52082 100644 (file)
@@ -343,4 +343,11 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'job', $prefix, array());
     return $r;
   }
+  /**
+   * Returns the list of indices
+   */
+  public static function indices($localize = TRUE) {
+    $indices = array();
+    return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+  }
 }