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();
            }
        }
    }
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();
            }
        }
    }
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 ( ) ; } } }
Initializes the checkoutHTML objects.

@see Klarna::checkoutHTML()
@return void
Initializes the checkoutHTML objects .