public function get_by_id($id = false)
{
$table = $this->table;
$params['table'] = $table;
$params['one'] = true;
$params['id'] = intval($id);
$item = $this->app->database_manager->get($params);
if (is_array($item) and isset($item['custom_fields_data']) and $item['custom_fields_data'] != '') {
$item = $this->app->format->render_item_custom_fields_data($item);
}
return $item;
}