1 <?php // vim: set binary noeol et sts=4 sw=4 :
4 require_once 'DB/DataObject.php';
6 class T_DBO_Prueba extends DB_DataObject
8 var $_database = 'taller';
9 var $__table = 'prueba';
12 var $caso_de_prueba_id;
19 function staticGet($k, $v = NULL)
21 return DB_DataObject::staticGet('T_DBO_Prueba', $k, $v);
24 // now define your table structure.
25 // key is column name, value is type
29 'id' => DB_DATAOBJECT_INT,
30 'intento_id' => DB_DATAOBJECT_INT,
31 'caso_de_prueba_id' => DB_DATAOBJECT_INT,
32 'inicio' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
33 'fin' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
34 'pasada' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL,
35 'observaciones' => DB_DATAOBJECT_STR + DB_DATAOBJECT_TXT,
39 // now define the keys.