Methods summary
public
|
#
__construct( RuleStore $owner, boolean $fromTemplateXML = FALSE )
Parameters
- $owner
RuleStore $owner
- $fromTemplateXML
boolean $fromTemplateXML
|
public
|
#
load_from_domxml( mixed $xml )
|
public
|
#
referencedObjectRenamed( mixed $h, mixed $oldname = "" )
|
public
boolean
|
|
public
boolean
|
#
API_replaceReferencedObject( mixed $old, mixed $new )
Parameters
- $old
mixed $old AddressGroup|Address|Service|ServiceGroup
- $new
mixed $new Address|AddressGroup|Service|ServiceGroup
Returns
boolean
Throws
|
public
|
|
public
|
#
setBiDirectional( boolean $yes )
|
public
boolean
|
|
public
|
#
changeSourceNAT( mixed $newtype, mixed $interface = null, mixed $bidirectional = FALSE )
|
public
|
|
public
|
|
public
boolean
|
#
setDNAT( Address|AddressGroup $host, null $ports = null, mixed $type = 'static' )
Parameters
Returns
boolean
Throws
|
public
|
#
API_setDNAT( mixed $host, mixed $ports = null, mixed $type = 'static' )
|
public
|
|
public
|
|
public
|
|
public
|
#
setDestinationInterface( mixed $newDestinationInterface )
|
public
|
#
setSNATInterface( mixed $newSNATInterface )
|
public
boolean
|
#
setService( mixed $newServiceObject )
Parameters
- $newServiceObject
mixed $newServiceObject Service|ServiceGroup|null use null to set ANY
Returns
boolean return true if any change was made
|
public
boolean
|
#
API_setService( mixed $newServiceObject )
Parameters
- $newServiceObject
mixed $newServiceObject Service|ServiceGroup|null use null to set ANY
Returns
boolean return true if any change was made
|
public
|
|
public
|
|
public
|
#
display( mixed $padding = 0 )
|
public
|
#
destinationInterface( )
|
public
|
#
destinationNatIsEnabled( )
|
public
string
|
#
sourceNatIsEnabled( )
Returns
string options are : 'none' , 'dynamic-ip', 'dynamic-ip-and-port', 'static-ip'
|
public
|
|
public
|
#
sourceNatTypeIs_None( )
|
public
|
#
sourceNatTypeIs_Dynamic( )
|
public
|
#
sourceNatTypeIs_DIPP( )
|
public
|
#
sourceNatTypeIs_Static( )
|
public
|
#
hasDestinationInterface( )
|
public
|
|
public
|
|
public
|
|
public
|
|