Esempio n. 1
0
 /**
  * returns all the column names of this table
  *
  * @access public
  * @return array
  */
 static function &fields()
 {
     if (!self::$_fields) {
         self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'required' => true), 'job_id' => array('name' => 'job_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Mailing_DAO_MailingJob'), 'email_id' => array('name' => 'email_id', 'type' => CRM_Utils_Type::T_INT, 'default' => 'NULL', 'FKClassName' => 'CRM_Core_DAO_Email'), 'contact_id' => array('name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Contact_DAO_Contact'), 'hash' => array('name' => 'hash', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Hash'), 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'phone_id' => array('name' => 'phone_id', 'type' => CRM_Utils_Type::T_INT, 'default' => 'NULL', 'FKClassName' => 'CRM_Core_DAO_Phone'));
     }
     return self::$_fields;
 }
Esempio n. 2
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 Event Queue ID'), 'required' => true), 'job_id' => array('name' => 'job_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Job ID'), 'description' => 'FK to Job', 'required' => true, 'FKClassName' => 'CRM_Mailing_DAO_MailingJob'), 'email_id' => array('name' => 'email_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Email ID'), 'description' => 'FK to Email', 'default' => 'NULL', 'FKClassName' => 'CRM_Core_DAO_Email'), 'contact_id' => array('name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contact ID'), 'description' => 'FK to Contact', 'required' => true, 'FKClassName' => 'CRM_Contact_DAO_Contact'), 'hash' => array('name' => 'hash', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Security Hash'), 'description' => 'Security hash', 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'phone_id' => array('name' => 'phone_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone ID'), 'description' => 'FK to Phone', 'default' => 'NULL', 'FKClassName' => 'CRM_Core_DAO_Phone'));
     }
     return self::$_fields;
 }