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