WatchGuardPolicy

Extends \BOC\WatchGuardObject

Class WatchGuardPolicy

package

BOC

Methods

WatchGuardObject constructor.

__construct(\SimpleXMLElement $element) 
inherited

Arguments

$element

\SimpleXMLElement

find referenced aliases in policy: look at from:, look at to:

getReferencedAliases() : array

Response

array

returns an array of alias names, that are referenced in an simppleXMLElement list like from: or to:

getReferencedAliasesFromAliasList( $list) : array

Arguments

$list

simpleXMLElement

Response

array

find referenced tags in policy

getReferencedTags() : array

Response

array

returns the name of the service of this policy

getService() : string

Response

string

returns the enable/disable state of this policy

isEnabled() : boolean

Response

boolean

print the name of $this

printName( $xmlfile) 
inherited

Arguments

$xmlfile

WatchGuardXMLFile in which other objects can be found

stores the alias into the aliasesFrom array.

storeAliasesFrom( $aliasarray) 

Arguments

$aliasarray

stores the alias into the aliasesTo array.

storeAliasesTo( $aliasarray) 

Arguments

$aliasarray

stores a reference to this object.

storeReference( $name,  $type) 
inherited

Arguments

$name

string name of reference to store

$type

string type of reference (policy|alias|...)

print the content of $this

textout( $xmlfile) 
inherited

Arguments

$xmlfile

WatchGuardXMLFile in which other objects can be found

print the full content of $this

verbosetextout( $xmlfile) 
inherited

Arguments

$xmlfile

WatchGuardXMLFile in which other objects can be found

Properties

stores all aliases from to: part

aliasesTo : array
var

Type(s)

array

stores all aliases from from: part

aliasesFrom : array
var

Type(s)

array

stored object

obj : \SimpleXMLElement
inherited
var

stored object

Type(s)

\SimpleXMLElement

list of object names which reference this object.

referencedBy : array
inherited
var

list of object names which reference this object.

Type(s)

array

count of references to this object

refcount : integer
inherited
var

count of references to this object

Type(s)

integer