# Class ZoneStore

Class ZoneStore

  ObjStore uses PathableName, XmlConvertible
  ZoneStore

Located at network-classes/ZoneStore.php

Methods summary
`public` | # `__construct( `VirtualSystem`|`DeviceCloud`|`DeviceGroup`|`PanoramaConf`|`Container`|`FawkesConf` $owner )` #### Parameters $owner ``VirtualSystem`|`DeviceCloud`|`DeviceGroup`|`PanoramaConf`|`Container`|`FawkesConf`` $owner
`public `Zone`` | # `find( string $name, mixed $ref = null )` looks for a zone named $name ,return that Zone object, null if not found looks for a zone named $name ,return that Zone object, null if not found #### Parameters $name `string` $name $ref #### Returns ``Zone`` #### Overrides `ObjStore::find()`
`public boolean` | # `addZone( `Zone` $zone, boolean $rewriteXML = TRUE )` add a Zone to this store. Use at your own risk. add a Zone to this store. Use at your own risk. #### Parameters $zone ``Zone`` $rewriteXML `boolean` #### Returns `boolean`
`public boolean` | # `removeZone( `Zone` $zone )` remove a Zone a Zone to this store. remove a Zone a Zone to this store. #### Parameters $zone ``Zone`` #### Returns `boolean` True if Zone was found and removed. False if not found.
`public boolean` | # `hasZoneNamed( `Zone`|string $zoneName, mixed $caseSensitive = TRUE )` #### Parameters $zoneName ``Zone`|string` $zoneName can be Zone object or zone name (string). this is case sensitive $caseSensitive #### Returns `boolean`
`public null|`Zone`` | # `findZoneMatchingInterfaceName( string $ifName )` #### Parameters $ifName `string` $ifName #### Returns `null|`Zone``
`public null|`Zone`` | # `findZoneWithExternalVsys( mixed $vsys )` #### Parameters $vsys `mixed` $vsys string|VirtualSystem #### Returns `null|`Zone``
`public `Zone[]`` | # `zones( )` return an array with all Zones in this store return an array with all Zones in this store #### Returns ``Zone[]``
`public` | # `rewriteXML( )` #### Overrides `ObjStore::rewriteXML()`
`public &` | # `getXPath( )`
`public` | # `newZone( mixed $name, mixed $type )`

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

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

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

Properties summary
`public `DeviceGroup`|`PanoramaConf`|`VirtualSystem`` | $owner | `` | #
`public mixed` | $parentCentralStore | `null` | #
`public static string` | $childn | `'Zone'` | #

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

Properties used from XmlConvertible
`$xmlroot`

Magic properties summary
`public `ZoneStore`` | $parentCentralStore | #

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