protected function gDisplayValue() { if ($this->completed) { return 'Complete'; } if ($this->inProgress) { return $this->statistic->displayValue . ' / ' . $this->threshold; } return $this->threshold; }