protected function setReview($review_id)
    {
        $this->data_review = array();

        if (is_numeric($review_id)) {

            $this->data_review = $this->review->get($review_id);

            if (empty($this->data_review)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setReview($review_id)
    {
        $this->data_review = array();

        if (is_numeric($review_id)) {

            $this->data_review = $this->review->get($review_id);

            if (empty($this->data_review)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setReview ( $ review_id ) { $ this -> data_review = array ( ) ; if ( is_numeric ( $ review_id ) ) { $ this -> data_review = $ this -> review -> get ( $ review_id ) ; if ( empty ( $ this -> data_review ) ) { $ this -> outputHttpStatus ( 404 ) ; } } }
Set a review data
@param integer $review_id
Set a review data