Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
/** * Set average power from array */ private function setAvgPowerFromArray() { $array = $this->TrainingObject->getArrayPower(); if (!empty($array) && max($array) > 30) { $array = array_filter($array, 'ParserAbstract__ArrayFilterForLowEntries'); $this->TrainingObject->setPower(round(array_sum($array) / count($array))); } }