Module z

Some easy shortcut functions.

Copyright 2009-2015 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Some easy shortcut functions.

Data Types

context()

context() = #context{}

Function Index

c/1Return a new context.
compile/0(Re)make all erlang source modules with the supplied compile options.
compile/1
debug_msg/3Echo and return a debugging value.
flush/0Reset all caches, reload the dispatch rules and rescan all modules.
flush/1
ld/0Reload all changed Erlang modules.
ld/1Reload an Erlang module.
m/0(Re)make all erlang source modules and reset the caches.
m/1(Re)make all erlang source modules with the supplied compile options and reset the caches.
n/2Send a notification.
n1/2Send a notification to the first observer.
restart/0Full restart of Zotonic.
restart/1Restart a site.
shell_restartsite/1Shell commands: stop a site.
shell_startsite/1Shell commands: start a site.
shell_stopsite/1Shell commands: stop a site.

Function Details

c/1

c(Site) -> any()

Return a new context

compile/0

compile() -> any()

(Re)make all erlang source modules with the supplied compile options. Do not reset the caches.

compile/1

compile(Options) -> any()

debug_msg/3

debug_msg(Module, Line, Msg) -> any()

Echo and return a debugging value

flush/0

flush() -> any()

Reset all caches, reload the dispatch rules and rescan all modules.

flush/1

flush(Site) -> any()

ld/0

ld() -> any()

Reload all changed Erlang modules

ld/1

ld(Module) -> any()

Reload an Erlang module

m/0

m() -> any()

(Re)make all erlang source modules and reset the caches.

m/1

m(Options) -> any()

(Re)make all erlang source modules with the supplied compile options and reset the caches.

n/2

n(Msg, Context) -> any()

Send a notification

n1/2

n1(Msg, Context) -> any()

Send a notification to the first observer

restart/0

restart() -> any()

Full restart of Zotonic

restart/1

restart(Site) -> any()

Restart a site

shell_restartsite/1

shell_restartsite(Site) -> any()

Shell commands: stop a site

shell_startsite/1

shell_startsite(Site) -> any()

Shell commands: start a site

shell_stopsite/1

shell_stopsite(Site) -> any()

Shell commands: stop a site


Generated by EDoc, Dec 9 2016, 15:47:27.