Changeset 865 for trunk/Modules/Map


Ignore:
Timestamp:
Dec 23, 2019, 12:31:52 AM (5 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Map/Map.php

    r864 r865  
    277277        'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
    278278        'Pos' => array('Type' => 'MapPosition', 'Caption' => 'Poloha', 'Default' => '0;0'),
     279        'Subjects' => array('Type' => 'TSubjectListMapPosition', 'Caption' => 'Subjekty', 'Default' => ''),
     280        'NetworkDevices' => array('Type' => 'TNetworkDeviceListMapPosition', 'Caption' => 'Síťová zařízení', 'Default' => ''),
    279281      ),
    280282      'ItemActions' => array(
     
    292294      'Filter' => '1',
    293295    ));
     296    $this->System->FormManager->RegisterFormType('TSubjectListMapPosition', array(
     297      'Type' => 'ManyToOne',
     298      'Table' => 'Subject',
     299      'Id' => 'Id',
     300      'Ref' => 'MapPosition',
     301      'Filter' => '1',
     302    ));
     303    $this->System->FormManager->RegisterFormType('TNetworkDeviceListMapPosition', array(
     304      'Type' => 'ManyToOne',
     305      'Table' => 'NetworkDevice',
     306      'Id' => 'Id',
     307      'Ref' => 'MapPosition',
     308      'Filter' => '1',
     309    ));
    294310  }
    295311
Note: See TracChangeset for help on using the changeset viewer.