# Class PANConf

Your journey will start from PANConf or PanoramaConf

Code:
$pan = new PANConf();
$pan->load_from_file('config.txt');
$vsys1 = $pan->findVirtualSystem('vsys1');
$vsys1->display_statistics();

And there you go !

  PANConf uses PathableName, PanSubHelperTrait

Located at device-and-system-classes/PANConf.php

Methods summary
`public` | # `name( )`
`public` | # `__construct( `PanoramaConf`|null $withPanorama = null, string|null $serial = null, `Template`|null $fromTemplate = null )` #### Parameters $withPanorama ``PanoramaConf`|null` $withPanorama $serial `string|null` $serial $fromTemplate ``Template`|null` $fromTemplate
`public` | # `load_from_xmlstring( mixed & $xml )`
`public` | # `load_from_domxml( mixed $xml )` #### Parameters $xml `mixed` $xml DOMElement|DOMDocument #### Throws ``Exception``
`public `VirtualSystem`|null` | # `findVSYS_by_Name( string $name )` !!OBSOLETE!! !!OBSOLETE!! #### Parameters $name `string` $name #### Returns ``VirtualSystem`|null` #### Obsolete
`public `VirtualSystem`|null` | # `findVSYS_by_displayName( string $displayname )` #### Parameters $displayname `string` $name #### Returns ``VirtualSystem`|null`
`public `VirtualSystem`|null` | # `findVirtualSystem( string $name )` #### Parameters $name `string` $name #### Returns ``VirtualSystem`|null`
`public` | # `save_to_file( string $fileName, boolean $printMessage = TRUE, mixed $lineReturn = TRUE, mixed $indentingXml = 0, mixed $indentingXmlIncreament = 1 )` #### Parameters $fileName `string` $fileName $printMessage `boolean` $printMessage $lineReturn $indentingXml $indentingXmlIncreament
`public` | # `load_from_file( mixed $fileName )` #### Parameters $fileName `mixed` $fileName string
`public` | # `API_load_from_running( `PanAPIConnector` $conn )`
`public` | # `API_load_from_candidate( `PanAPIConnector` $conn )`
`public` | # `API_uploadConfig( mixed $config_name = 'panconfigurator-default.xml' )` send current config to the firewall and save under name $config_name send current config to the firewall and save under name $config_name
`public `VirtualSystem[]`` | # `getVirtualSystems( )` #### Returns ``VirtualSystem[]``
`public` | # `display_statistics( )`
`public` | # `isFirewall( )`
`public` | # `createVirtualSystem( mixed $vsysID, mixed $displayName = '' )`
`public` | # `findSubSystemByName( mixed $location )`

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

Methods used from PanSubHelperTrait
`(), (), (), (), (), (), ()`

Properties summary
`public `DOMElement`` | $xmlroot | `` | #
`public `DOMDocument`` | $xmldoc | `` | #
`public `DOMElement`` | $sharedroot | `` | #
`public `DOMDocument`` | $devicesroot | `` | #
`public `DOMElement`` | $localhostroot | `` | #
`public `DOMElement`|null` | $vsyssroot | `` | #
`public string` | $name | `''` | #
`public `AddressStore`` | $addressStore | `null` | #
`public `ServiceStore`` | $serviceStore | `null` | #
`public mixed` | $version | `null` | #
`public `VirtualSystem[]`` | $virtualSystems | `array()` | #
`public `PanAPIConnector`|null` | $connector | `null` | # $connector $connector
`public null|`Template`` | $owner | `null` | #
`public `NetworkPropertiesContainer`` | $network | `` | #
`public `AppStore`` | $appStore | `` | #
`public `TagStore`` | $tagStore | `` | #
`public `SecurityProfileStore`` | $urlStore | `` | #
`protected mixed` | $securityProfilebaseroot | `` | #
`public `SecurityProfileStore`` | $URLProfileStore | `null` | #
`public `SecurityProfileStore`` | $customURLProfileStore | `null` | #
`public `SecurityProfileStore`` | $AntiVirusProfileStore | `null` | #
`public `SecurityProfileStore`` | $VulnerabilityProfileStore | `null` | #
`public `SecurityProfileStore`` | $AntiSpywareProfileStore | `null` | #
`public `SecurityProfileStore`` | $FileBlockingProfileStore | `null` | #
`public `SecurityProfileStore`` | $WildfireProfileStore | `null` | #
`public `SecurityProfileGroupStore`` | $securityProfileGroupStore | `null` | #
`public `SecurityProfileStore`` | $DecryptionProfileStore | `null` | #
`public `SecurityProfileStore`` | $HipObjectsProfileStore | `null` | #
`public `SecurityProfileStore`` | $HipProfilesProfileStore | `null` | #
`public `ScheduleStore`` | $scheduleStore | `null` | #
`public mixed` | $_public_cloud_server | `null` | #

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