original_string: protected function setFile($file_id)
      {
          $this->data_file = array();
  
          if (is_numeric($file_id)) {
  
              $conditions = array(
                  'language' => 'und',
                  'file_id' => $file_id
              );
  
              $this->data_file = $this->file->get($conditions);
  
              if (empty($this->data_file)) {
                  $this->outputHttpStatus(404);
              }
  
              $this->prepareFile($this->data_file);
          }
      }
code: protected function setFile($file_id)
      {
          $this->data_file = array();
  
          if (is_numeric($file_id)) {
  
              $conditions = array(
                  'language' => 'und',
                  'file_id' => $file_id
              );
  
              $this->data_file = $this->file->get($conditions);
  
              if (empty($this->data_file)) {
                  $this->outputHttpStatus(404);
              }
  
              $this->prepareFile($this->data_file);
          }
      }
code_tokens: protected function setFile ( $ file_id ) { $ this -> data_file = array ( ) ; if ( is_numeric ( $ file_id ) ) { $ conditions = array ( 'language' => 'und' , 'file_id' => $ file_id ) ; $ this -> data_file = $ this -> file -> get ( $ conditions ) ; if ( empty ( $ this -> data_file ) ) { $ this -> outputHttpStatus ( 404 ) ; } $ this -> prepareFile ( $ this -> data_file ) ; } }
docstring: Sets a file data
  @param integer $file_id
docstring_tokens: Sets a file data