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';
24 function staticGet($k, $v = NULL)
26 return DB_DataObject::staticGet('T_DBO_Intento', $k, $v);
29 // now define your table structure.
30 // key is column name, value is type
34 'id' => DB_DATAOBJECT_INT,
35 'inscripto_id' => DB_DATAOBJECT_INT,
36 'entrega_id' => DB_DATAOBJECT_INT,
37 'numero' => DB_DATAOBJECT_INT,
38 'llegada' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
39 'inicio_compila' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
40 'fin_compila' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
41 'inicio_pruebas' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
42 'fin_pruebas' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
43 'compila' => DB_DATAOBJECT_INT + DB_DATAOBJECT_BOOL,
44 'mail_respuesta' => DB_DATAOBJECT_STR,
45 'observaciones' => DB_DATAOBJECT_STR + DB_DATAOBJECT_TXT,
49 // now define the keys.