Module z_filehandler

Extend the filehandler with mappers for translations, templates and mediaclass.

Description

Extend the filehandler with mappers for translations, templates and mediaclass.

Function Index

app_file_check/1Check if an app file is added, if so we need to tell the module managers and sites to upgrade.
filehandler_mappers_observer/3
mark_modified/1Mark a file as modified in the mtime index.
reindex_modules/0A Zotonic template changed.
reindex_modules_task/0
reload_dispatch/0Reload all dispatch rules.
reload_dispatch_task/0
reload_translations/0Reload translations.
reload_translations_task/0
start_observers/0

Function Details

app_file_check/1

app_file_check(Filename) -> any()

Check if an app file is added, if so we need to tell the module managers and sites to upgrade

filehandler_mappers_observer/3

filehandler_mappers_observer(X1, Mappers, Ctx) -> any()

mark_modified/1

mark_modified(Filename) -> any()

Mark a file as modified in the mtime index

reindex_modules/0

reindex_modules() -> ok

A Zotonic template changed

reindex_modules_task/0

reindex_modules_task() -> ok

reload_dispatch/0

reload_dispatch() -> ok

Reload all dispatch rules

reload_dispatch_task/0

reload_dispatch_task() -> ok

reload_translations/0

reload_translations() -> ok

Reload translations

reload_translations_task/0

reload_translations_task() -> ok

start_observers/0

start_observers() -> ok


Generated by EDoc