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