egroupware_official/phpgwapi/inc
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
..
adodb [Oracle Support] 2007-10-21 07:53:22 +00:00
fpdf add pdml class as fpdf extension and plus API wrapper the pdml class 2007-01-15 15:35:00 +00:00
horde Circumvent a bug in some distributions of apache/mod_php, where an apache 2008-02-19 09:55:59 +00:00
savant2
class.about.inc.php new about page from Sebastian Ebeling 2007-05-26 19:06:12 +00:00
class.accounts_ldap.inc.php fixed bug introduced by Connys performance stuff: function returned limited resultset with unset or empty start parameter 2008-03-06 16:11:49 +00:00
class.accounts_sql.inc.php reworked the accounts class, to be able to instanciate both backends (ldap&sql), as well as specify the config (account_repository, ldap_*) 2007-12-13 02:32:44 +00:00
class.accounts.inc.php added singelton pattern to the accounts class and added function to set accountId without needing to call the construtor 2008-02-08 11:16:09 +00:00
class.acl.inc.php small bugfix while getting the grants, since analyzing grants for read/write access in infolog returned less results than expected. this was 2008-01-31 12:23:46 +00:00
class.applications.inc.php few slight modifications to better cater for the multi-domain administration 2008-01-09 02:01:08 +00:00
class.arrayfunctions.inc.php
class.asyncservice.inc.php fixed not working semaphore in asyncservice (we are not supporting table locks anymore / since 1.2) 2007-07-26 09:22:28 +00:00
class.auth_ads.inc.php deny ADS logins with empty passwords, in case anonymous search/bind is enabled on ADS 2007-06-08 15:42:07 +00:00
class.auth_http.inc.php
class.auth_ldap.inc.php not using gidNumber for autocreating accounts, as it means nothing on our system and it stops the group selected in setup from beeing used 2007-10-28 06:04:16 +00:00
class.auth_mail.inc.php fix to NOT use tls for IMAP 2006-06-07 06:49:08 +00:00
class.auth_nis.inc.php
class.auth_pam.inc.php
class.auth_sql.inc.php
class.auth_sqlssl.inc.php "fix for bug reported on the german list" 2007-06-13 15:37:10 +00:00
class.auth.inc.php "encryption" type plain for sql and ldap, to allow to store the passwords readable 2007-11-06 11:16:34 +00:00
class.bolink.inc.php reworked link classes: 2008-03-08 21:41:20 +00:00
class.browser.inc.php worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
class.categories.inc.php fix the "to many categories" problem with ldap backend 2008-02-12 15:55:26 +00:00
class.common.inc.php "fixed bug introduced by my commit r24522: egw could not deal with LDAP Ids" 2007-10-17 14:40:02 +00:00
class.config.inc.php fixed an error with the initialisation of the static $db var (under LDAP and php4-restore sessions) and or by using the global db object without cloning it 2008-03-06 11:43:45 +00:00
class.contacts.inc.php "shut the debug message in error_log, when calling the old contact.read() method instead of contacts::search(), as users seem to think it's an error-message" 2007-05-18 17:47:51 +00:00
class.contenthistory.inc.php SyncML fixes 2006-05-17 03:33:50 +00:00
class.country.inc.php changed search order and added some caching, to minimize db-accesses in country_code 2007-07-18 06:09:26 +00:00
class.creditspoint.inc.php refund action added 2007-03-08 09:10:52 +00:00
class.crypto.inc.php
class.db_backup.inc.php global bytes() function returning the number of bytes of a string, independent of mbstring available and mbstring.func_overload set 2007-09-29 09:17:42 +00:00
class.db.inc.php
class.dragdrop.inc.php dragdrop class: with addCustom() now custom DHTML objects are possible, not just draggables and droppables 2007-01-05 23:07:35 +00:00
class.egw_datetime.inc.php was not fully working with half-hour timezone, like eg. used in australia 2008-01-19 05:29:50 +00:00
class.egw_db.inc.php static strip_array_keys method to strip a colum-prefix from a result, docu update about depricated functions which use the internal result-set 2008-03-08 21:31:12 +00:00
class.egw_exception.inc.php new egw_exception_db_not_unique, to be used when a unique constraing got violated, eg while saving a row 2007-12-20 02:42:29 +00:00
class.egw_framework.inc.php Extended notification-app and egwpopup. Added winpopup-backend and email-backend. PHP5.1+ is now mandatory in trunk. For more infos look at the egw-developers list. 2007-11-22 08:29:16 +00:00
class.egw_index.inc.php eGW wide index over all applications (superindex) 2008-03-08 21:51:12 +00:00
class.egw_link.inc.php reworked link classes: 2008-03-08 21:41:20 +00:00
class.egw_vfs.inc.php search, lettersearch, merge content of subdirs (recursive display) 2008-03-03 12:16:11 +00:00
class.egw.inc.php using the singleton passtern to get a instance of the accounts class and call the setAccountId function to set the accountId 2008-02-08 11:20:50 +00:00
class.error.inc.php
class.errorlog.inc.php fix 2006-06-14 23:43:53 +00:00
class.graphics.inc.php
class.historylog.inc.php fixed not working delete 2006-08-12 08:46:20 +00:00
class.hooks.inc.php
class.html.inc.php Add a check on pngfix preference so the internal function doesn't always preempt pngfix.js settings 2008-01-09 18:15:42 +00:00
class.http_dav_client.inc.php
class.http.inc.php global bytes() function returning the number of bytes of a string, independent of mbstring available and mbstring.func_overload set 2007-09-29 09:17:42 +00:00
class.iface_stream_wrapper.inc.php - unlink/mkdir/rmdir methods 2008-01-30 06:47:53 +00:00
class.interserver.inc.php
class.javascript.inc.php preserve already correctly quoted single quotes 2006-10-22 11:35:58 +00:00
class.jscalendar.inc.php fixed missing translation of monthnames after removing the asterisk prefix for untranslated phrases 2007-05-22 18:02:41 +00:00
class.kses.inc.php added a new option, to filter the allowed attribute values by regular expression 2006-08-29 18:45:17 +00:00
class.ldap.inc.php fix for bug #518: 2007-05-08 11:44:43 +00:00
class.ldapserverinfo.inc.php new classes to detect ldap capabilities 2006-04-26 06:01:21 +00:00
class.listbox.inc.php
class.log.inc.php
class.mime_magic.inc.php added OpenOffice Fileextensions to class.mime_magic.inc.php; 2007-07-31 13:58:15 +00:00
class.net_http_client.inc.php
class.network.inc.php worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
class.nextmatchs.inc.php The formated_list function in phpgwapi/inc/class.categories.inc.php was 2007-11-27 17:14:54 +00:00
class.oldvfs_stream_wrapper.inc.php WebDAV can use now the new stream wrapper interface, thought its switched off by default in filemanager/webdav.php (see the comments at the end of the file) 2008-02-18 06:43:49 +00:00
class.oldvfs_webdav_server.inc.php removed unnecessary checkAuth function, because the regular eGW session cookie got not recogniced and all checks are done by the header include anyway 2008-03-04 08:33:08 +00:00
class.PclZip.inc.php
class.pdf.inc.php
class.pdmlwrapper.inc.php add pdml class as fpdf extension and plus API wrapper the pdml class 2007-01-15 15:35:00 +00:00
class.phpmailer.inc.php calculation of rfc822 dates was not working with half hour time zones used eg. in Australia, set smtp timeout to 30s, as there are multiple reports 10s is to less 2007-09-05 07:50:10 +00:00
class.portalbox.inc.php Upps portalbox in home also used phpgw_info based themes 2006-12-17 11:45:09 +00:00
class.preferences.inc.php some more stupid php5.2 fixes 2006-12-21 14:10:59 +00:00
class.resultbox.inc.php
class.rssparser.inc.php
class.schema_proc.inc.php "added a query log, independent of the db used" 2007-10-19 05:48:52 +00:00
class.send.inc.php bugfix suggested by <martinjcole-AT-gmail.com> 2006-04-24 20:20:48 +00:00
class.service_contacts.inc.php
class.service_notes.inc.php
class.service_schedule.inc.php
class.service.inc.php
class.sessions_db.inc.php - setting the cookie path, allows to login to different eGW installs (if you want to use this together with the 1.2, you have to copy the 3 modified session-classes there too) 2006-09-24 06:53:34 +00:00
class.sessions_php4.inc.php fixed warning, if session dir is not listable 2007-12-15 16:19:38 +00:00
class.sessions.inc.php using the singleton passtern to get a instance of the accounts class and call the setAccountId function to set the accountId 2008-02-08 11:20:50 +00:00
class.smbhash.inc.php
class.smtp.php worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
class.soap_client.inc.php
class.soap_parser.inc.php
class.soap_server.inc.php
class.soapclient.inc.php
class.soapmsg.inc.php
class.soapval.inc.php
class.solink.inc.php reworked link classes: 2008-03-08 21:41:20 +00:00
class.sqlfs_stream_wrapper.inc.php first work on UI for a new filemanager and some vfs bugfixes and improvments 2008-03-02 21:44:15 +00:00
class.Template.inc.php "using exception instead of exit, thought I can not yet remove the options to ignore the fatal error, as they might be used" 2007-12-09 07:37:16 +00:00
class.tplsavant2.inc.php - More information why people have no access to app. Users often think they did not log in 2007-03-29 21:01:11 +00:00
class.translation.inc.php prevent the mb_convert_encoding to return with an empty string, for the failing of the conversion in that function results in an empty string as 2008-01-31 12:31:18 +00:00
class.uiaccountsel.inc.php use the global instance of the accountsClass and create a own connection to the accounts backend 2008-02-08 11:21:32 +00:00
class.validator.inc.php
class.vcard.inc.php
class.vfs_customfields.inc.php cloning the DB-object, maybe that fixes some of the problems the people on the list have with VFS2 and PHP5 2006-03-22 06:58:49 +00:00
class.vfs_dav.inc.php for https:// url the port was detected as 80 2006-04-20 06:03:02 +00:00
class.vfs_home_hooks.inc.php hooks to create, rename or delete user+group home-dirs (you need to run Admin >> register hooks!) 2008-02-27 10:33:48 +00:00
class.vfs_home.inc.php "VFS bugfixes: 2007-04-29 12:06:17 +00:00
class.vfs_mimetypes.inc.php cloning the DB-object, maybe that fixes some of the problems the people on the list have with VFS2 and PHP5 2006-03-22 06:58:49 +00:00
class.vfs_prefixes.inc.php cloning the DB-object, maybe that fixes some of the problems the people on the list have with VFS2 and PHP5 2006-03-22 06:58:49 +00:00
class.vfs_sharing.inc.php cloning the DB-object, maybe that fixes some of the problems the people on the list have with VFS2 and PHP5 2006-03-22 06:58:49 +00:00
class.vfs_sql2.inc.php cloning the DB-object, maybe that fixes some of the problems the people on the list have with VFS2 and PHP5 2006-03-22 06:58:49 +00:00
class.vfs_sql.inc.php new parameter to set the date/time for touch, default the the current time 2008-01-30 06:43:55 +00:00
class.vfs_stream_wrapper.inc.php set old vfs as default again for easier testing of the new UI 2008-03-03 12:17:08 +00:00
class.vfs_versionsystem.inc.php fixed reference with clone, thanks to jpingle <jim-AT-hpcisp.com> from the user-list 2006-03-24 17:26:27 +00:00
class.vfs_webdav_server.inc.php removed unnecessary checkAuth function, because the regular eGW session cookie got not recogniced and all checks are done by the header include anyway 2008-03-04 08:33:08 +00:00
class.vfs.inc.php some more stupid php5.2 fixes 2006-12-22 06:33:01 +00:00
class.wsdl.inc.php
class.xml.inc.php worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
class.xmlrpc_client.inc.php
class.xmlrpc_server_epi.inc.php global bytes() function returning the number of bytes of a string, independent of mbstring available and mbstring.func_overload set 2007-09-29 09:17:42 +00:00
class.xmlrpc_server_php.inc.php global bytes() function returning the number of bytes of a string, independent of mbstring available and mbstring.func_overload set 2007-09-29 09:17:42 +00:00
class.xmlrpc_server.inc.php
class.xmlrpcmsg.inc.php
class.xmlrpcresp.inc.php Correct spelling of function name. More to come... 2006-06-15 11:38:21 +00:00
class.xmlrpcval.inc.php Correct spelling of function name. More to come... 2006-06-15 11:38:21 +00:00
common_functions.inc.php checking if apparray exist in __autoload, before looping through 2008-03-07 10:18:17 +00:00
functions.inc.php fixing a possible problem in the fix. accidently commented out the line that stops including files after framework inclusion. It does cause 2008-01-28 13:18:35 +00:00
jscalendar-setup.php fixed missing translation of monthnames after removing the asterisk prefix for untranslated phrases 2007-05-22 18:02:41 +00:00
memcache.inc.php Mutexed memcache handler. Traps race and memcache memory conditions on large scale Fastcgi farms. 2008-02-25 14:13:45 +00:00
phpgw_mime.types "patch #177: mime-type for wordperfect" 2007-05-03 13:46:19 +00:00
soap_functions.inc.php
soaplib.soapinterop.php
xajax.inc.php quitened these stupid php5.2 warnings: it seems stripos has the same problems as strstr and stristr, there for I changed everything to @stripos 2006-12-19 07:12:49 +00:00
xajaxResponse.inc.php quitened these stupid php5.2/mb_string warnings 2006-12-19 07:34:29 +00:00
xml_functions.inc.php global bytes() function returning the number of bytes of a string, independent of mbstring available and mbstring.func_overload set 2007-09-29 09:17:42 +00:00
xmlrpc.interop.php