X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FWebsite.php;h=c04526369cfb33167344339ebd6e857c26ac040d;hb=522a26c97d574d2ce6f88c729fa01998ed203794;hp=c8049936750d79dec70796f8960e2f3363a31ba9;hpb=12add2d5415d6d7cf90eb1f5917dde3a7e856d05;p=civicrm-core.git diff --git a/CRM/Core/DAO/Website.php b/CRM/Core/DAO/Website.php index c804993675..c04526369c 100644 --- a/CRM/Core/DAO/Website.php +++ b/CRM/Core/DAO/Website.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ -| Copyright CiviCRM LLC (c) 2004-2016 | +| Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -26,24 +26,26 @@ */ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2016 + * @copyright CiviCRM LLC (c) 2004-2017 * * Generated from xml/schema/CRM/Core/Website.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:40a585fbb41385458f0332b03388c078) + * (GenCodeChecksum:42189dd53f14c27bba3cc5f498ad1324) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; +/** + * CRM_Core_DAO_Website constructor. + */ class CRM_Core_DAO_Website extends CRM_Core_DAO { /** - * static instance to hold the table name + * Static instance to hold the table name. * * @var string */ static $_tableName = 'civicrm_website'; /** - * 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 */ @@ -73,16 +75,14 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO { */ public $website_type_id; /** - * class constructor - * - * @return civicrm_website + * Class constructor. */ function __construct() { $this->__table = 'civicrm_website'; parent::__construct(); } /** - * Returns foreign keys and entity references + * Returns foreign keys and entity references. * * @return array * [CRM_Core_Reference_Interface] @@ -109,12 +109,18 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO { 'title' => ts('Website ID') , 'description' => 'Unique Website ID', 'required' => true, + 'table_name' => 'civicrm_website', + 'entity' => 'Website', + 'bao' => 'CRM_Core_BAO_Website', ) , 'contact_id' => array( 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contact') , 'description' => 'FK to Contact ID', + 'table_name' => 'civicrm_website', + 'entity' => 'Website', + 'bao' => 'CRM_Core_BAO_Website', 'FKClassName' => 'CRM_Contact_DAO_Contact', ) , 'url' => array( @@ -129,6 +135,9 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO { 'headerPattern' => '/Website/i', 'dataPattern' => '/^[A-Za-z][0-9A-Za-z]{20,}$/', 'export' => true, + 'table_name' => 'civicrm_website', + 'entity' => 'Website', + 'bao' => 'CRM_Core_BAO_Website', 'html' => array( 'type' => 'Text', ) , @@ -138,6 +147,9 @@ class CRM_Core_DAO_Website extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Website Type') , 'description' => 'Which Website type does this website belong to.', + 'table_name' => 'civicrm_website', + 'entity' => 'Website', + 'bao' => 'CRM_Core_BAO_Website', 'html' => array( 'type' => 'Select', ) ,