Back to index

plone3  3.1.7
Functions | Variables
kss.core.pluginregistry.deprecated.configure Namespace Reference

Functions

def registerCommand

Variables

tuple registerCommand
tuple registerEventType = deprecated_directive(_configure.registerEventType, 'azax:registerEventType', 'use kss:registerEventType instead')
tuple registerAction = deprecated_directive(_configure.registerAction, 'azax:registerAction', 'use kss:registerAction instead')
tuple registerSelectorType = deprecated_directive(_configure.registerSelectorType, 'azax:registerSelectorType', 'use kss:registerSelectorType instead')
tuple registerCommandSet = deprecated_directive(_configure.registerCommandSet, 'azax:registerCommandSet', 'use kss:registerCommandSet instead')

Function Documentation

def kss.core.pluginregistry.deprecated.configure.registerCommand (   _context,
  name,
  jsfile = None 
)

Definition at line 9 of file configure.py.

00009 
00010 def registerCommand(_context, name, jsfile=None):
00011     'Directive that registers a command' 
00012     # check to see if the file exists
00013     if jsfile is not None:
00014         file(jsfile, 'rb').close()
00015 
00016     _context.action(
00017         discriminator = ('registerKssCommand', name, jsfile),
00018         callable = registerPlugin,
00019         args = (Command, ICommand, name, jsfile),
        )

Here is the call graph for this function:


Variable Documentation

tuple kss.core.pluginregistry.deprecated.configure.registerAction = deprecated_directive(_configure.registerAction, 'azax:registerAction', 'use kss:registerAction instead')

Definition at line 24 of file configure.py.

Initial value:
00001 deprecated_directive(registerCommand, 'azax:registerCommand',
00002         'use kss:registerAction with command_factory="selector" or "global"')

Definition at line 20 of file configure.py.

tuple kss.core.pluginregistry.deprecated.configure.registerCommandSet = deprecated_directive(_configure.registerCommandSet, 'azax:registerCommandSet', 'use kss:registerCommandSet instead')

Definition at line 26 of file configure.py.

tuple kss.core.pluginregistry.deprecated.configure.registerEventType = deprecated_directive(_configure.registerEventType, 'azax:registerEventType', 'use kss:registerEventType instead')

Definition at line 23 of file configure.py.

tuple kss.core.pluginregistry.deprecated.configure.registerSelectorType = deprecated_directive(_configure.registerSelectorType, 'azax:registerSelectorType', 'use kss:registerSelectorType instead')

Definition at line 25 of file configure.py.