Merge pull request #10030 from eileenmcnaughton/test
[civicrm-core.git] / CRM / Friend / DAO / Friend.php
index 849e9bbd35a59379fbb9f964183db39b7d66a9e5..186a78673fec47170a72b3a9424b5168a4aebfb4 100644 (file)
@@ -327,4 +327,11 @@ class CRM_Friend_DAO_Friend extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'tell_friend', $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;
+  }
 }