/** * 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 ''; }
/** * 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 ''; }
/** * 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 ''; }
/** * 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 ''; }