Jump to >

reviewboard.extensions.base

Base support for writing custom extensions.

class Extension(extension_manager)[source]

Bases: djblets.extensions.extension.Extension

Base class for custom extensions.

See Extending Review Board for information on how to make use of this class to write your own extensions, and the Djblets Extension documentation for a full class reference.

class JSExtension(extension)[source]

Bases: djblets.extensions.extension.JSExtension

Base class for JavaScript-side extensions.

See Extending Review Board for information on how to make use of this class to write your own JavaScript-side extensions, and the Djblets JSExtension documentation for a full class reference.

class ExtensionManager(key)[source]

Bases: djblets.extensions.manager.ExtensionManager

The extension manager used by Review Board.

See the Djblets ExtensionManager documentation for a full class reference.

get_extension_manager()[source]

Return the extension manager used by Review Board.

The same instance will be returned every time.

Returns:The extension manager used by Review Board.
Return type:ExtensionManager