You are here

function progress_set_progress_start in Progress 7

Same name and namespace in other branches
  1. 8 progress.module \progress_set_progress_start()
  2. 6 progress.module \progress_set_progress_start()

Set progress start time

Parameters

string $name: Name of progress

float $start: Start time of progress

File

./progress.module, line 92
Progress framework for keeping track of progresses

Code

function progress_set_progress_start($name, $start) {
  return db_update('progress')
    ->fields(array(
    'start_stamp' => $start,
  ))
    ->condition('name', $name)
    ->execute();
}