public function __get($prop)
{
if (strpos($prop, 'column') === 0) {
$field = lcfirst(substr($prop, 6));
if (!property_exists($this, $field)) {
throw new BadMethodCallException(sprintf('Property "%s" does not exist in the class "%s".', $prop, get_class($this)));
}
return $this->_column($field);
}
return parent::__get($prop);
}