From bc88a51abe2de8f10cc326fd330d4d7d35a6406f Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 21 Mar 2013 10:28:10 +0000 Subject: [PATCH] documentation on wanted functionality for allowed method fetch on egw_link::get_registry possibly provided by search_link --- phpgwapi/inc/class.egw_link.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 4c26750d7b..a3ff15e9c9 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -82,6 +82,8 @@ * ), * // 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, * 'app-sub' => array( // different from 'types' approach above * // every value defined above