From 892910a76d055cc0057a4e8b557d217c5f9163ad Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 21 Mar 2013 10:27:12 +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 dd98e97688..d47552f879 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -80,6 +80,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