original_string: public function checkoutHTML()
      {
          if (empty($this->coObjects)) {
              $this->initCheckout();
          }
          $dir = dirname(__FILE__);
  
          //Require the CheckoutHTML interface/abstract class
          include_once $dir.'/checkout/checkouthtml.intf.php';
  
          //Iterate over all .class.php files in
          $html = "\n";
          foreach ($this->coObjects as $cObj) {
              if (!self::$debug) {
                  ob_start();
              }
              if ($cObj instanceof CheckoutHTML) {
                  $html .= $cObj->toHTML() . "\n";
              }
              if (!self::$debug) {
                  ob_end_clean();
              }
          }
  
          return $html;
      }
code: public function checkoutHTML()
      {
          if (empty($this->coObjects)) {
              $this->initCheckout();
          }
          $dir = dirname(__FILE__);
  
          //Require the CheckoutHTML interface/abstract class
          include_once $dir.'/checkout/checkouthtml.intf.php';
  
          //Iterate over all .class.php files in
          $html = "\n";
          foreach ($this->coObjects as $cObj) {
              if (!self::$debug) {
                  ob_start();
              }
              if ($cObj instanceof CheckoutHTML) {
                  $html .= $cObj->toHTML() . "\n";
              }
              if (!self::$debug) {
                  ob_end_clean();
              }
          }
  
          return $html;
      }
code_tokens: public function checkoutHTML ( ) { if ( empty ( $ this -> coObjects ) ) { $ this -> initCheckout ( ) ; } $ dir = dirname ( __FILE__ ) ; //Require the CheckoutHTML interface/abstract class include_once $ dir . '/checkout/checkouthtml.intf.php' ; //Iterate over all .class.php files in $ html = "\n" ; foreach ( $ this -> coObjects as $ cObj ) { if ( ! self :: $ debug ) { ob_start ( ) ; } if ( $ cObj instanceof CheckoutHTML ) { $ html .= $ cObj -> toHTML ( ) . "\n" ; } if ( ! self :: $ debug ) { ob_end_clean ( ) ; } } return $ html ; }
docstring: Returns the checkout page HTML from the checkout classes.
  
  <b>Note</b>:<br>
  This method uses output buffering to silence unwanted echoes.<br>
  
  @see CheckoutHTML
  
  @return string  A HTML string.
docstring_tokens: Returns the checkout page HTML from the checkout classes .