/** * returns the list of fields that can be imported * * @access public * return array * @static */ static function &import($prefix = false) { if (!self::$_import) { self::$_import = array(); $fields = self::fields(); foreach ($fields as $name => $field) { if (!empty($field['import'])) { if ($prefix) { self::$_import['hrjob_health'] =& $fields[$name]; } else { self::$_import[$name] =& $fields[$name]; } } } } return self::$_import; }