Changes between Version 3 and Version 4 of Dev_PHPCommons
- Timestamp:
- Aug 6, 2008 12:34:30 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Dev_PHPCommons
v3 v4 61 61 == Global objects and vars == 62 62 63 {{{ $IMAP }}} 63 {{{ $RCMAIL }}} 64 65 The main application object holding instances of all the 'global' objects like config, database and imap connections. 66 It's and instance of the ''rcmail'' class and can be obtained by calling {{{rcmail::get_instance()}}} 67 68 {{{ $IMAP }}} (deprecated, use {{{$RCMAIL->imap}}} instead) 64 69 65 70 This is a global instance of the rcube_imap class. It is created and initialized by Roundcube's startup function. 66 71 67 {{{ $OUTPUT }}} 72 {{{ $OUTPUT }}} (deprecated, use {{{$RCMAIL->output}}} instead) 68 73 69 74 A global instance of the rcube_template class. Use it to collect all kind of response data to be sent to the client after processing the script. 70 75 71 {{{ $DB }}} 76 {{{ $DB }}} (deprecated, use {{{$RCMAIL->get_dbh()}}} instead) 72 77 73 78 Use this global instance of the rcube_db class for all database communication. It is initialized by Roundcube's startup function. 74 79 75 {{{ $CONFIG }}} 80 {{{ $CONFIG }}} (deprecated, use {{{$RCMAIL->config}}} instead) 76 81 77 82 Global array containing all config parameters. It is loaded from the local config files and extended by the user specific settings.
