original_string: protected function _initOb()
      {
          register_shutdown_function(array($this, 'shutdown'));
  
          $this->_alerts = new Horde_Imap_Client_Base_Alerts();
          // @todo: Remove (BC)
          $this->_alerts->attach($this);
  
          $this->_debug = ($debug = $this->getParam('debug'))
              ? new Horde_Imap_Client_Base_Debug($debug)
              : new Horde_Support_Stub();
  
          // @todo: Remove (BC purposes)
          if (isset($this->_init['capability']) &&
              !is_object($this->_init['capability'])) {
              $this->_setInit('capability');
          }
  
          foreach (array('capability', 'search_charset') as $val) {
              if (isset($this->_init[$val])) {
                  $this->_init[$val]->attach($this);
              }
          }
      }
code: protected function _initOb()
      {
          register_shutdown_function(array($this, 'shutdown'));
  
          $this->_alerts = new Horde_Imap_Client_Base_Alerts();
          // @todo: Remove (BC)
          $this->_alerts->attach($this);
  
          $this->_debug = ($debug = $this->getParam('debug'))
              ? new Horde_Imap_Client_Base_Debug($debug)
              : new Horde_Support_Stub();
  
          // @todo: Remove (BC purposes)
          if (isset($this->_init['capability']) &&
              !is_object($this->_init['capability'])) {
              $this->_setInit('capability');
          }
  
          foreach (array('capability', 'search_charset') as $val) {
              if (isset($this->_init[$val])) {
                  $this->_init[$val]->attach($this);
              }
          }
      }
code_tokens: protected function _initOb ( ) { register_shutdown_function ( array ( $ this , 'shutdown' ) ) ; $ this -> _alerts = new Horde_Imap_Client_Base_Alerts ( ) ; // @todo: Remove (BC) $ this -> _alerts -> attach ( $ this ) ; $ this -> _debug = ( $ debug = $ this -> getParam ( 'debug' ) ) ? new Horde_Imap_Client_Base_Debug ( $ debug ) : new Horde_Support_Stub ( ) ; // @todo: Remove (BC purposes) if ( isset ( $ this -> _init [ 'capability' ] ) && ! is_object ( $ this -> _init [ 'capability' ] ) ) { $ this -> _setInit ( 'capability' ) ; } foreach ( array ( 'capability' , 'search_charset' ) as $ val ) { if ( isset ( $ this -> _init [ $ val ] ) ) { $ this -> _init [ $ val ] -> attach ( $ this ) ; } } }
docstring: Do initialization tasks.
docstring_tokens: Do initialization tasks .