original_string: public function getRelation($respondentId, $relationId)
      {
          $filter = array(
              'grr_id_respondent' => $respondentId,        // Just a safeguard to make sure we get only relations for this patient
              'grr_id'            => $relationId
          );
  
          $data = $this->loadFirst($filter);
  
          if (!$data) {
              $data = array();
          }
  
          $relationObject = $this->loader->getInstance('Model_RespondentRelationInstance', $this, $data);
  
          return $relationObject;
      }
code: public function getRelation($respondentId, $relationId)
      {
          $filter = array(
              'grr_id_respondent' => $respondentId,        // Just a safeguard to make sure we get only relations for this patient
              'grr_id'            => $relationId
          );
  
          $data = $this->loadFirst($filter);
  
          if (!$data) {
              $data = array();
          }
  
          $relationObject = $this->loader->getInstance('Model_RespondentRelationInstance', $this, $data);
  
          return $relationObject;
      }
code_tokens: public function getRelation ( $ respondentId , $ relationId ) { $ filter = array ( 'grr_id_respondent' => $ respondentId , // Just a safeguard to make sure we get only relations for this patient
   'grr_id' => $ relationId ) ; $ data = $ this -> loadFirst ( $ filter ) ; if ( ! $ data ) { $ data = array ( ) ; } $ relationObject = $ this -> loader -> getInstance ( 'Model_RespondentRelationInstance' , $ this , $ data ) ; return $ relationObject ; }
docstring: Return an object for a row of this model
  
  @param int $respondentId
  @param int $relationId
  @return \Gems_Model_RespondentRelationInstance
docstring_tokens: Return an object for a row of this model