original_string: protected function setTitleEditCheckout()
      {
          if ($this->admin === 'clone') {
              $text = $this->text('Cloning order #@num', array('@num' => $this->data_order['order_id']));
          } else if ($this->admin === 'add') {
              $text = $this->text('Add order for user %name', array('%name' => $this->data_user['name']));
          } else {
              $text = $this->text('Checkout');
          }
  
          $this->setTitle($text);
      }
code: protected function setTitleEditCheckout()
      {
          if ($this->admin === 'clone') {
              $text = $this->text('Cloning order #@num', array('@num' => $this->data_order['order_id']));
          } else if ($this->admin === 'add') {
              $text = $this->text('Add order for user %name', array('%name' => $this->data_user['name']));
          } else {
              $text = $this->text('Checkout');
          }
  
          $this->setTitle($text);
      }
code_tokens: protected function setTitleEditCheckout ( ) { if ( $ this -> admin === 'clone' ) { $ text = $ this -> text ( 'Cloning order #@num' , array ( '@num' => $ this -> data_order [ 'order_id' ] ) ) ; } else if ( $ this -> admin === 'add' ) { $ text = $ this -> text ( 'Add order for user %name' , array ( '%name' => $ this -> data_user [ 'name' ] ) ) ; } else { $ text = $ this -> text ( 'Checkout' ) ; } $ this -> setTitle ( $ text ) ; }
docstring: Sets title on the checkout page
docstring_tokens: Sets title on the checkout page