Example #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, 'title' => ts('Job Health Id'), 'required' => true), 'job_id' => array('name' => 'job_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Job Id'), 'required' => true, 'FKClassName' => 'CRM_HRJob_DAO_HRJob'), 'hrjob_health_provider' => array('name' => 'provider', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Healthcare Provider'), 'export' => true, 'import' => true, 'where' => 'civicrm_hrjob_health.provider', 'headerPattern' => '', 'dataPattern' => '', 'FKClassName' => 'CRM_Contact_DAO_Contact'), 'hrjob_health_plan_type' => array('name' => 'plan_type', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Healthcare Plan Type'), 'export' => true, 'maxlength' => 63, 'size' => CRM_Utils_Type::BIG, 'import' => true, 'where' => 'civicrm_hrjob_health.plan_type', 'headerPattern' => '', 'dataPattern' => '', 'pseudoconstant' => array('callback' => 'CRM_HRJob_SelectValues::planType')), 'description' => array('name' => 'description', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Description Health Insurance')), 'dependents' => array('name' => 'dependents', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Healthcare Dependents'), 'export' => true, 'import' => true), 'hrjob_health_provider_life_insurance' => array('name' => 'provider_life_insurance', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Life insurance Provider'), 'export' => true, 'import' => true, 'where' => 'civicrm_hrjob_health.provider_life_insurance', 'headerPattern' => '', 'dataPattern' => '', 'FKClassName' => 'CRM_Contact_DAO_Contact'), 'hrjob_life_insurance_plan_type' => array('name' => 'plan_type_life_insurance', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Life insurance Plan Type'), 'export' => true, 'maxlength' => 63, 'size' => CRM_Utils_Type::BIG, 'import' => true, 'where' => 'civicrm_hrjob_health.plan_type_life_insurance', 'headerPattern' => '', 'dataPattern' => '', 'pseudoconstant' => array('callback' => 'CRM_HRJob_SelectValues::planTypeLifeInsurance')), 'description_life_insurance' => array('name' => 'description_life_insurance', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Description Life Insurance')), 'dependents_life_insurance' => array('name' => 'dependents_life_insurance', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Life Insurance Dependents'), 'export' => true, 'import' => true));
     }
     return self::$_fields;
 }