original_string: 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');
          }
      }
code: 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');
          }
      }
code_tokens: 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' ) ; } }
docstring: Controls access to the checkout page
docstring_tokens: Controls access to the checkout page