*
* 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
*/
*/
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]
'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(
'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',
) ,
'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',
) ,