Ejemplo n.º 1
0
 /**
  * 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('Mailing Confirmation ID'), 'required' => true), 'event_subscribe_id' => array('name' => 'event_subscribe_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Subscribe ID'), 'description' => 'FK to civicrm_mailing_event_subscribe', 'required' => true, 'FKClassName' => 'CRM_Mailing_Event_DAO_Subscribe'), 'time_stamp' => array('name' => 'time_stamp', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Confirm Timestamp'), 'description' => 'When this confirmation event occurred.', 'required' => true));
     }
     return self::$_fields;
 }
Ejemplo n.º 2
0
 /**
  * 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_subscribe_id' => array('name' => 'event_subscribe_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Mailing_Event_DAO_Subscribe'), '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;
 }