# Class SecurityProfile

  SecurityProfile uses PathableName, XmlConvertible, ObjectWithDescription, ReferenceableObject

Located at object-classes/SecurityProfile.php

Methods summary
`public` | # `__construct( string $name, `SecurityProfileStore` $owner, boolean $fromXmlTemplate = FALSE )` you should not need this one for normal use you should not need this one for normal use #### Parameters $name `string` $name $owner ``SecurityProfileStore`` $owner $fromXmlTemplate `boolean` $fromXmlTemplate
`public null|string` | # `value( )` #### Returns `null|string`
`public boolean` | # `setValue( string $newValue, boolean $rewriteXml = TRUE )` #### Parameters $newValue `string` $newValue $rewriteXml `boolean` $rewriteXml #### Returns `boolean` #### Throws ``Exception``
`public boolean` | # `setType( mixed $newType, boolean $rewritexml = TRUE )` #### Parameters $newType `mixed` $newType string $rewritexml `boolean` $rewritexml #### Returns `boolean` true if successful
`public boolean` | # `API_setType( mixed $newType )` #### Parameters $newType `mixed` $newType string #### Returns `boolean` true if successful
`public boolean` | # `API_setValue( string $newValue )` #### Parameters $newValue `string` $newValue #### Returns `boolean`
`public boolean` | # `API_editValue( string $newValue )` #### Parameters $newValue `string` $newValue #### Returns `boolean`
`public` | # `rewriteXML( )`
`public` | # `setName( string $newName )` change the name of this object change the name of this object #### Parameters $newName `string` $newName
`public` | # `API_setName( string $newName )` #### Parameters $newName `string` $newName
`public string &` | # `getXPath( )` #### Returns `string`
`public string` | # `type( )` #### Returns `string` ie: 'ip-netmask' 'ip-range'
`public` | # `isSecurityProfile( )`
`public` | # `isTmpSecProf( )`
`public` | # `isType_Virus( )`
`public` | # `isType_Spyware( )`
`public` | # `isType_Vulnerability( )`
`public` | # `isType_TMP( )`
`public` | # `isType_File_blocking( )`
`public` | # `isType_Wildfire_analysis( )`
`public` | # `isType_Url_filtering( )`
`public boolean` | # `equals( mixed $otherObject )` #### Parameters $otherObject `mixed` $otherObject SecurityProfile #### Returns `boolean`
`public` | # `sameValue( `SecurityProfile` $otherObject )`
`public` | # `removeReference( mixed $object )`
`public` | # `nameIsValidRuleIPEntry( )`

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

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

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

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

Constants summary
`integer` | `TypeTmp` | `0` | #
`integer` | `TypeVirus` | `1` | #
`integer` | `TypeSpyware` | `2` | #
`integer` | `TypeVulnerability` | `3` | #
`integer` | `TypeFile_blocking` | `4` | #
`integer` | `TypeWildfire_analysis` | `5` | #
`integer` | `TypeUrl_filtering` | `6` | #

Properties summary
`protected string|null` | $value | `` | #
`public `SecurityProfileStore`|null` | $owner | `` | #
`public integer` | $type | ``SecurityProfile::TypeTmp`` | #
`public static string` | $templatexml | `'<entry name="**temporarynamechangeme**"><ip-netmask>tempvaluechangeme</ip-netmask></entry>'` | #

Properties used from XmlConvertible
`$xmlroot`

Properties used from ObjectWithDescription
`$_description`

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

Magic properties summary
`public mixed` | $_ip4Map | # IP4Map cached ip start and end value for fast optimization IP4Map cached ip start and end value for fast optimization

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

Magic properties used from ObjectWithDescription
`$xmlroot`