# Class StaticRoute

© 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

  StaticRoute uses XmlConvertible, PathableName, ReferenceableObject

Located at network-classes/StaticRoute.php

Methods summary
`public` | # `__construct( string $name, `VirtualRouter` $owner )` StaticRoute constructor. StaticRoute constructor. #### Parameters $name `string` $name $owner ``VirtualRouter`` $owner
`public` | # `load_from_xml( mixed $xml )` #### Parameters $xml `mixed` $xml DOMElement
`public` | # `create_staticroute_from_xml( mixed $xmlString )`
`public string` | # `destination( )` #### Returns `string`
`public boolean|string` | # `destinationIP4Mapping( )` #### Returns `boolean|string`
`public boolean|string` | # `destinationIPMapping( )` #### Returns `boolean|string`
`public` | # `nexthopIP( )`
`public null|string` | # `nexthopVR( )` #### Returns `null|string`
`public` | # `nexthopInterface( )`
`public string` | # `nexthopType( )` #### Returns `string` 'none','ip-address'
`public` | # `referencedObjectRenamed( mixed $h )`
`public` | # `rewriteInterface_XML( )`

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

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

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

Properties summary
`protected string` | $_destination | `` | #
`protected string` | $_nexthopType | `'none'` | #
`protected mixed` | $_nexthopIP | `null` | #
`protected null|string` | $_nexthopVR | `null` | #
`public `VirtualRouter`` | $owner | `` | #
`protected null|`EthernetInterface`|`AggregateEthernetInterface`|`TmpInterface`` | $_interface | `null` | #

Properties used from XmlConvertible
`$xmlroot`

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

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