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);
    }
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);
    }
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 ) ; }
Sets title on the checkout page
Sets title on the checkout page