*
* Generated from xml/schema/CRM/Core/LocBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:cc12c8f1ddd73d6d8b1d056dd04696e9)
+ * (GenCodeChecksum:f2893cf360fe552d5ff1d90e2eb9272c)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_loc_block';
+ public static $_tableName = 'civicrm_loc_block';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = TRUE;
+ public static $_log = TRUE;
/**
* Unique ID
*
- * @var int unsigned
+ * @var int
*/
public $id;
/**
- * @var int unsigned
+ * @var int
*/
public $address_id;
/**
- * @var int unsigned
+ * @var int
*/
public $email_id;
/**
- * @var int unsigned
+ * @var int
*/
public $phone_id;
/**
- * @var int unsigned
+ * @var int
*/
public $im_id;
/**
- * @var int unsigned
+ * @var int
*/
public $address_2_id;
/**
- * @var int unsigned
+ * @var int
*/
public $email_2_id;
/**
- * @var int unsigned
+ * @var int
*/
public $phone_2_id;
/**
- * @var int unsigned
+ * @var int
*/
public $im_2_id;
*/
public static function getReferenceColumns() {
if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+ Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'address_id', 'civicrm_address', 'id');
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'email_id', 'civicrm_email', 'id');
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'phone_id', 'civicrm_phone', 'id');
'title' => ts('Location Block ID'),
'description' => ts('Unique ID'),
'required' => TRUE,
+ 'where' => 'civicrm_loc_block.id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'bao' => 'CRM_Core_DAO_LocBlock',
'name' => 'address_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block Address'),
+ 'where' => 'civicrm_loc_block.address_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'bao' => 'CRM_Core_DAO_LocBlock',
'name' => 'email_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block Email'),
+ 'where' => 'civicrm_loc_block.email_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'bao' => 'CRM_Core_DAO_LocBlock',
'name' => 'phone_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block Phone'),
+ 'where' => 'civicrm_loc_block.phone_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'bao' => 'CRM_Core_DAO_LocBlock',
'name' => 'im_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block IM'),
+ 'where' => 'civicrm_loc_block.im_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'bao' => 'CRM_Core_DAO_LocBlock',
'name' => 'address_2_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Location Block IM 2'),
+ 'where' => 'civicrm_loc_block.address_2_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'bao' => 'CRM_Core_DAO_LocBlock',
'name' => 'email_2_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Email 2'),
+ 'where' => 'civicrm_loc_block.email_2_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'bao' => 'CRM_Core_DAO_LocBlock',
'name' => 'phone_2_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Phone 2'),
+ 'where' => 'civicrm_loc_block.phone_2_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'bao' => 'CRM_Core_DAO_LocBlock',
'name' => 'im_2_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Instant Messenger 2'),
+ 'where' => 'civicrm_loc_block.im_2_id',
'table_name' => 'civicrm_loc_block',
'entity' => 'LocBlock',
'bao' => 'CRM_Core_DAO_LocBlock',