CLI API Documentation

Axigen's PHP Command Line Interface API reference guide

List of all members.

Public Member Functions

  __construct ($allowruleObj, $parent)
  __get ($varName)
  __set ($varName, $varValue)
  getAllowRule ()
  getSessionObj ()
  save ()

Member Function Documentation

AllowRule::__get ( varName  ) 

Get member.

member

description

ipSet

the ipSet parameter

enable

the enable/disable status for the rule

priority

the rule's priority

maxConnections

maximum number of connections

timeInterval

the time interval

maxIntervalConnections

maximum number of connections in time interval

peerMaxConnections

maximum number of connections from a single host

peerTimeInterval

the time interval - single host

peerMaxIntervalConnections

desc maximum number of connections in time interval - single host

AllowRule::__set ( varName,
varValue  
)

Set member.

member

description

ipSet

the ipSet parameter

enable

the enable/disable status for the rule

priority

the rule's priority

maxConnections

maximum number of connections

timeInterval

the time interval

maxIntervalConnections

maximum number of connections in time interval

peerMaxConnections

maximum number of connections from a single host

peerTimeInterval

the time interval - single host

peerMaxIntervalConnections

desc maximum number of connections in time interval - single host

AllowRule::save (  ) 

This method must be called if one of the members has been changed

Returns:
bool