1 <?php // vim: set binary noeol et sts=4 sw=4 :
4 require_once 'DB/DataObject.php';
6 class T_DBO_Caso_de_prueba extends DB_DataObject
8 var $_database = 'taller';
9 var $__table = 'caso_de_prueba';
20 function staticGet($k, $v = NULL)
22 return DB_DataObject::staticGet('T_DBO_Caso_de_prueba', $k, $v);
25 // now define your table structure.
26 // key is column name, value is type
30 'id' => DB_DATAOBJECT_INT,
31 'ejercicio_id' => DB_DATAOBJECT_INT,
32 'nombre' => DB_DATAOBJECT_STR,
33 'privado' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL,
34 'activo' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL,
35 'parametros' => DB_DATAOBJECT_STR,
36 'codigo_retorno' => DB_DATAOBJECT_INT,
37 'tiempo_cpu' => DB_DATAOBJECT_INT,
41 // now define the keys.