Beispiel #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), 'mailing_id' => array('name' => 'mailing_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Mailing_DAO_Mailing'), 'group_type' => array('name' => 'group_type', 'type' => CRM_Utils_Type::T_ENUM, 'title' => ts('Group Type'), 'enumValues' => 'Include, Exclude, Base'), 'entity_table' => array('name' => 'entity_table', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Entity Table'), 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG), 'entity_id' => array('name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true), 'search_id' => array('name' => 'search_id', 'type' => CRM_Utils_Type::T_INT), 'search_args' => array('name' => 'search_args', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Search Args')));
     }
     return self::$_fields;
 }