mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Add optional link variable so apps can specify the location of their entry modification time
This commit is contained in:
parent
db3ad56011
commit
533c9c0351
@ -424,6 +424,11 @@ class addressbook_hooks
|
||||
'merge' => true,
|
||||
'entry' => 'Contact',
|
||||
'entries' => 'Contacts',
|
||||
'modification_time' => array(
|
||||
'key' => 'contact_id',
|
||||
'column' => 'egw_addressbook.contact_modified',
|
||||
'type' => 'int'
|
||||
)
|
||||
);
|
||||
return $links;
|
||||
}
|
||||
|
@ -74,6 +74,10 @@ namespace EGroupware\Api;
|
||||
* 'icon' => 'app/icon', // Optional icon to use instead of app-icon
|
||||
* 'entry' => 'Contact', // Optional name for single entry of app, eg. "contact" used instead of appname
|
||||
* 'entries' => 'Contacts', // Optional name for multiple entries of app, eg. "contacts" used instead of appname
|
||||
* 'modification_time' => array( // Optional location of entry's last modification
|
||||
* 'column' => {string} table.column // Table & column name
|
||||
* 'type' => {string} longint // Data type for the column, if it's not a timestamp
|
||||
* ),
|
||||
* 'mime' => array( // Optional register mime-types application can open
|
||||
* 'text/something' => array(
|
||||
* 'mime_url' => $attr, // either mime_url or mime_data is required for server-side processing!
|
||||
|
Loading…
Reference in New Issue
Block a user