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 UrlCategoryRuleContainer

Class UrlCategoryRuleContainer

ObjRuleContainer uses PathableName, XmlConvertible
Extended by UrlCategoryRuleContainer
Located at container-classes/UrlCategoryRuleContainer.php
Methods summary
public
# __construct( mixed $owner )
public boolean
# add( CustomSecurityProfileURL|SecurityProfileURL $Obj, boolean $rewriteXml = TRUE )

Parameters

$Obj
CustomSecurityProfileURL|SecurityProfileURL
$Obj
$rewriteXml
boolean
$rewriteXml

Returns

boolean
public boolean
# API_add( CustomSecurityProfileURL|SecurityProfileURL $Obj, boolean $rewritexml = TRUE )

Parameters

$Obj
CustomSecurityProfileURL|SecurityProfileURL
$Obj
$rewritexml
boolean
$rewritexml

Returns

boolean
public
# isApplicationDefault( )
public boolean
# remove( CustomSecurityProfileURL|SecurityProfileURL $Obj, boolean $rewriteXml = TRUE, boolean $forceAny = FALSE )

Parameters

$Obj
CustomSecurityProfileURL|SecurityProfileURL
$Obj
$rewriteXml
boolean
$rewriteXml
$forceAny
boolean
$forceAny

Returns

boolean
True if Zone was found and removed. False if not found.

Overrides

ObjRuleContainer::remove()
public boolean
# API_remove( CustomSecurityProfileURL|SecurityProfileURL $Obj, boolean $rewriteXml = TRUE, boolean $forceAny = FALSE )

Parameters

$Obj
CustomSecurityProfileURL|SecurityProfileURL
$Obj
$rewriteXml
boolean
$rewriteXml
$forceAny
boolean
$forceAny

Returns

boolean
public
# setAny( )
public boolean
# has( CustomSecurityProfileURL|SecurityProfileURL|string $object, mixed $caseSensitive = TRUE )

Parameters

$object
CustomSecurityProfileURL|SecurityProfileURL|string
$object can be CustomSecurityProfileURL|SecurityProfileURL object or object name (string)
$caseSensitive

Returns

boolean

Overrides

ObjRuleContainer::has()
public CustomSecurityProfileURL[]|SecurityProfileURL[]
# members( )

return an array with all objects

return an array with all objects

Returns

CustomSecurityProfileURL[]|SecurityProfileURL[]
public CustomSecurityProfileURL[]|SecurityProfileURL[]
# all( )

return an array with all objects

return an array with all objects

Returns

CustomSecurityProfileURL[]|SecurityProfileURL[]
public
# rewriteXML( )
public
# merge( UrlCategoryRuleContainer $other )

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

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

Parameters

$other
UrlCategoryRuleContainer
$other
public boolean
# includesContainer( UrlCategoryRuleContainer $other, mixed $anyIsAcceptable = TRUE )

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

Returns

boolean
true if Zones from $other are all in this store
public
# API_setAny( )
public boolean
# equals( UrlCategoryRuleContainer $other )

Parameters

$other
UrlCategoryRuleContainer
$other

Returns

boolean

Overrides

ObjRuleContainer::equals()
public string &
# getXPath( )

Returns

string
public boolean
# isAny( )

Returns

boolean
public boolean
# hasObjectRecursive( CustomSecurityProfileURL|SecurityProfileURL $object, boolean $anyIsAcceptable = FALSE )

Parameters

$object
CustomSecurityProfileURL|SecurityProfileURL
$anyIsAcceptable
boolean
$anyIsAcceptable

Returns

boolean
public boolean
# hasNamedObjectRecursive( string $objectName )

Parameters

$objectName
string
$objectName

Returns

boolean
public boolean
# includesStoreExpanded( UrlCategoryRuleContainer $other, boolean $anyIsAcceptable = TRUE )

To determine if a store has all the Service from another store, it will expand ServiceGroups instead of looking for them directly. Very useful when looking to compare similar rules.

To determine if a store has all the Service from another store, it will expand ServiceGroups instead of looking for them directly. Very useful when looking to compare similar rules.

Parameters

$other
UrlCategoryRuleContainer
$other
$anyIsAcceptable
boolean
$anyIsAcceptable if any of these objects is Any the it will return false

Returns

boolean
true if Service objects from $other are all in this store
public CustomSecurityProfileURL[]|SecurityProfileURL[] &
# membersExpanded( mixed $keepGroupsInList = FALSE )

Returns

CustomSecurityProfileURL[]|SecurityProfileURL[]
public
# toString_inline( )

Overrides

ObjRuleContainer::toString_inline()
public
# generateFastHashComp( mixed $force = FALSE )

Overrides

ObjRuleContainer::generateFastHashComp()
public boolean
# hasValue( string $value, array $check_recursive = FALSE )

Parameters

$value
string
$value
$check_recursive
array
$objects

Returns

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