1 <?php // vim: set binary noeol et sts=4 sw=4 :
4 require_once 'DB/DataObject.php';
6 class T_DBO_Curso_docente extends DB_DataObject
8 var $_database = 'taller';
9 var $__table = 'curso_docente';
14 function staticGet($k, $v = NULL)
16 return DB_DataObject::staticGet('T_DBO_Curso_docente', $k, $v);
19 // now define your table structure.
20 // key is column name, value is type
24 'curso_id' => DB_DATAOBJECT_INT,
25 'docente_id' => DB_DATAOBJECT_INT,
29 // now define the keys.
32 return array('curso_id', 'docente_id');