Module m_backup_revision

Manage a resource's revisions.

Copyright © 2012 Marc Worrell

Behaviours: zotonic_model.

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

Description

Manage a resource's revisions.

Function Index

get_revision/2
install/1Install the revisions table.
list_revisions/2
list_revisions_assoc/2
m_get/3Fetch the value for the key from a model source.
save_revision/3

Function Details

get_revision/2

get_revision(RevId0, Context) -> any()

install/1

install(Context) -> any()

Install the revisions table.

list_revisions/2

list_revisions(Id, Context) -> any()

list_revisions_assoc/2

list_revisions_assoc(Id, 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

save_revision/3

save_revision(Id, Props, Context) -> any()


Generated by EDoc