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';
19 function staticGet($k, $v = NULL)
21 return DB_DataObject::staticGet('T_DBO_Caso_de_prueba', $k, $v);
24 // now define your table structure.
25 // key is column name, value is type
29 'id' => DB_DATAOBJECT_INT,
30 'ejercicio_id' => DB_DATAOBJECT_INT,
31 'nombre' => DB_DATAOBJECT_STR,
32 'privado' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL,
33 'activo' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL,
34 'parametros' => DB_DATAOBJECT_STR,
35 'salidas' => DB_DATAOBJECT_STR,
39 // now define the keys.