original_string: public function validateFileCollectionItem($file_id)
      {
          $file = $this->file->get($file_id);
  
          if (empty($file)) {
              return $this->translation->text('@name is unavailable', array(
                  '@name' => $this->translation->text('File')));
          }
  
          return true;
      }
code: public function validateFileCollectionItem($file_id)
      {
          $file = $this->file->get($file_id);
  
          if (empty($file)) {
              return $this->translation->text('@name is unavailable', array(
                  '@name' => $this->translation->text('File')));
          }
  
          return true;
      }
code_tokens: public function validateFileCollectionItem ( $ file_id ) { $ file = $ this -> file -> get ( $ file_id ) ; if ( empty ( $ file ) ) { return $ this -> translation -> text ( '@name is unavailable' , array ( '@name' => $ this -> translation -> text ( 'File' ) ) ) ; } return true ; }
docstring: Validates file collection item. Hook callback
  @param integer $file_id
  @return boolean|string
docstring_tokens: Validates file collection item . Hook callback