示例#1
0
 /**
  * Get string to display this dataset value
  * @param \Runalyze\Dataset\Context $context
  * @return string
  */
 public function stringFor(Context $context)
 {
     if ($context->isRunning()) {
         return $context->dataview()->fitVO2maxEstimate();
     }
     return '';
 }
示例#2
0
 /**
  * Get string to display this dataset value
  * @param \Runalyze\Dataset\Context $context
  * @return string
  */
 public function stringFor(Context $context)
 {
     if ($context->isRunning()) {
         return $context->dataview()->jdIntensityWithStresscolor();
     }
     return '';
 }
示例#3
0
 /**
  * Get string to display this dataset value
  * @param \Runalyze\Dataset\Context $context
  * @return string
  */
 public function stringFor(Context $context)
 {
     if ($context->isRunning() && $context->dataview()->usedVdot() > 0) {
         return $context->dataview()->vdotIcon();
     }
     return '';
 }
示例#4
0
 /**
  * Get string to display this dataset value
  * @param \Runalyze\Dataset\Context $context
  * @return string
  */
 public function stringFor(Context $context)
 {
     if ($context->isRunning() && $context->dataview()->usedVdot() > 0) {
         if (!$context->activity()->usesVDOT()) {
             return '<span class="unimportant">' . $context->dataview()->vdot()->value() . '</span>';
         }
         return $context->dataview()->vdot()->value();
     }
     return '';
 }