protected function getFluidString($side, $notrecorded = true)
{
// we check that dry is not null here, because if it is then it indicates the OCT
// was recorded prior to the introduction of the fluid fields
if ($this->{'has' . ucfirst($side)}() && $this->{$side . '_dry'} !== null) {
if ($this->{$side . '_dry'}) {
return 'Dry';
} else {
$fts = array();
foreach ($this->{$side . '_fluidtypes'} as $ft) {
$fts[] = $ft->name;
}
return $this->{$side . '_fluidstatus'}->name . ' ' . implode(', ', $fts);
}
} else {
return 'Not recorded';
}
}