Exemplo n.º 1
0
function qa_recalc_transition(&$state, $operation)
{
    $length = qa_recalc_stage_length($operation);
    $next = QA_FINAL_EXTERNAL_USERS && $operation == 'dorecalcpoints_recalc' ? '' : 0;
    $done = 0;
    $state = $operation . "\t" . $length . "\t" . $next . "\t" . $done;
}
Exemplo n.º 2
0
function qa_recalc_transition(&$state, $operation)
{
    $state = $operation . ',' . qa_recalc_stage_length($operation) . ',0,0';
}