> For the complete documentation index, see [llms.txt](https://cherrycake.tin.cat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cherrycake.tin.cat/version-0.x/reference/core-classes/module/methods.md).

# Module methods

## getConfig( key ) <a href="#getconfig" id="getconfig"></a>

Gets a configuration value.

* **`key`** The configuration key

**Returns:** The configuration value.

## init

Initializes the module, called automatically when the module is loaded. Contains any specific initialization for the module, and any required loading of modules and classes dependencies.

**Returns:** A boolean specifying whether the module was initialized ok or failed.

## mapActions

Maps the Actions to which this module must respond. Intended to contain calls to Actions::mapAction()
