Copyright © 2009-2021 Marc Worrell
Behaviours: zotonic_model.
Authors: Marc Worrell (marc@worrell.nl).
m_get/3 | Fetch the value for the key from a model source. |
search/2 | (Deprecated.) |
search/3 | Perform a search. |
search_pager/2 | (Deprecated.) |
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
search(S, Context) -> #search_result{}
This function is deprecated: Use m_search:search/3
search(Name::binary(), Args::map(), Context::z:context()) -> {ok, #search_result{}} | {error, term()}
Perform a search. Pass page and pagelen as arguments for paging.
search_pager(S, Context) -> #search_result{}
This function is deprecated: Use m_search:search/3
Generated by EDoc