protected function controlAccessCheckout()
    {
        if (empty($this->data_cart['items'])) {
            $form = $this->render('checkout/form', array('admin' => $this->admin), true);
            $this->setData('checkout_form', $form);
            $this->output('checkout/checkout');
        }
    }
protected function controlAccessCheckout()
    {
        if (empty($this->data_cart['items'])) {
            $form = $this->render('checkout/form', array('admin' => $this->admin), true);
            $this->setData('checkout_form', $form);
            $this->output('checkout/checkout');
        }
    }
protected function controlAccessCheckout ( ) { if ( empty ( $ this -> data_cart [ 'items' ] ) ) { $ form = $ this -> render ( 'checkout/form' , array ( 'admin' => $ this -> admin ) , true ) ; $ this -> setData ( 'checkout_form' , $ form ) ; $ this -> output ( 'checkout/checkout' ) ; } }
Controls access to the checkout page
Controls access to the checkout page