Class JsonAdnsresfilter

Description

Extend the base Json class with andsresfilter specific methods.

Located in /networking/adnsresfilter-ajax.php (line 27)

Json
   |
   --JsonAdnsresfilter
Method Summary
JsonAdnsresfilter __construct ()
A jsonFormat ()
void processRequest ()
Methods
Constructor __construct (line 32)

Construct a new instance of the object.

  • access: public
JsonAdnsresfilter __construct ()
jsonFormat (line 44)

Pass the "format" string through adnsresfilter and echo results back.

NOTE: If you pass a IP address as the "nameserver" parameter, we will use that as the nameserver (instead of the system default).

  • return: string with the results of running the command (or null/false if unable to open/run).
  • access: public
A jsonFormat ()
processRequest (line 110)

Process the request from the client.

This method looks for the 'op' parameter in either the POST or GET arguments from the request to indicate the desired operation. The following operations are recognized:

  • access: public
void processRequest ()

Inherited Methods

Inherited From Json

Json::exec()
Json::execResults()
Json::getCommand()
Json::getCommandLine()
Json::getValue()
Json::postResults()
Json::setHeader()

Documentation generated on Sun, 11 Feb 2018 07:41:02 -0500 by phpDocumentor 1.4.4