# Class IPsecTunnelStore

Class IPsecTunnelStore

  ObjStore uses PathableName, XmlConvertible
  IPsecTunnelStore

Located at network-classes/IPsecTunnelStore.php

Methods summary
`public` | # `__construct( mixed $name, mixed $owner )`
`public `IPsecTunnel[]`` | # `tunnels( )` #### Returns ``IPsecTunnel[]``
`public `IPsecTunnel[]`` | # `getInterfaces( )` #### Returns ``IPsecTunnel[]``
`public `IPsecTunnel`` | # `newIPsecTunnel( string $name )` Creates a new IPsecTunnel in this store. It will be placed at the end of the list. Creates a new IPsecTunnel in this store. It will be placed at the end of the list. #### Parameters $name `string` $name name of the new IPsecTunnel #### Returns ``IPsecTunnel``
`public boolean` | # `addIPsecTunnel( `IKEGateway` $tunnel )` #### Parameters $tunnel ``IKEGateway`` $gateway #### Returns `boolean`
`public` | # `createXmlRoot( )`
`public null|`IPsecTunnel`` | # `findIpsecTunnel( mixed $IPSecTunnelName )` #### Parameters $IPSecTunnelName `mixed` $IPSecTunnelName string #### Returns `null|`IPsecTunnel``

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

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

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

Properties summary
`protected array` | $_tunnels | `array()` | #
`public static string` | $childn | `'IPsecTunnel'` | #
`protected mixed` | $fastMemToIndex | `null` | #
`protected mixed` | $fastNameToIndex | `null` | #

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

Properties used from XmlConvertible
`$xmlroot`

Magic properties summary
`public mixed` | $o | # IPsecTunnel[] IPsecTunnel[]
`public `PANConf`` | $owner | #

Magic properties used from PathableName
`$name`