documentation on wanted functionality for allowed method fetch on egw_link::get_registry possibly provided by search_link

This commit is contained in:
Klaus Leithoff 2013-03-21 10:28:10 +00:00
parent 3568de95dd
commit bc88a51abe

View File

@ -82,6 +82,8 @@
* ), * ),
* // further mime types supported ... * // further mime types supported ...
* ), * ),
* 'fetch' => 'app.class.method', // method to return entry data for a given id. the method called should support id, and expected mime-type
* // basically you should return something like array(id, title, mimetype, body, linked-files)
* 'additional' => array( // allow one app to register sub-types, * 'additional' => array( // allow one app to register sub-types,
* 'app-sub' => array( // different from 'types' approach above * 'app-sub' => array( // different from 'types' approach above
* // every value defined above * // every value defined above