* @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @category Stud.IP * @since 4.5 */ class MvvExternContact extends ModuleManagementModel { protected static function configure($config = []) { $config['db_table'] = 'mvv_extern_contacts'; $config['belongs_to']['MvvContact'] = [ 'class_name' => MvvContact::class, 'foreign_key' => 'extern_contact_id', 'assoc_func' => 'findCached', ]; $config['i18n_fields']['name'] = true; $config['i18n_fields']['homepage'] = true; parent::configure($config); } }