# Class Zone

© 2019 Palo Alto Networks, Inc. All rights reserved.

Licensed under SCRIPT SOFTWARE AGREEMENT, Palo Alto Networks, Inc., at https://www.paloaltonetworks.com/legal/script-software-license-1-0.pdf

  Zone uses ReferenceableObject, PathableName, XmlConvertible

Located at network-classes/Zone.php

Methods summary
`public` | # `__construct( string $name, `ZoneStore` $owner, mixed $fromXmlTemplate = FALSE, mixed $type = 'layer3' )` #### Parameters $name `string` $name $owner ``ZoneStore`` $owner $fromXmlTemplate $type
`public boolean` | # `setName( string $newName )` #### Parameters $newName `string` $newName #### Returns `boolean`
`public` | # `isTmp( )`
`public` | # `type( )`
`public` | # `load_from_domxml( `DOMElement` $xml )`
`public` | # `addObjectWhereIamUsed( mixed $objectToAdd, mixed $displayOutput = FALSE, mixed $outputPadding = '', mixed $skipIfConflict = FALSE )` #### Parameters $objectToAdd `mixed` $objectToAdd Zone $displayOutput `mixed` $displayOutput bool $outputPadding `mixed` $skipIfConflict bool $skipIfConflict `mixed` $outputPadding string|int
`public` | # `API_setName( mixed $newname )`
`public boolean` | # `setZPP( string $newZPP )` #### Parameters $newZPP `string` $newZPP #### Returns `boolean`
`public boolean` | # `API_setZPP( string $newZPP )` #### Parameters $newZPP `string` $newZPP #### Returns `boolean`
`public boolean` | # `setPaketBufferProtection( boolean $bool )` #### Parameters $bool `boolean` #### Returns `boolean`
`public boolean` | # `API_setPaketBufferProtection( boolean $bool )` #### Parameters $bool `boolean` #### Returns `boolean`
`public boolean` | # `setLogSetting( string $newLogSetting )` #### Parameters $newLogSetting `string` $newLogSetting #### Returns `boolean`
`public boolean` | # `API_setLogSetting( string $newLogSetting )` #### Parameters $newLogSetting `string` $newLogSetting #### Returns `boolean`
`public &` | # `getXPath( )`

Methods used from ReferenceableObject
`(), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ()`

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

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

Constants summary
`integer` | `TypeTmp` | `0` | #
`integer` | `TypeLayer3` | `1` | #
`integer` | `TypeExternal` | `2` | #
`integer` | `TypeVirtualWire` | `3` | #
`integer` | `TypeTap` | `4` | #
`integer` | `TypeLayer2` | `5` | #
`integer` | `TypeTunnel` | `6` | #

Properties summary
`public null|`ZoneStore`` | $owner | `null` | #
`public array` | $externalVsys | `array()` | #
`public string` | $_type | `'tmp'` | #
`public `InterfaceContainer`` | $attachedInterfaces | `` | #
`public mixed` | $zoneProtectionProfile | `null` | #
`public boolean` | $packetBufferProtection | `FALSE` | #
`public mixed` | $logsetting | `null` | #
`protected static string` | $templatexml | `'<entry name="**temporarynamechangemeL3**"><network><layer3></layer3></network></entry>'` | #
`protected static string` | $templatexmlvw | `'<entry name="**temporarynamechangemeVW**"><network><virtual-wire></virtual-wire></network></entry>'` | #
`protected static string` | $templatexmll2 | `'<entry name="**temporarynamechangemeL2**"><network><layer2></layer2></network></entry>'` | #

Properties used from ReferenceableObject
`$name, $refcomphash, $refrules`

Properties used from XmlConvertible
`$xmlroot`

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