Package core :: Package controllers :: Module miscSettings :: Class miscSettings
[hide private]
[frames] | no frames]

Class miscSettings




A class that acts as an interface for the user interfaces, so they can configure w3af settings using getOptionsXML and SetOptions.

Instance Methods [hide private]
  __init__(self)
  getOptionsXML(self)
This method returns a XML containing the Options that the plugin has.
  getDesc(self)
  setOptions(self, OptionMap)
This method sets all the options that are configured using the user interface generated by the framework using the result of getOptionsXML().

Inherited from configurable.configurable: getName, getType


Method Details [hide private]

__init__(self)
(Constructor)

 
None

getOptionsXML(self)

 
This method returns a XML containing the Options that the plugin has. Using this XML the framework will build a window, a menu, or some other input method to retrieve the info from the user. The XML has to validate against the xml schema file located at : w3af/core/ui/userInterface.dtd
Returns:
XML with the plugin options.
Overrides: configurable.configurable.getOptionsXML

getDesc(self)

 
None

setOptions(self, OptionMap)

 
This method sets all the options that are configured using the user interface generated by the framework using the result of getOptionsXML().
Parameters:
  • OptionMap - A dictionary with the options for the plugin.
Returns:
No value is returned.
Overrides: configurable.configurable.setOptions