Copyright © 2009-2017 Marc Worrell
Authors: Marc Worrell (marc@worrell.nl).
context() = #context{}
environment() = development | test | acceptance | production | education | backup
qvalue() = binary() | string() | #upload{} | term()
severity() = debug | info | warning | error | fatal
trans() = #trans{}
validation_error() = invalid | novalue | {script, iodata()} | novalidator | string()
c/1 | Return a new context. |
compile/0 | (Re)make all erlang source modules with the supplied compile options. |
debug/2 | Log a debug message, with extra props. |
debug/3 | |
debug/4 | |
debug_msg/3 | Echo and return a debugging value. |
dispatch_list/1 | Return the complete dispatch information for the site. |
dispatch_path/2 | Shell command: dispatch a path, return trace. |
dispatch_url/1 | Dispatch an URL - find matching site and dispatch the path. |
error/2 | Log a error. |
error/3 | |
error/4 | |
flush/0 | Reset all caches, reload the dispatch rules and rescan all modules. |
flush/1 | |
info/2 | Log an informational message. |
info/3 | |
info/4 | |
ld/0 | Reload all changed Erlang modules. |
ld/1 | Reload an Erlang module. |
log/3 | |
m/0 | (Re)make all erlang source modules and reset the caches. |
n/2 | Send a notification. |
n1/2 | Send a notification to the first observer. |
reindex/0 | Reindex all sites, find new files. |
restart/0 | Full restart of Zotonic. |
restart/1 | Restart a site. |
shell_restartsite/1 | Shell commands: stop a site. |
shell_startsite/1 | Shell commands: start a site. |
shell_stopsite/1 | Shell commands: stop a site. |
warning/2 | Log a warning. |
warning/3 | |
warning/4 |
c(Site::atom()) -> z:context()
Return a new context
compile() -> any()
(Re)make all erlang source modules with the supplied compile options. Do not reset the caches.
debug(Msg, Context) -> any()
Log a debug message, with extra props.
debug(Msg, Props, Context) -> any()
debug(Msg, Args, Props, Context) -> any()
debug_msg(Module, Line, Msg) -> any()
Echo and return a debugging value
dispatch_list(SiteOrContext) -> any()
Return the complete dispatch information for the site.
dispatch_path(Path, Site) -> any()
Shell command: dispatch a path, return trace
dispatch_url(Url) -> any()
Dispatch an URL - find matching site and dispatch the path
error(Msg, Context) -> any()
Log a error.
error(Msg, Props, Context) -> any()
error(Msg, Args, Props, Context) -> any()
flush() -> ok
Reset all caches, reload the dispatch rules and rescan all modules.
flush(Site::atom() | z:context()) -> ok
info(Msg, Context) -> any()
Log an informational message.
info(Msg, Props, Context) -> any()
info(Msg, Args, Props, Context) -> any()
ld() -> any()
Reload all changed Erlang modules
ld(Module) -> any()
Reload an Erlang module
log(Type::severity(), Props::proplists:proplist(), Context::z:context()) -> ok
m() -> any()
(Re)make all erlang source modules and reset the caches.
n(Msg, Context) -> any()
Send a notification
n1(Msg, Context) -> any()
Send a notification to the first observer
reindex() -> any()
Reindex all sites, find new files.
restart() -> any()
Full restart of Zotonic
restart(Site) -> any()
Restart a site
shell_restartsite(Site) -> any()
Shell commands: stop a site
shell_startsite(Site) -> any()
Shell commands: start a site
shell_stopsite(Site) -> any()
Shell commands: stop a site
warning(Msg, Context) -> any()
Log a warning.
warning(Msg, Props, Context) -> any()
warning(Msg, Args, Props, Context) -> any()
Generated by EDoc