# Class SecurityProfileStore

© 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

  ObjStore uses PathableName, XmlConvertible
  SecurityProfileStore

Located at object-classes/SecurityProfileStore.php

Methods summary
`public` | # `name( )`
`public` | # `__construct( mixed $owner, mixed $profileType )`
`public static `SecurityProfileStore`|null` | # `getPredefinedStore( )` #### Returns ``SecurityProfileStore`|null`
`public` | # `load_from_predefinedfile( mixed $filename = null )`
`public null|`SecurityProfileURL`|`SecurityProfileAntiVirus`|`CustomSecurityProfileURL`` | # `find( string $name )` Look for a rule named $name. Return NULL if not found Look for a rule named $name. Return NULL if not found #### Parameters $name `string` $name #### Returns `null|`SecurityProfileURL`|`SecurityProfileAntiVirus`|`CustomSecurityProfileURL`` #### Overrides `ObjStore::find()`
`public boolean` | # `inStore( `SecurityProfileURL`|`SecurityProfileAntiVirus`|`CustomSecurityProfileURL` $SecurityProfile )` #### Parameters $SecurityProfile ``SecurityProfileURL`|`SecurityProfileAntiVirus`|`CustomSecurityProfileURL`` #### Returns `boolean` #### Overrides `ObjStore::inStore()`
`public CustomProfileURL[]|`SecurityProfileURL` &` | # `securityProfiles( null|string|string[] $withFilter = null )` Returns an Array with all SecurityProfiles inside this store Returns an Array with all SecurityProfiles inside this store #### Parameters $withFilter `null|string|string[]` $withFilter #### Returns `CustomProfileURL[]|`SecurityProfileURL``
`public` | # `count( )` Counts the number of SecurityProfiles in this store Counts the number of SecurityProfiles in this store #### Overrides `ObjStore::count()`
`public` | # `removeAllSecurityProfiles( )`
`public string` | # `findAvailableSecurityProfileName( string $base, string $suffix, integer|string $startCount = '' )` #### Parameters $base `string` $base $suffix `string` $suffix $startCount `integer|string` $startCount #### Returns `string`
`public `SecurityProfile[]`` | # `tags( )` return tags in this store return tags in this store #### Returns ``SecurityProfile[]``
`public boolean` | # `addSecurityProfile( `SecurityProfileURL`|`CustomSecurityProfileURL`|`SecurityProfileAntiVirus`|`SecurityProfileAntiSpyware`|`SecurityProfileFileBlocking`|`SecurityProfileVulnerability`|`SecurityProfileWildfire`|`SecurityProfileVirusAndWildfire`|`SecurityProfileDNSSecurity`|`DecryptionProfile`|`HipObjectsProfile`|`HipProfilesProfile` $rule )` #### Parameters $rule ``SecurityProfileURL`|`CustomSecurityProfileURL`|`SecurityProfileAntiVirus`|`SecurityProfileAntiSpyware`|`SecurityProfileFileBlocking`|`SecurityProfileVulnerability`|`SecurityProfileWildfire`|`SecurityProfileVirusAndWildfire`|`SecurityProfileDNSSecurity`|`DecryptionProfile`|`HipObjectsProfile`|`HipProfilesProfile`` $rule #### Returns `boolean`
`public `SecurityProfileURL`` | # `newSecurityProfileURL( string $name )` Creates a new SecurityProfileURL in this store. It will be placed at the end of the list. Creates a new SecurityProfileURL in this store. It will be placed at the end of the list. #### Parameters $name `string` $name name of the new Rule #### Returns ``SecurityProfileURL``
`public `CustomSecurityProfileURL`` | # `newCustomSecurityProfileURL( string $name )` Creates a new CustomSecurityProfileURL in this store. It will be placed at the end of the list. Creates a new CustomSecurityProfileURL in this store. It will be placed at the end of the list. #### Parameters $name `string` $name name of the new Rule #### Returns ``CustomSecurityProfileURL``
`public `CustomSecurityProfileURL`` | # `newPredefinedSecurityProfileURL( string $name )` Creates a new PredefinedSecurityProfileURL in this store. It will be placed at the end of the list. Creates a new PredefinedSecurityProfileURL in this store. It will be placed at the end of the list. #### Parameters $name `string` $name name of the new Rule #### Returns ``CustomSecurityProfileURL``
`public` | # `load_predefined_url_categories_from_domxml( `DOMElement` $xml )`
`public boolean` | # `removeSecurityProfile( `SecurityProfile` $tag )` #### Parameters $tag ``SecurityProfile`` $tag #### Returns `boolean` True if Zone was found and removed. False if not found.
`public boolean` | # `API_removeSecurityProfile( `SecurityProfile` $securityProfile )` #### Parameters $securityProfile ``SecurityProfile`` $securityProfile #### Returns `boolean`
`public &` | # `getXPath( )`
`public &` | # `getSecurityProfileStoreXPath( )`
`public` | # `rewriteXML( )` #### Overrides `ObjStore::rewriteXML()`
`public` | # `createXmlRoot( )`

Methods inherited from ObjStore
`countUnused(), createTmp(), display(), findByName(), findOrCreate(), getAll(), referencedObjectRenamed(), remove(), removeAll(), setName()`

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

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

Properties summary
`public `VirtualSystem`|`DeviceGroup`|`PanoramaConf`|`PANConf`|null` | $owner | `` | #
`public string` | $name | `'temporaryname'` | #
`protected string` | $type | `'**needsomethinghere**'` | #
`protected mixed` | $fastMemToIndex | `null` | #
`protected mixed` | $fastNameToIndex | `null` | #
`public null|`ReferenceableObject[]`` | $nameIndex | `array()` | #
`public `SecurityProfileURL[]`` | $_all | `array()` | #
`public `SecurityProfileURL[]`` | $_SecurityProfiles | `array()` | #
`protected null|`SecurityProfileStore`` | $parentCentralStore | `null` | #
`public static string` | $childn | `'SecurityProfile'` | #
`public `DOMElement`` | $securityProfileRoot | `` | #
`public mixed` | $predefinedStore_appid_version | `null` | #
`public static null|`SecurityProfileStore`` | $predefinedStore | `null` | #

Properties inherited from ObjStore
`$classn, $o, $skipEmptyXmlObjects`

Properties used from XmlConvertible
`$xmlroot`

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