Ejemplo n.º 1
0
 /** 
  * 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();
 }
Ejemplo n.º 2
0
 /**
  * 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';
 }
Ejemplo n.º 3
0
 /** 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';
 }