egroupware_official/phpgwapi
Ralf Becker 15ca7e90ed eGW wide index over all applications (superindex)
This index allows a fulltext search over all applications (or of
cause also a single app).
Whenever an applications stores an entry it calls: 

             boolean egw_index::save($app,$id,$owner,array $fields,array $cat_id=null)

which calls, as the application do when is deletes an entry (!), 

             boolean egw_index::delete($app,$id)

and then splits all fields into keywords and add these to the index by 

             boolean private egw_index::add($app,$id,$keyword).

Applications can then use the index to search for a given keyword
(and optional application):

             array egw_index::search($keyword,$app=null) or

             foreach(new egw_index($keyword,$app=null) as $app_id => $title)

To also allow to search by a category or keyword part of it, the index
also tracks the categories of the entries. Applications can choose to
only use it for category storage, or cat do it redundant in there own
table too. To retrieve the categories of one or multiple entries: 

             array egw_index::cats($app,$ids)

Applications can use a sql (sub-)query to get the id's of there app
matching a certain keyword and include that in there own queries:

             string egw_index::sql_ids_by_keyword($app,$keyword)

Please note: the index knows nothing about ACL, so it's the task of
the application to ensure ACL rights.
2008-03-08 21:51:12 +00:00
..
cron fixed not working semaphore in asyncservice (we are not supporting table locks anymore / since 1.2) 2007-07-26 09:23:10 +00:00
doc fix typo asterix -> asterisk :-) 2008-02-12 19:44:20 +00:00
images This is the image ContactCenter uses for dJSWin instantiation... 2004-11-05 22:49:59 +00:00
inc eGW wide index over all applications (superindex) 2008-03-08 21:51:12 +00:00
js Enabling the new prefs & admin settings in fckeditor html class function 2007-12-20 06:15:56 +00:00
setup hooks to create, rename or delete user+group home-dirs (you need to run Admin >> register hooks!) 2008-02-27 10:20:48 +00:00
templates enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications 2008-01-30 18:58:00 +00:00
templatesSavant2/default Replace <?= with <?php echo 2007-05-13 17:50:52 +00:00
tests added checks for updates of text and blob columns 2004-09-19 10:38:11 +00:00
addressbook.php new email-address-selection popup for felamimail 2006-06-16 04:45:55 +00:00