[ //all fields can be configured to be hidden, see class attribute stv-details-details-name for name 'hiddenFields' => [], 'hideUDFs' => false ], 'prestudent' => [ //all fields can be configured to be hidden, see class attribute stv-details-prestudent-name for name 'hiddenFields' => [ //propably used by FH-Communities 'aufnahmeschluessel', 'standort_code', 'facheinschlaegigBerufstaetig' ], 'hideUDFs' => false ] ]; // List of fields to show when ZGV_DOKTOR_ANZEIGEN is defined $fieldsZgvDoktor = ['zgvdoktorort', 'zgvdoktordatum', 'zgvdoktornation', 'zgvdoktor_erfuellt', 'zgvdoktor_code']; // List of fields to show when ZGV_ERFUELLT_ANZEIGEN is defined $fieldsZgvErfuellt = ['zgv_erfuellt', 'zgvmas_erfuellt','zgvdoktor_erfuellt']; //order important: to show zgf_erfuellt_doktor just in case visibility of doktor is true if (!defined('ZGV_ERFUELLT_ANZEIGEN') || !ZGV_ERFUELLT_ANZEIGEN) { $config['tabs']['prestudent']['hiddenFields'] = array_merge( $config['tabs']['prestudent']['hiddenFields'], $fieldsZgvErfuellt ); } if (!defined('ZGV_DOKTOR_ANZEIGEN') || !ZGV_DOKTOR_ANZEIGEN) { $config['tabs']['prestudent']['hiddenFields'] = array_merge( $config['tabs']['prestudent']['hiddenFields'], $fieldsZgvDoktor ); }