Ignore:
Timestamp:
Jan 20, 2012, 9:17:37 PM (13 years ago)
Author:
chronos
Message:
  • Opraveno: Odkazy mezi modely.
  • Přidáno: Definice NetworkAP.
File:
1 edited

Legend:

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

    r378 r379  
    169169}
    170170
     171class NetworkAP extends Model
     172{
     173  function __construct($Database, $System)
     174  {
     175    parent::__construct($Database, $System);
     176    $this->Name = 'NetworkAP';
     177    $this->AddPropertyString('SSID');
     178    $this->AddPropertyInteger('Frequency');
     179    $this->AddPropertyInteger('ChannelWidth');
     180    $this->AddPropertyOneToMany('NetworkDevice', 'NetworkDevice');
     181  }
     182}
     183
     184
    171185
    172186class EmailView extends ViewForm
     
    239253    $this->SupportedModels = array('NetworkDevice', 'NetworkDeviceType', 'NetworkInterface',
    240254      'NetworkInterfaceType', 'NetworkPoint', 'NetworkLink', 'NetworkSubnet',
    241       'NetworkSegment');
     255      'NetworkSegment', 'NetworkAP');
    242256  }
    243257 
Note: See TracChangeset for help on using the changeset viewer.