コード例 #1
0
ファイル: step.php プロジェクト: nmalkin/basset
 /** 
  * 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();
 }
コード例 #2
0
ファイル: session.php プロジェクト: nmalkin/basset
 /**
  * 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';
 }
コード例 #3
0
ファイル: stepvariables.php プロジェクト: nmalkin/basset
 /** 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';
 }