+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2016 |
+| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
*/
/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
*
* Generated from xml/schema/CRM/Core/EntityFile.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e5908be6be52569450e442e9fd5f0356)
+ * (GenCodeChecksum:f1092b243ba0c368c41d7b64dc90e115)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Core_DAO_EntityFile constructor.
+ */
class CRM_Core_DAO_EntityFile extends CRM_Core_DAO {
/**
- * static instance to hold the table name
+ * Static instance to hold the table name.
*
* @var string
*/
static $_tableName = 'civicrm_entity_file';
/**
- * static value to see if we should log any modifications to
- * this table in the civicrm_log table
+ * Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var boolean
*/
*/
public $file_id;
/**
- * class constructor
- *
- * @return civicrm_entity_file
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_entity_file';
parent::__construct();
}
/**
- * Returns foreign keys and entity references
+ * Returns foreign keys and entity references.
*
* @return array
* [CRM_Core_Reference_Interface]
'title' => ts('Entity File ID') ,
'description' => 'primary key',
'required' => true,
+ 'table_name' => 'civicrm_entity_file',
+ 'entity' => 'EntityFile',
+ 'bao' => 'CRM_Core_DAO_EntityFile',
+ 'localizable' => 0,
) ,
'entity_table' => array(
'name' => 'entity_table',
'description' => 'physical tablename for entity being joined to file, e.g. civicrm_contact',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_entity_file',
+ 'entity' => 'EntityFile',
+ 'bao' => 'CRM_Core_DAO_EntityFile',
+ 'localizable' => 0,
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID') ,
'description' => 'FK to entity table specified in entity_table column.',
'required' => true,
+ 'table_name' => 'civicrm_entity_file',
+ 'entity' => 'EntityFile',
+ 'bao' => 'CRM_Core_DAO_EntityFile',
+ 'localizable' => 0,
) ,
'file_id' => array(
'name' => 'file_id',
'title' => ts('File') ,
'description' => 'FK to civicrm_file',
'required' => true,
+ 'table_name' => 'civicrm_entity_file',
+ 'entity' => 'EntityFile',
+ 'bao' => 'CRM_Core_DAO_EntityFile',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_File',
) ,
);