Package gozerbot :: Module persistconfig :: Class PersistConfig
[hide private]
[frames] | no frames]

Class PersistConfig

source code

     object --+    
              |    
persist.Persist --+
                  |
                 PersistConfig

persist plugin configuration and create default handlers

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getattribute__(self, name)
x.__getattribute__('name') <==> x.name
source code
 
handle_callback(self, event, key, value=None) source code
 
show_cfg(self, bot, ievent) source code
 
cmnd_cfgsave(self, bot, ievent) source code
 
cmnd_cfg_edit(self, bot, ievent, args, key, option) source code
 
cmnd_cfg(self, bot, ievent) source code
 
generic_cmnd(self, key) source code
 
define(self, key, value=None, desc='plugin option', perm='OPER', example='', name=None, exposed=True) source code
 
undefine(self, key, throw=False) source code
 
checkoption(self, key) source code
 
set(self, key, value, throw=False) source code
 
append(self, key, value) source code
 
remove(self, key, value) source code
 
clear(self, key) source code
 
get(self, key, default=None) source code
 
has_key(self, key) source code
 
callback(self, key, event, callback, extra_data=None) source code
 
syncold(self, filename, remove=False)
sync with old config data
source code

Inherited from persist.Persist: save

Inherited from object: __delattr__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__getattribute__(self, name)

source code 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__
(inherited documentation)