You are here

function globallink_webform_get_other_row in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.5 globallink_webform/globallink_webform.inc \globallink_webform_get_other_row()

Gets other webform row.

Parameters

int $row_id: The id of the row.

Return value

object Other webform row.

1 call to globallink_webform_get_other_row()
globallink_webform_cancel_records in globallink_webform/globallink_webform.inc
Cancels webform records.

File

globallink_webform/globallink_webform.inc, line 631

Code

function globallink_webform_get_other_row($row_id) {
  $result = db_select('globallink_core_webform', 'tcw')
    ->fields('tcw')
    ->condition('rid', $row_id, '=')
    ->execute();
  foreach ($result as $row) {
    return $row;
  }
}