protected function setTitleEditReview()
    {
        if (isset($this->data_review['review_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->text('Review')));
        } else {
            $title = $this->text('Add review');
        }

        $this->setTitle($title);
    }
protected function setTitleEditReview()
    {
        if (isset($this->data_review['review_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->text('Review')));
        } else {
            $title = $this->text('Add review');
        }

        $this->setTitle($title);
    }
protected function setTitleEditReview ( ) { if ( isset ( $ this -> data_review [ 'review_id' ] ) ) { $ title = $ this -> text ( 'Edit %name' , array ( '%name' => $ this -> text ( 'Review' ) ) ) ; } else { $ title = $ this -> text ( 'Add review' ) ; } $ this -> setTitle ( $ title ) ; }
Sets title on the edit review page
Sets title on the edit review page