Package core :: Package controllers :: Module miscSettings :: Class miscSettings
[hide private]

Class miscSettings




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

Instance Methods [hide private]
 
__init__(self)
 
getOptions(self)
Returns: A list of option objects for this plugin.
 
getDesc(self)
 
setOptions(self, optionsMap)
This method sets all the options that are configured using the user interface generated by the framework using the result of getOptions().

Inherited from configurable.configurable: getName, getType

Method Details [hide private]

getOptions(self)

 

This method returns an optionList containing the options objects that the configurable object has. Using this option list the framework will build a window, a menu, or some other input method to retrieve the info from the user.

This method MUST be implemented on every plugin.
Returns:
A list of option objects for this plugin.
Overrides: configurable.configurable.getOptions

setOptions(self, optionsMap)

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