*
* Generated from xml/schema/CRM/Member/MembershipBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1f5c13fb36ae0853ed5982f6ca40d65a)
+ * (GenCodeChecksum:b8779f341fdb53bc75c0928fea73f06f)
*/
/**
/**
* Membership ID
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $id;
/**
* Name for Membership Status
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(64))
+ * Note that values will be retrieved from the database as a string.
*/
public $entity_table;
/**
* FK to civicrm_contribution_page.id
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $entity_id;
/**
* Membership types to be exposed by this block
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(1024))
+ * Note that values will be retrieved from the database as a string.
*/
public $membership_types;
/**
* Optional foreign key to membership_type
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $membership_type_default;
/**
* Display minimum membership fee
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $display_min_fee;
/**
* Should membership transactions be processed separately
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_separate_payment;
/**
* Title to display at top of block
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $new_title;
/**
* Text to display below title
*
- * @var text
+ * @var string|null
+ * (SQL type: text)
+ * Note that values will be retrieved from the database as a string.
*/
public $new_text;
/**
* Title for renewal
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $renewal_title;
/**
* Text to display for member renewal
*
- * @var text
+ * @var string|null
+ * (SQL type: text)
+ * Note that values will be retrieved from the database as a string.
*/
public $renewal_text;
/**
* Is membership sign up optional
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_required;
/**
* Is this membership_block enabled
*
- * @var bool
+ * @var bool|string
+ * (SQL type: tinyint)
+ * Note that values will be retrieved from the database as a string.
*/
public $is_active;
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Membership Block Display Minimum Fee'),
'description' => ts('Display minimum membership fee'),
+ 'required' => TRUE,
'where' => 'civicrm_membership_block.display_min_fee',
'default' => '1',
'table_name' => 'civicrm_membership_block',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Membership Block Is Separate Payment'),
'description' => ts('Should membership transactions be processed separately'),
+ 'required' => TRUE,
'where' => 'civicrm_membership_block.is_separate_payment',
'default' => '1',
'table_name' => 'civicrm_membership_block',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Required'),
'description' => ts('Is membership sign up optional'),
+ 'required' => TRUE,
'where' => 'civicrm_membership_block.is_required',
'default' => '0',
'table_name' => 'civicrm_membership_block',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Active'),
'description' => ts('Is this membership_block enabled'),
+ 'required' => TRUE,
'where' => 'civicrm_membership_block.is_active',
'default' => '1',
'table_name' => 'civicrm_membership_block',