Changeset 715 for trunk/Modules/Network/Network.php
- Timestamp:
- Jan 1, 2015, 2:18:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r712 r715 262 262 ), 263 263 )); 264 $this->System->FormManager->RegisterClass('NetworkSegment', array(265 'Title' => 'Úsek sítě',266 'Table' => 'NetworkSegment',267 'Items' => array(268 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),269 'Price' => array('Type' => 'Integer', 'Caption' => 'Cena', 'Default' => '0', 'Suffix' => 'Kč', 'ReadOnly' => true),270 'Parent' => array('Type' => 'TNetworkSegment', 'Caption' => 'Nadřazený', 'Default' => '', 'Null' => true),271 'Users' => array('Type' => 'Integer', 'Caption' => 'Uživatelů', 'Default' => '0', 'ReadOnly' => true),272 'Consumption' => array('Type' => 'Integer', 'Caption' => 'Spotřeba', 'Default' => '0', 'ReadOnly' => true, 'Suffix' => 'Wattů'),273 'UsersOverheads' => array('Type' => 'Integer', 'Caption' => 'Podílníků', 'Default' => '0', 'ReadOnly' => true),274 ),275 ));276 264 $this->System->FormManager->RegisterClass('DeviceAPIType', array( 277 265 'Title' => 'Typ API zařízení', … … 406 394 'Filter' => '1', 407 395 )); 408 $this->System->FormManager->RegisterFormType('TNetworkSegment', array(409 'Type' => 'Reference',410 'Table' => 'NetworkSegment',411 'Id' => 'Id',412 'Name' => 'Name',413 'Filter' => '1',414 ));415 416 396 } 417 397
Note:
See TracChangeset
for help on using the changeset viewer.