original_string: protected function initCheckout()
      {
          $dir = dirname(__FILE__);
  
          //Require the CheckoutHTML interface/abstract class
          include_once $dir.'/checkout/checkouthtml.intf.php';
  
          //Iterate over all .class.php files in checkout/
          foreach (glob($dir.'/checkout/*.class.php') as $checkout) {
              if (!self::$debug) {
                  ob_start();
              }
              include_once $checkout;
  
              $className = basename($checkout, '.class.php');
              $cObj = new $className;
  
              if ($cObj instanceof CheckoutHTML) {
                  $cObj->init($this, $this->_eid);
                  $this->coObjects[$className] = $cObj;
              }
  
              if (!self::$debug) {
                  ob_end_clean();
              }
          }
      }
code: protected function initCheckout()
      {
          $dir = dirname(__FILE__);
  
          //Require the CheckoutHTML interface/abstract class
          include_once $dir.'/checkout/checkouthtml.intf.php';
  
          //Iterate over all .class.php files in checkout/
          foreach (glob($dir.'/checkout/*.class.php') as $checkout) {
              if (!self::$debug) {
                  ob_start();
              }
              include_once $checkout;
  
              $className = basename($checkout, '.class.php');
              $cObj = new $className;
  
              if ($cObj instanceof CheckoutHTML) {
                  $cObj->init($this, $this->_eid);
                  $this->coObjects[$className] = $cObj;
              }
  
              if (!self::$debug) {
                  ob_end_clean();
              }
          }
      }
code_tokens: protected function initCheckout ( ) { $ dir = dirname ( __FILE__ ) ; //Require the CheckoutHTML interface/abstract class include_once $ dir . '/checkout/checkouthtml.intf.php' ; //Iterate over all .class.php files in checkout/ foreach ( glob ( $ dir . '/checkout/*.class.php' ) as $ checkout ) { if ( ! self :: $ debug ) { ob_start ( ) ; } include_once $ checkout ; $ className = basename ( $ checkout , '.class.php' ) ; $ cObj = new $ className ; if ( $ cObj instanceof CheckoutHTML ) { $ cObj -> init ( $ this , $ this -> _eid ) ; $ this -> coObjects [ $ className ] = $ cObj ; } if ( ! self :: $ debug ) { ob_end_clean ( ) ; } } }
docstring: Initializes the checkoutHTML objects.
  
  @see Klarna::checkoutHTML()
  @return void
docstring_tokens: Initializes the checkoutHTML objects .