API/DAO Metadata - Retain versioning metadata for possible usage in runtime+tooling
[civicrm-core.git] / CRM / Core / DAO / File.php
index 6b5380a404a78de376a0f1ac3ef23ddd7114954d..51b0b79200ed21385b3bf9b077ad284b97824b07 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/File.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e39b61dad16348293a20264602193ad)
+ * (GenCodeChecksum:5c8f93d416373dd32add73f0bbaa59cc)
  */
 
 /**
@@ -92,6 +92,13 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
     parent::__construct();
   }
 
+  /**
+   * Returns localized title of this entity.
+   */
+  public static function getEntityTitle() {
+    return ts('Files');
+  }
+
   /**
    * Returns foreign keys and entity references.
    *
@@ -126,6 +133,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'file_type_id' => [
           'name' => 'file_type_id',
@@ -137,6 +145,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'mime_type' => [
           'name' => 'mime_type',
@@ -150,6 +159,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'uri' => [
           'name' => 'uri',
@@ -163,6 +173,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'document' => [
           'name' => 'document',
@@ -174,6 +185,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'description' => [
           'name' => 'description',
@@ -187,6 +199,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'upload_date' => [
           'name' => 'upload_date',
@@ -198,6 +211,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'entity' => 'File',
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
+          'add' => '1.5',
         ],
         'created_id' => [
           'name' => 'created_id',
@@ -210,6 +224,7 @@ class CRM_Core_DAO_File extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_File',
           'localizable' => 0,
           'FKClassName' => 'CRM_Contact_DAO_Contact',
+          'add' => '5.3',
         ],
       ];
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);