Documentation

WatchGuardService extends WatchGuardObject
in package

Class WatchGuardService

Table of Contents

Properties

$default  : mixed
$enabled  : mixed
$jsonObject  : mixed
$obj  : SimpleXMLElement
$objectType  : mixed
$property  : property
$refcount  : int
$referencedBy  : array<string|int, mixed>
$XMLObject  : mixed
$serviceItems  : mixed
$servicePorts  : mixed

Methods

__construct()  : mixed
WatchGuardService constructor.
debug()  : void
print object as debug output
getDescription()  : mixed
getDescriptionPretty()  : mixed
getJsonObject()  : mixed
getName()  : mixed
getNamePretty()  : mixed
getProperty()  : string
Returns the property element of $this
getServicePorts()  : array<string|int, mixed>
isDefault()  : bool
isEnabled()  : mixed
isReferenced()  : mixed
isUnused()  : mixed
isXMLObject()  : mixed
prepareJson()  : mixed
setDefault()  : mixed
setEnabled()  : mixed
storeReference()  : mixed
stores a reference to this object.
textout()  : mixed
print the content of $this
printName()  : mixed
print the name of $this
verbosetextout()  : mixed
detailed printout of service information

Properties

$property

protected property $property

of this object (proberty value from xml file)

$referencedBy

protected array<string|int, mixed> $referencedBy

list of object names which reference this object.

Methods

__construct()

WatchGuardService constructor.

public __construct(SimpleXMLElement $element) : mixed
Parameters
$element : SimpleXMLElement

getProperty()

Returns the property element of $this

public getProperty() : string
Return values
string

getServicePorts()

public getServicePorts() : array<string|int, mixed>
Return values
array<string|int, mixed>

prepareJson()

public prepareJson(mixed $xmlfile) : mixed
Parameters
$xmlfile : mixed

setDefault()

public setDefault(bool $default) : mixed
Parameters
$default : bool

setEnabled()

public setEnabled(bool $value) : mixed
Parameters
$value : bool

storeReference()

stores a reference to this object.

public storeReference(mixed $name, mixed $type) : mixed
Parameters
$name : mixed

string name of reference to store

$type : mixed

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

textout()

print the content of $this

public textout(mixed $xmlfile) : mixed
Parameters
$xmlfile : mixed

WatchGuardXMLFile in which other objects can be found

printName()

print the name of $this

protected printName(mixed $xmlfile) : mixed
Parameters
$xmlfile : mixed

WatchGuardXMLFile in which other objects can be found


        
On this page

Search results