public function getValidValues($record = null, $args = null)
{
if ($validValues = $this->get('validValues')) {
return Utils::evaluate($validValues, array($record, $args));
} elseif ($builder = $this->get('validValueBuilder')) {
return Utils::evaluate($builder, array($record, $args));
}
}