*
* Generated from xml/schema/CRM/Mailing/MailingAB.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fea3382fd8611956ff04827237800b49)
+ * (GenCodeChecksum:12d9514d27712e3d9ad545ca6c2bfe91)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
/**
* When was this item created
*
- * @var datetime
+ * @var timestamp
*/
public $created_date;
/**
) ,
'created_date' => array(
'name' => 'created_date',
- 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
+ 'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('AB Test Created Date') ,
'description' => 'When was this item created',
+ 'required' => false,
+ 'default' => 'CURRENT_TIMESTAMP',
'table_name' => 'civicrm_mailing_abtest',
'entity' => 'MailingAB',
'bao' => 'CRM_Mailing_BAO_MailingAB',
$r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_abtest', $prefix, array());
return $r;
}
+ /**
+ * Returns the list of indices
+ */
+ public static function indices($localize = TRUE) {
+ $indices = array();
+ return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+ }
}