Commit Graph

19 Commits

Author SHA1 Message Date
Ralf Becker
a515bdeffb reworked link classes:
- new public egw_link class, which has only static methods and can NOT be instanciated
- depricated bolink class, for existing code instanciating the bolink class in $egw->link
- new method and application hook *titles* to retrieve the title of multiple entries of an app in one go
- new method *get_links_multiple* to retrieve all links of multiple entries of an app
2008-03-08 21:41:20 +00:00
Ralf Becker
04ba662494 small enhancement to keep the attachments, 'til the infolog entry gets finally deleted 2007-06-14 06:16:19 +00:00
Lars Kneschke
aee25f82df fix for a sometime not terminating loop. patch provided by knut moeller 2007-05-25 08:24:22 +00:00
Ralf Becker
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Ralf Becker
2e3a0a06cd added a small default registry for f(elami)mail, to list it in the quick add menu, without really supporting linking with mails 2006-12-12 14:40:03 +00:00
Ralf Becker
88d5a016e0 caching the link-titles in the session 2006-10-04 08:23:28 +00:00
Ralf Becker
445d8467a3 get_links with $only_app param set was returning the complete links instead just the id's, if the entry was not yet created (links stored as an array in the empty id) 2006-09-20 07:11:42 +00:00
Ralf Becker
e88c4e3eb3 - new method get_3links, to get all links from a given app's entries to an other app's entries, which both link to the same 3. app and id
- documentation update phpDoc headers
2006-08-26 15:58:26 +00:00
Ralf Becker
558a52b491 1) fixed critical bug in links class: viewing an entry which has links to other entries, for which the user has no view permissions, caused the deleting of the links to these entries. The title function/hook returns now null to indicate an entry does not exist (and all links can be deleted) or false (as previously allways) if there are insufficent rights to view the title. Links get now only deleted in the first case, if title() returns null
2) dont ask ;-)
2006-06-24 15:58:29 +00:00
Ralf Becker
1ed3143918 moved link registry and functions for addressbook into the bocontacts class of addressbook 2006-04-23 14:49:08 +00:00
Cornelius Weiß
300b9b1070 addressbook extension:
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Ralf Becker
8fc1ad4184 fix for empty or zero id in call to bolink::tile 2006-03-02 19:21:55 +00:00
Ralf Becker
7dd8eda157 some bugfixes: unlink was not working on tempr. links (no id yet) hold in an array 2006-01-11 05:18:48 +00:00
Ralf Becker
e665bbad9d quitend a debug message 2005-11-13 18:22:06 +00:00
Ralf Becker
8add4f6398 infolog link registry ins now in infolog class 2005-11-13 09:14:02 +00:00
Cornelius Weiß
599a4cdfdf adjust link to new view dialog 2005-11-11 20:52:09 +00:00
Ralf Becker
295d7844e5 added no_notify parameter to link function, to suppress the notify 2005-10-27 09:28:24 +00:00
Ralf Becker
8a8077bf4e typo 2005-10-01 21:06:43 +00:00
Ralf Becker
b31e40e067 moved InfoLog's link class and it's table into the api 2005-10-01 20:18:41 +00:00