*
* Generated from xml/schema/CRM/Contribute/Widget.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0605d26592e841a169687b225d891bc8)
+ * (GenCodeChecksum:c958a95fa7e2ff07a891780d343cd308)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_contribution_widget';
+ public static $_tableName = 'civicrm_contribution_widget';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = TRUE;
+ public static $_log = TRUE;
/**
* Contribution Id
*
- * @var int unsigned
+ * @var int
*/
public $id;
/**
* The Contribution Page which triggered this contribution
*
- * @var int unsigned
+ * @var int
*/
public $contribution_page_id;
/**
* Is this property active?
*
- * @var boolean
+ * @var bool
*/
public $is_active;
*/
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(), 'contribution_page_id', 'civicrm_contribution_page', 'id');
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
}
'title' => ts('Widget ID'),
'description' => ts('Contribution Id'),
'required' => TRUE,
+ 'where' => 'civicrm_contribution_widget.id',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contribution Page'),
'description' => ts('The Contribution Page which triggered this contribution'),
+ 'where' => 'civicrm_contribution_widget.contribution_page_id',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Enabled?'),
'description' => ts('Is this property active?'),
+ 'where' => 'civicrm_contribution_widget.is_active',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'description' => ts('Widget title.'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_contribution_widget.title',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'description' => ts('URL to Widget logo'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_contribution_widget.url_logo',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'description' => ts('Button title.'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_contribution_widget.button_title',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Description'),
'description' => ts('About description.'),
+ 'where' => 'civicrm_contribution_widget.about',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'description' => ts('URL to Homepage.'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_contribution_widget.url_homepage',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'title' => ts('Title Color'),
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_contribution_widget.color_title',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'title' => ts('Button Colour'),
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_contribution_widget.color_button',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'title' => ts('Bar Color'),
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_contribution_widget.color_bar',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'title' => ts('Main Text Color'),
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_contribution_widget.color_main_text',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'title' => ts('Main Colour'),
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_contribution_widget.color_main',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'title' => ts('Backgroup Color'),
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_contribution_widget.color_main_bg',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'title' => ts('Other Backgroun Colour'),
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_contribution_widget.color_bg',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'title' => ts('About Link Colour'),
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_contribution_widget.color_about_link',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',
'title' => ts('Homepage Link Colour'),
'maxlength' => 10,
'size' => CRM_Utils_Type::TWELVE,
+ 'where' => 'civicrm_contribution_widget.color_homepage_link',
'table_name' => 'civicrm_contribution_widget',
'entity' => 'Widget',
'bao' => 'CRM_Contribute_BAO_Widget',