1 <?php // vim: set binary noeol et sts=4 sw=4 :
4 require_once 'DB/DataObject.php';
6 class T_DBO_Intento extends DB_DataObject
8 var $_database = 'taller';
9 var $__table = 'intento';
23 function staticGet($k, $v = NULL)
25 return DB_DataObject::staticGet('T_DBO_Intento', $k, $v);
28 // now define your table structure.
29 // key is column name, value is type
33 'id' => DB_DATAOBJECT_INT,
34 'inscripto_id' => DB_DATAOBJECT_INT,
35 'entrega_id' => DB_DATAOBJECT_INT,
36 'numero' => DB_DATAOBJECT_INT,
37 'llegada' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
38 'inicio_prueba' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
39 'fin_prueba' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
40 'compila_ok' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL,
41 'notificado' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL,
42 'mail_respuesta' => DB_DATAOBJECT_STR,
43 'observaciones' => DB_DATAOBJECT_STR + DB_DATAOBJECT_TXT,
47 // now define the keys.