unitarray['u'.$i]; $maxTrain = $technology->maxUnit($i); $trainlist = $technology->getTrainingList(20); ?>