Methods summary
public
|
#
__construct( string $name, AddressStore $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
AddressStore $owner
- $fromXmlTemplate
boolean $fromXmlTemplate
|
public
null|string
|
|
public
boolean
|
#
setValue( string $newValue, boolean $rewriteXml = TRUE )
Parameters
- $newValue
string $newValue
- $rewriteXml
boolean $rewriteXml
Returns
boolean
Throws
|
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
|
|
public
|
#
setName( string $newName )
change the name of this object
change the name of this object
Parameters
|
public
|
#
API_setName( string $newName )
|
public
string
&
|
|
public
string
|
#
type( )
Returns
string ie: 'ip-netmask' 'ip-range'
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
#
equals( mixed $otherObject )
Parameters
- $otherObject
mixed $otherObject Address|AddressGroup
Returns
boolean
|
public
|
|
public
IP4Map
|
#
getIP4Mapping( )
Return an array['start']= startip and ['end']= endip
Return an array['start']= startip and ['end']= endip
Returns
|
public
integer
|
#
includedInIP4Network( mixed $network )
return 0 if not match, 1 if this object is fully included in $network, 2 if
this object is partially matched by $ref.
return 0 if not match, 1 if this object is fully included in $network, 2 if
this object is partially matched by $ref.
Parameters
- $network
mixed $network string|IP4Map ie: 192.168.0.2/24, 192.168.0.2,192.168.0.2-192.168.0.4
Returns
integer
|
public
integer
|
#
includesIP4Network( mixed $network )
return 0 if not match, 1 if $network is fully included in this object, 2 if
$network is partially matched by this object.
return 0 if not match, 1 if $network is fully included in this object, 2 if
$network is partially matched by this object.
Parameters
- $network
mixed $network string|IP4Map ie: 192.168.0.2/24, 192.168.0.2,192.168.0.2-192.168.0.4
Returns
integer
|
public
|
#
removeReference( mixed $object )
|
public
|
|
public
boolean|string
|
|
public
|
#
nameIsValidRuleIPEntry( )
|