Merge pull request #10870 from mattwire/CRM-21077_outbound_mail_warning
[civicrm-core.git] / xml / templates / schema_structure.tpl
index dfe48fa738827c3bf7120badd7bb82f357779a93..b52bb6bef2fc6eace15210242ac7f9abbe24c3d6 100644 (file)
@@ -4,7 +4,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2017
  *
  * Generated from {$smarty.template}
  * {$generated}
  */
 class CRM_Core_I18n_SchemaStructure
 {ldelim}
-    static function &columns()
+
+    /**
+     * Get translatable columns.
+     *
+     * @return array
+     *   A table-indexed array of translatable columns.
+     */
+    public static function &columns()
     {ldelim}
         static $result = null;
         if (!$result) {ldelim}
@@ -52,7 +59,14 @@ class CRM_Core_I18n_SchemaStructure
         {rdelim}
         return $result;
     {rdelim}
-    static function &indices()
+
+    /**
+     * Get a table indexed array of the indices for translatable fields.
+     *
+     * @return array
+     *   Indices for translatable fields.
+     */
+    public static function &indices()
     {ldelim}
         static $result = null;
         if (!$result) {ldelim}
@@ -76,6 +90,13 @@ class CRM_Core_I18n_SchemaStructure
         {rdelim}
         return $result;
     {rdelim}
+
+    /**
+     * Get tables with translatable fields.
+     *
+     * @return array
+     *   Array of names of tables with fields that can be translated.
+     */
     static function &tables()
     {ldelim}
         static $result = null;
@@ -84,6 +105,13 @@ class CRM_Core_I18n_SchemaStructure
         {rdelim}
         return $result;
     {rdelim}
+
+    /**
+     * Get a list of widgets for editing translatable fields.
+     *
+     * @return array
+     *   Array of the widgets for editing translatable fields.
+     */
     static function &widgets()
     {ldelim}
         static $result = null;