protected function addReview()
    {
        $this->controlAccess('review_add');

        if ($this->review->add($this->getSubmitted())) {
            $this->redirect('admin/content/review', $this->text('Review has been added'), 'success');
        }

        $this->redirect('', $this->text('Review has not been added'), 'warning');
    }
protected function addReview()
    {
        $this->controlAccess('review_add');

        if ($this->review->add($this->getSubmitted())) {
            $this->redirect('admin/content/review', $this->text('Review has been added'), 'success');
        }

        $this->redirect('', $this->text('Review has not been added'), 'warning');
    }
protected function addReview ( ) { $ this -> controlAccess ( 'review_add' ) ; if ( $ this -> review -> add ( $ this -> getSubmitted ( ) ) ) { $ this -> redirect ( 'admin/content/review' , $ this -> text ( 'Review has been added' ) , 'success' ) ; } $ this -> redirect ( '' , $ this -> text ( 'Review has not been added' ) , 'warning' ) ; }
Adds a new review
Adds a new review