Changes between Version 3 and Version 4 of Dev_PHPCommons


Ignore:
Timestamp:
Aug 6, 2008 12:34:30 PM (5 years ago)
Author:
thomasb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Dev_PHPCommons

    v3 v4  
    6161== Global objects and vars == 
    6262 
    63 {{{ $IMAP }}} 
     63{{{ $RCMAIL }}} 
     64 
     65The main application object holding instances of all the 'global' objects like config, database and imap connections. 
     66It's and instance of the ''rcmail'' class and can be obtained by calling {{{rcmail::get_instance()}}} 
     67 
     68{{{ $IMAP }}} (deprecated, use {{{$RCMAIL->imap}}} instead) 
    6469 
    6570This is a global instance of the rcube_imap class. It is created and initialized by Roundcube's startup function. 
    6671 
    67 {{{ $OUTPUT }}} 
     72{{{ $OUTPUT }}} (deprecated, use {{{$RCMAIL->output}}} instead) 
    6873 
    6974A 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. 
    7075 
    71 {{{ $DB }}} 
     76{{{ $DB }}} (deprecated, use {{{$RCMAIL->get_dbh()}}} instead) 
    7277 
    7378Use this global instance of the rcube_db class for all database communication. It is initialized by Roundcube's startup function. 
    7479 
    75 {{{ $CONFIG }}} 
     80{{{ $CONFIG }}} (deprecated, use {{{$RCMAIL->config}}} instead) 
    7681 
    7782Global array containing all config parameters. It is loaded from the local config files and extended by the user specific settings.