function globallink_webform_get_other_row in GlobalLink Connect for Drupal 7.5
Same name and namespace in other branches
- 7.6 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 535
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;
}
}