/** * Returns a label identifying this step and (if applicable) repetition. * * @deprecated Use Round::label() instead. */ public function stepLabel($repetition = NULL) { $round = new Round($this, $repetition); return $round->label(); }
/** * Returns a key identifying where in $this->data table to find * group data for the given step and repetition. * * @see Step::stepLabel() * @param Step $step * @param int $repetition * @return string */ protected static function groupKey(Round $round) { return $round->label() . '_group'; }
/** Returns a key, unique to this round, under which we will save the StepVariables in Session->data. */ protected static function makeKey(Round $round) { return $round->label() . '_uservariables'; }