public function __get($field)
{
switch ($field) {
case 'cmb_id':
case 'meta_box':
case 'updated':
case 'has_columns':
return $this->{$field};
case 'object_id':
return $this->object_id();
default:
throw new Exception('Invalid ' . __CLASS__ . ' property: ' . $field);
}
}