WeakWiki


WeakWiki\__Module
lib\modules.library.php at line 43

Class __Module

__Module

public abstract class __Module

This is the base class for extension modules.


Method Summary
void

addToMainMenu()

Returns links to add to main menu.

void

addToPageMenu()

Returns links to add to page menu.

void

afterParse(mixed input)

Method is called after text is parsed.

void

beforeParse(mixed input)

Method is called before text is parsed.

void

getDescription()

Returns a description of the module.

void

getDetails()

Returns a detail page for the module.

abstract void

getName()

Returns the module name.

void

getParseMode()

Returns the module's parse mode.

abstract void

getVersion()

Returns the module version.

void

parse(mixed input)

Method is called when text is parsed.

void

parseLink(mixed input)

Method is called when parsing links.

void

run()

Adequately reacts to a module query.

Method Detail

lib\modules.library.php at line 108

addToMainMenu

public void addToMainMenu()

Returns links to add to main menu. @return Main menu links.


lib\modules.library.php at line 115

addToPageMenu

public void addToPageMenu()

Returns links to add to page menu. @return Main menu links.


lib\modules.library.php at line 93

afterParse

public void afterParse(mixed input)

Method is called after text is parsed. @param $input Unparsed text. @return Parsed text.


lib\modules.library.php at line 77

beforeParse

public void beforeParse(mixed input)

Method is called before text is parsed. @param $input Unparsed text. @return Parsed text.


lib\modules.library.php at line 55

getDescription

public void getDescription()

Returns a description of the module. @return Module description.


lib\modules.library.php at line 62

getDetails

public void getDetails()

Returns a detail page for the module. @return Module detail page.


lib\modules.library.php at line 47

getName

public abstract void getName()

Returns the module name. @return Module name.


lib\modules.library.php at line 69

getParseMode

public void getParseMode()

Returns the module's parse mode. @return Parse mode.


lib\modules.library.php at line 51

getVersion

public abstract void getVersion()

Returns the module version. @return Module name.


lib\modules.library.php at line 85

parse

public void parse(mixed input)

Method is called when text is parsed. @param $input Unparsed text. @return Parsed text.


lib\modules.library.php at line 101

parseLink

public void parseLink(mixed input)

Method is called when parsing links. @param $input Unparsed text. @return Parsed text.


lib\modules.library.php at line 122

run

public void run()

Adequately reacts to a module query. @return TRUE when module processes the query, otherwise FALSE.


WeakWiki