Overview

Namespaces

  • None
  • PHP

Classes

  • Address
  • AddressGroup
  • AddressRuleContainer
  • AddressStore
  • AggregateEthernetIfStore
  • AggregateEthernetInterface
  • App
  • AppOverrideRule
  • AppRuleContainer
  • AppStore
  • AuthenticationRule
  • CaptivePortalRule
  • cidr
  • Container
  • CsvParser
  • CustomSecurityProfileURL
  • DecryptionProfile
  • DecryptionRule
  • DeviceCloud
  • DeviceGroup
  • DH
  • DoSRule
  • ErrorReporter
  • EthernetIfStore
  • EthernetInterface
  • ExpeditionTaskReporter
  • FawkesConf
  • FileTaskReporter
  • HipObjectsProfile
  • HipProfilesProfile
  • IkeCryptoProfil
  • IkeCryptoProfileStore
  • IKEGateway
  • IKEGatewayStore
  • InterfaceContainer
  • IP4Map
  • IPSecCryptoProfil
  • IPSecCryptoProfileStore
  • IPsecTunnel
  • IPsecTunnelStore
  • LoopbackIfStore
  • LoopbackInterface
  • ManagedDevice
  • ManagedDeviceStore
  • NatRule
  • NetworkPropertiesContainer
  • ObjRuleContainer
  • ObjStore
  • PanAPIConnector
  • PANConf
  • PanoramaConf
  • PbfRule
  • PH
  • PredefinedSecurityProfileURL
  • QoSRule
  • RQuery
  • Rule
  • RuleStore
  • RuleWithUserID
  • Schedule
  • ScheduleStore
  • SecurityProfile
  • SecurityProfileAntiSpyware
  • SecurityProfileAntiVirus
  • SecurityProfileDNSSecurity
  • SecurityProfileFileBlocking
  • SecurityProfileGroup
  • SecurityProfileGroupStore
  • SecurityProfileStore
  • SecurityProfileURL
  • SecurityProfileVirusAndWildfire
  • SecurityProfileVulnerability
  • SecurityProfileWildfire
  • SecurityRule
  • Service
  • ServiceDstPortMapping
  • ServiceGroup
  • ServiceRuleContainer
  • ServiceSrcPortMapping
  • ServiceStore
  • StaticRoute
  • Tag
  • TagRuleContainer
  • TagStore
  • Template
  • TemplateStack
  • TmpInterface
  • TmpInterfaceStore
  • TunnelIfStore
  • TunnelInterface
  • UrlCategoryRuleContainer
  • VirtualRouter
  • VirtualRouterContainer
  • VirtualRouterStore
  • VirtualSystem
  • VirtualWire
  • VirtualWireStore
  • VlanIfStore
  • VlanInterface
  • Zone
  • ZoneRuleContainer
  • ZoneStore

Interfaces

  • TaskReporter

Traits

  • AddressCommon
  • centralAddressStore
  • centralAddressStoreUser
  • centralServiceStore
  • centralServiceStoreUser
  • InterfaceType
  • NegatableRule
  • ObjectWithDescription
  • PanSubHelperTrait
  • PathableName
  • ReferenceableObject
  • RulewithLogging
  • ServiceCommon
  • XmlConvertible

Functions

  • __CmpObjMemID
  • __CmpObjName
  • array_diff_no_cast
  • array_to_devicequery
  • array_unique_no_cast
  • cloneArray
  • convert
  • derr
  • findConnector
  • findConnectorOrDie
  • getDirContents
  • insertAfter
  • lastIndex
  • mdeb
  • mwarning
  • my_shutdown
  • myAutoloader
  • myErrorHandler
  • printn
  • removeElement
  • sortArrayByStartValue
  • yesNoBool
  • Overview
  • Namespace
  • Class
  • Tree

Class ZoneRuleContainer

Class ZoneRuleContainer

ObjRuleContainer uses PathableName, XmlConvertible
Extended by ZoneRuleContainer
Located at container-classes/ZoneRuleContainer.php
Methods summary
public
# __construct( mixed $owner )
public boolean
# addZone( Zone $Obj, mixed $rewritexml = TRUE )

add a Zone to this store

add a Zone to this store

Parameters

$Obj
boolean
$rewritexml
$rewritexml

Returns

boolean
public boolean
# API_addZone( Zone $Obj, mixed $rewritexml = TRUE )

add a Zone to this store

add a Zone to this store

Parameters

$Obj
boolean
$rewritexml
$rewritexml

Returns

boolean
public boolean
# removeZone( Zone $Obj, boolean $rewritexml = TRUE, mixed $forceAny = FALSE )

remove a Zone a Zone to this store. Be careful if you remove last zone as it would become 'any' and won't let you do so.

remove a Zone a Zone to this store. Be careful if you remove last zone as it would become 'any' and won't let you do so.

Parameters

$Obj
boolean
$rewritexml
$rewritexml
boolean
$forceAny
$forceAny

Returns

boolean
True if Zone was found and removed. False if not found.
public boolean
# API_removeZone( Zone $Obj, boolean $rewritexml = TRUE, boolean $forceAny = FALSE )

Parameters

$Obj
Zone
$Obj
$rewritexml
boolean
$rewritexml
$forceAny
boolean
$forceAny

Returns

boolean
public
# setAny( )
public boolean
# hasZone( Zone|string $zone, mixed $caseSensitive = TRUE )

Parameters

$zone
Zone|string
$zone can be Zone object or zone name (string). this is case sensitive
$caseSensitive

Returns

boolean
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( )
public
# toString_inline( )

Overrides

ObjRuleContainer::toString_inline()
public
# merge( mixed $other )

Merge this set of Zones with another one (in paramater). If one of them is 'any' then the result will be 'any'.

Merge this set of Zones with another one (in paramater). If one of them is 'any' then the result will be 'any'.

public boolean
# includesContainer( ZoneRuleContainer $other, mixed $anyIsAcceptable = TRUE, mixed & $foundZones = array() )

To determine if a container has all the zones from another container. Very useful when looking to compare similar rules.

To determine if a container has all the zones from another container. Very useful when looking to compare similar rules.

Parameters

$other
mixed
$other
$anyIsAcceptable
mixed
$anyIsAcceptable * @param $missingZones
$foundZones

Returns

boolean
true if Zones from $other are all in this store
public
# API_setAny( )
public &
# getXPath( )
public
# copy( ZoneRuleContainer $other )
public boolean
# isAny( )

Returns

boolean
Methods inherited from ObjRuleContainer
API_replaceReferencedObject(), __destruct(), count(), display(), displayMembersDiff(), equals(), equals_fasterHash(), generateFastHashComp(), getAll(), getFastHashComp(), getItemAtPosition(), getMembersDiff(), has(), hasObjectRegex(), name(), referencedObjectRenamed(), remove(), removeAll(), replaceReferencedObject(), setName()
Methods used from PathableName
(), (), ()
Methods used from XmlConvertible
(), (), (), (), ()
Properties summary
public null|ZoneStore $parentCentralStore null
#
Properties inherited from ObjRuleContainer
$name, $o, $owner
Properties used from XmlConvertible
$xmlroot
Magic properties summary
public SecurityRule|NatRule|PbfRule|CaptivePortalRule|DecryptionRule $owner
#
Magic properties inherited from ObjRuleContainer
$fasthashcomp
Magic properties used from PathableName
$name
PAN-OS-PHP API documentation generated by ApiGen 2.8.0