original_string: protected function setImageStyle($style_id)
      {
          $this->data_imagestyle = array();
  
          if (is_numeric($style_id)) {
  
              $this->data_imagestyle = $this->image_style->get($style_id);
  
              if (empty($this->data_imagestyle)) {
                  $this->outputHttpStatus(404);
              }
          }
  
          $this->prepareImageStyle($this->data_imagestyle);
      }
code: protected function setImageStyle($style_id)
      {
          $this->data_imagestyle = array();
  
          if (is_numeric($style_id)) {
  
              $this->data_imagestyle = $this->image_style->get($style_id);
  
              if (empty($this->data_imagestyle)) {
                  $this->outputHttpStatus(404);
              }
          }
  
          $this->prepareImageStyle($this->data_imagestyle);
      }
code_tokens: protected function setImageStyle ( $ style_id ) { $ this -> data_imagestyle = array ( ) ; if ( is_numeric ( $ style_id ) ) { $ this -> data_imagestyle = $ this -> image_style -> get ( $ style_id ) ; if ( empty ( $ this -> data_imagestyle ) ) { $ this -> outputHttpStatus ( 404 ) ; } } $ this -> prepareImageStyle ( $ this -> data_imagestyle ) ; }
docstring: Sets an image style data
  @param integer $style_id
docstring_tokens: Sets an image style data