Module z_datamodel

Installing parts of the zotonic datamodel.

Copyright 2009 Arjan Scherpenisse Date: 2009-11-08

Authors: Arjan Scherpenisse (arjan@scherpenisse.net).

Description

Installing parts of the zotonic datamodel. Installs predicates, categories and default resources.

Data Types

datamodel_option()

datamodel_option() = force_update

datamodel_options()

datamodel_options() = [datamodel_option()]

Function Index

manage/3Install / update a set of named, predefined resources, categories, predicates, media and edges.
manage/4Install / update a set of named, predefined resources, categories, predicates, media and edges.
reset_deleted/2Reset the state of an imported datamodel, causing all deleted resources to be reimported.

Function Details

manage/3

manage(Module::atom(), Datamodel::#datamodel{}, Context::#context{}) -> ok

Install / update a set of named, predefined resources, categories, predicates, media and edges.

manage/4

manage(Module::atom(), Datamodel::#datamodel{}, Options::datamodel_options(), Context::#context{}) -> ok

Install / update a set of named, predefined resources, categories, predicates, media and edges.

reset_deleted/2

reset_deleted(Module, Context) -> any()

Reset the state of an imported datamodel, causing all deleted resources to be reimported


Generated by EDoc, Sep 2 2014, 23:03:45.