# Class EthernetIfStore

Class EthernetIfStore

  ObjStore uses PathableName, XmlConvertible
  EthernetIfStore

#### Direct known subclasses

AggregateEthernetIfStore
Located at network-classes/EthernetIfStore.php

Methods summary
`public` | # `__construct( `PANConf` $name, mixed $owner )` #### Parameters $name ``PANConf`` $owner $owner
`public` | # `countSubInterfaces( )`
`public `EthernetInterface[]`` | # `getInterfaces( )` #### Returns ``EthernetInterface[]``
`public `EthernetInterface`` | # `newEthernetIf( string $name, mixed $ethtype = 'layer3', mixed $ae = null )` Creates a new EthernetInterface in this store. It will be placed at the end of the list. Creates a new EthernetInterface in this store. It will be placed at the end of the list. #### Parameters $name `string` $name name of the new EthernetInterface $ethtype $ae #### Returns ``EthernetInterface``
`public `EthernetInterface`` | # `API_newEthernetIf( string $name, mixed $ethtype = 'layer3', mixed $ae = null )` Creates a new EthernetInterface in this store. It will be placed at the end of the list. Creates a new EthernetInterface in this store. It will be placed at the end of the list. #### Parameters $name `string` $name name of the new EthernetInterface $ethtype $ae #### Returns ``EthernetInterface``
`public boolean` | # `addEthernetIf( `EthernetInterface` $ethernetIf )` #### Parameters $ethernetIf ``EthernetInterface`` $ethernetIf #### Returns `boolean`
`public boolean` | # `API_addEthernetIf( `EthernetInterface` $s )` #### Parameters $s ``EthernetInterface`` $s #### Returns `boolean`
`public` | # `createXmlRoot( )`
`public &` | # `getXPath( )`
`public &` | # `getBaseXPath( )`
`public &` | # `getEthernetIfStoreXPath( )`
`public` | # `rewriteXML( )` #### Overrides `ObjStore::rewriteXML()`
`public` | # `addSubinterfaceToStore( mixed $subinterface )`

Methods inherited from ObjStore
`count(), countUnused(), createTmp(), display(), find(), findByName(), findOrCreate(), getAll(), inStore(), referencedObjectRenamed(), remove(), removeAll(), setName()`

Methods used from PathableName
`(), (), ()`

Methods used from XmlConvertible
`(), (), (), (), ()`

Properties summary
`public `PANConf`` | $owner | `` | #
`protected mixed` | $fastMemToIndex | `null` | #
`protected mixed` | $fastNameToIndex | `null` | #
`public static string` | $childn | `'EthernetInterface'` | #

Properties inherited from ObjStore
`$classn, $name, $nameIndex, $o, $skipEmptyXmlObjects`

Properties used from XmlConvertible
`$xmlroot`

Magic properties used from PathableName
`$name, $owner`