Module m_translation

Model for access to language lists etc.

Copyright © 2013-2020 Marc Worrell

Behaviours: zotonic_model.

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

Description

Model for access to language lists etc

Function Index

all_languages/0
language_list_configured/1
language_list_editable/1
language_list_enabled/1
m_get/3Fetch the value for the key from a model source.
main_languages/0
sort/1
sort_codes/1

Function Details

all_languages/0

all_languages() -> any()

language_list_configured/1

language_list_configured(Context) -> any()

language_list_editable/1

language_list_editable(Context) -> any()

language_list_enabled/1

language_list_enabled(Context) -> any()

m_get/3

m_get(Rest::list(), Msg::zotonic_model:opt_msg(), Context::z:context()) -> zotonic_model:return()

Fetch the value for the key from a model source

main_languages/0

main_languages() -> any()

sort/1

sort(Map) -> any()

sort_codes/1

sort_codes(Codes) -> any()


Generated by EDoc