/** * Returns all the column names of this table * * @return array */ static function &fields() { if (!self::$_fields) { self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Unsubscribe ID'), 'required' => true), 'event_queue_id' => array('name' => 'event_queue_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Event Queue'), 'description' => 'FK to EventQueue', 'required' => true, 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue'), 'org_unsubscribe' => array('name' => 'org_unsubscribe', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Unsubscribe is for Organization?'), 'description' => 'Unsubscribe at org- or group-level', 'required' => true), 'time_stamp' => array('name' => 'time_stamp', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Unsubscribe Timestamp'), 'description' => 'When this delivery event occurred.', 'required' => true)); } return self::$_fields; }
/** * returns all the column names of this table * * @access public * @return array */ function &fields() { if (!self::$_fields) { self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'required' => true), 'event_queue_id' => array('name' => 'event_queue_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Mailing_Event_DAO_Queue'), 'org_unsubscribe' => array('name' => 'org_unsubscribe', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Org Unsubscribe'), 'required' => true), 'time_stamp' => array('name' => 'time_stamp', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Time Stamp'), 'required' => true)); } return self::$_fields; }