CLI API Documentation

Axigen's PHP Command Line Interface API reference guide

List of all members.

Public Member Functions

  __construct ($scriptfilterObj, $parentObj)
  __get ($varName)
  __set ($varName, $varValue)
  getScriptFilterObj ()
  getSessionObj ()
  save ()
  uploadFilter ($filterData)

Member Function Documentation

ScriptFilters::__get ( varName  ) 

Get member.

member

description

name

sets the name of the filter

type

sets the type of the script filter

file

sets the path to the file where the script is located

ScriptFilters::__set ( varName,
varValue  
)

Set member.

member

description

name

sets the name of the filter

type

sets the type of the script filter

file

sets the path to the file where the script is located

ScriptFilters::save (  ) 

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

Returns:
bool
ScriptFilters::uploadFilter ( filterData  ) 

Uploads a SIEVE filter to the Axigen server with the name pointed by the selected scriptfilter file name

Returns:
bool
Parameters:
$filterData  string the filter data that you want to upload