Example #1
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), 'bounce_type_id' => array('name' => 'bounce_type_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Mailing_DAO_BounceType'), 'pattern' => array('name' => 'pattern', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Pattern'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE));
     }
     return self::$_fields;
 }
Example #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('Bounce Pattern ID'), 'required' => true), 'bounce_type_id' => array('name' => 'bounce_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Bounce Type'), 'description' => 'Type of bounce', 'required' => true, 'FKClassName' => 'CRM_Mailing_DAO_BounceType'), 'pattern' => array('name' => 'pattern', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Pattern'), 'description' => 'A regexp to match a message to a bounce type', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE));
     }
     return self::$_fields;
 }