# Class AppOverrideRule

© 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

  Rule uses PathableName, centralServiceStoreUser, centralAddressStoreUser, ObjectWithDescription, XmlConvertible
  AppOverrideRule uses NegatableRule

Located at rule-classes/AppOverrideRule.php

Methods summary
`public` | # `__construct( `RuleStore` $owner, boolean $fromTemplateXML = FALSE )` #### Parameters $owner ``RuleStore`` $owner $fromTemplateXML `boolean` $fromTemplateXML
`public` | # `load_from_domxml( mixed $xml )`
`public` | # `display( mixed $padding = 0 )`
`public` | # `protocol( )`
`public` | # `isTcp( )`
`public` | # `isUdp( )`
`public` | # `setTcp( )`
`public` | # `setUdp( )`
`public` | # `ports( )`
`public` | # `setPorts( mixed $ports )` #### Parameters $ports `mixed` $ports string
`public` | # `application( )`
`public boolean` | # `setApplication( `App`|null $app )` #### Parameters $app ``App`|null` $app #### Returns `boolean`
`public` | # `cleanForDestruction( )`
`public` | # `isAppOverrideRule( )` #### Overrides `Rule::isAppOverrideRule()`
`public` | # `ruleNature( )` #### Overrides `Rule::ruleNature()`
`public` | # `storeVariableName( )`

Methods inherited from Rule
`API_clearPolicyAppUsageDATA(), API_setDisabled(), API_setEnabled(), API_setName(), API_target_addDevice(), API_target_negateSet(), API_target_removeDevice(), API_target_setAny(), getXPath(), isAuthenticationRule(), isCaptivePortalRule(), isDecryptionRule(), isDisabled(), isDoSRule(), isEnabled(), isNatRule(), isPbfRule(), isPostRule(), isPreRule(), isQoSRule(), isSecurityRule(), load_common_from_domxml(), load_destination(), load_from(), load_source(), load_to(), name(), rewriteSDisabled_XML(), setDisabled(), setEnabled(), setName(), target_addDevice(), target_hasDeviceAndVsys(), target_isAny(), target_isNegated(), target_negateSet(), target_removeDevice(), target_rewriteXML(), target_setAny(), targets(), targets_toString(), uuid(), zoneCalculation(), zoneCalculationNatClone()`

Methods used from NegatableRule
`(), (), (), (), (), (), ()`

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

Methods used from centralServiceStoreUser
`()`

Methods used from centralAddressStoreUser
`()`

Methods used from ObjectWithDescription
`(), (), (), (), ()`

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

Properties summary
`public static string` | $templatexml | `'<entry name="**temporarynamechangeme**"><from><member>any</member></from><to><member>any</member></to> <source><member>any</member></source><destination><member>any</member></destination><port></port><protocol>tcp</protocol><application></application></entry>'` | #
`public string` | $_protocol | `''` | #
`public string` | $_ports | `''` | #
`protected `App`|null` | $_app | `` | #

Properties inherited from Rule
`$_targetIsNegated, $_targets, $destination, $disabled, $from, $name, $owner, $services, $source, $tags, $to`

Properties used from centralServiceStoreUser
`$parentServiceStore`

Properties used from centralAddressStoreUser
`$parentAddressStore`

Properties used from ObjectWithDescription
`$_description`

Properties used from XmlConvertible
`$xmlroot`

Properties used from NegatableRule
`$_destinationIsNegated, $_sourceIsNegated`

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

Magic properties used from ObjectWithDescription
`$xmlroot`