DB_DATAOBJECT_INT, 'ejercicio_id' => DB_DATAOBJECT_INT, 'nombre' => DB_DATAOBJECT_STR, 'privado' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL, 'activo' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL, 'parametros' => DB_DATAOBJECT_STR, 'codigo_retorno' => DB_DATAOBJECT_INT, 'tiempo_cpu' => DB_DATAOBJECT_INT, ); } // now define the keys. function keys() { return array('id'); } } ?>