X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMember%2FDAO%2FMembershipBlock.php;h=d51f917e0422e5a2576c37504590be931b88f567;hb=94cee65f3b2af0708f9af0104c2cec464c56b335;hp=891dc5b991b37071f4d54efed0be82bb2fb2de79;hpb=254ae8f7bd383d796deef90966b003f091bc90fd;p=civicrm-core.git diff --git a/CRM/Member/DAO/MembershipBlock.php b/CRM/Member/DAO/MembershipBlock.php index 891dc5b991..d51f917e04 100644 --- a/CRM/Member/DAO/MembershipBlock.php +++ b/CRM/Member/DAO/MembershipBlock.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Member/MembershipBlock.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:1f5c13fb36ae0853ed5982f6ca40d65a) + * (GenCodeChecksum:b8779f341fdb53bc75c0928fea73f06f) */ /** @@ -34,91 +34,117 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { /** * 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; @@ -248,6 +274,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { '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', @@ -261,6 +288,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { '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', @@ -326,6 +354,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { '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', @@ -339,6 +368,7 @@ class CRM_Member_DAO_MembershipBlock extends CRM_Core_DAO { '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',