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 Service

© 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

Service uses PathableName, XmlConvertible, ObjectWithDescription, ServiceCommon
Located at object-classes/Service.php
Methods summary
public
# __construct( mixed $name, ServiceStore $owner = null, boolean $fromTemplateXml = FALSE )

Parameters

$name
mixed
$name
$owner
ServiceStore
$owner
$fromTemplateXml
boolean
$fromTemplateXml
public
# load_from_domxml( DOMElement $xml )

Parameters

$xml
DOMElement
$xml

Throws

Exception
public boolean
# setDestPort( string $newPorts )

Parameters

$newPorts
string
$newPorts

Returns

boolean
public boolean
# API_setDestPort( string $newPorts )

Parameters

$newPorts
string
$newPorts

Returns

boolean
public
# setSourcePort( mixed $newPorts )
public
# isTcp( )
public
# isUdp( )
public
# setProtocol( string $newProtocol )

Parameters

$newProtocol
string
$newProtocol
public boolean
# setTimeout( string $newTimeout )

Parameters

$newTimeout
string
$newPorts

Returns

boolean
public boolean
# API_setTimeout( string $newTimeout )

Parameters

$newTimeout
string
$newPorts

Returns

boolean
public string
# protocol( )

Returns

string
public string
# getDestPort( )

Returns

string
public string
# getSourcePort( )

Returns

string
public string
# getTimeout( )

Returns

string
public string
# getHalfcloseTimeout( )

Returns

string
public string
# getTimewaitTimeout( )

Returns

string
public string
# getOverride( )

Returns

string
public
# setName( string $newName )

Parameters

$newName
string
$newName
public
# API_setName( string $newName )

Parameters

$newName
string
$newName
public string &
# getXPath( )

Returns

string
public
# isService( )
public
# isTmpSrv( )
public boolean
# equals( mixed $otherObject )

Parameters

$otherObject
mixed
$otherObject Service|ServiceStore

Returns

boolean
public
# sameValue( Service $otherObject )
public ServiceDstPortMapping
# dstPortMapping( )

Returns

ServiceDstPortMapping

Throws

Exception
public ServiceSrcPortMapping
# srcPortMapping( )

Returns

ServiceSrcPortMapping

Throws

Exception
public
# API_delete( )
public
# removeReference( mixed $object )
Methods used from PathableName
(), (), ()
Methods used from XmlConvertible
(), (), (), (), ()
Methods used from ObjectWithDescription
(), (), (), (), ()
Methods used from ServiceCommon
(), (), (), (), (), (), (), ()
Methods used from ReferenceableObject
(), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), removeReference()(as super_removeReference())
Properties summary
protected string $_protocol 'tcp'
#
protected string $_dport ''
#
protected string $_sport ''
#
protected string $_timeout ''
#
protected mixed $_halfclose_timeout
#
protected mixed $_timewait_timeout
#
public null|DOMElement $protocolRoot null
#
protected null|DOMElement $tcpOrUdpRoot null
#
public null|DOMElement $dportroot null
#
public string $type ''
#
public ServiceStore $owner null
#
public TagRuleContainer $tags
#
protected static string $templatexml '<entry name="**temporarynamechangeme**"><protocol><tcp><port>0</port></tcp></protocol></entry>'
#
protected static mixed $templatexmlroot null
#
Properties used from XmlConvertible
$xmlroot
Properties used from ObjectWithDescription
$_description
Magic properties used from PathableName
$name, $owner
Magic properties used from ObjectWithDescription
$xmlroot
PAN-OS-PHP API documentation generated by ApiGen 2.8.0