The DAO can handle arrays if it knows the format now...
*
* Generated from xml/schema/CRM/Contribute/ContributionPage.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:63bc96be1f5552249e75545940c13bed)
+ * (GenCodeChecksum:3b175328a05971d3ec719dfaa7dce03c)
*/
/**
'entity' => 'ContributionPage',
'bao' => 'CRM_Contribute_BAO_ContributionPage',
'localizable' => 0,
+ 'serialize' => self::SERIALIZE_SEPARATOR_TRIMMED,
'html' => [
'type' => 'Select',
],
if (array_key_exists('payment_processor', $params) &&
!CRM_Utils_System::isNull($params['payment_processor'])
) {
- $params['payment_processor'] = implode(CRM_Core_DAO::VALUE_SEPARATOR, array_keys($params['payment_processor']));
+ $params['payment_processor'] = array_keys($params['payment_processor']);
}
else {
$params['payment_processor'] = 'null';
*
* Generated from xml/schema/CRM/Event/Event.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:331a210ceb36b5e9460705dbfbe71abf)
+ * (GenCodeChecksum:ebf6253bf0eaab82a088defb999bc31b)
*/
/**
'entity' => 'Event',
'bao' => 'CRM_Event_BAO_Event',
'localizable' => 0,
+ 'serialize' => self::SERIALIZE_SEPARATOR_TRIMMED,
'html' => [
'type' => 'Select',
],
}
if (!empty($params['payment_processor'])) {
- $params['payment_processor'] = implode(CRM_Core_DAO::VALUE_SEPARATOR, array_keys($params['payment_processor']));
+ $params['payment_processor'] = array_keys($params['payment_processor']);
}
else {
$params['payment_processor'] = 'null';
<name>payment_processor</name>
<type>varchar</type>
<length>128</length>
+ <serialize>SEPARATOR_TRIMMED</serialize>
<comment>Payment Processors configured for this contribution Page</comment>
<pseudoconstant>
<table>civicrm_payment_processor</table>
<name>payment_processor</name>
<type>varchar</type>
<length>128</length>
+ <serialize>SEPARATOR_TRIMMED</serialize>
<comment>Payment Processors configured for this Event (if is_monetary is true)</comment>
<pseudoconstant>
<table>civicrm_payment_processor</table>