[PHPVortex-Commit] phpvortex TB_Base.class.php,1.2,1.3
Brought to you by:
nop144666
From: Thiago R. <nop...@us...> - 2004-09-29 21:01:48
|
Update of /cvsroot/phpvortex/phpvortex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30117 Modified Files: TB_Base.class.php Log Message: Started working on TB_Base, but the day came to an end... Index: TB_Base.class.php =================================================================== RCS file: /cvsroot/phpvortex/phpvortex/TB_Base.class.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TB_Base.class.php 28 Sep 2004 18:43:24 -0000 1.2 --- TB_Base.class.php 29 Sep 2004 21:01:39 -0000 1.3 *************** *** 25,34 **** /** * Constructor: Init the object, and define the table's fields and relationships. * * @param DB_Base $db Database where the table is. */ ! function TB_Base($db) { } } --- 25,47 ---- /** + * Array containing all the fields of the table (FT_* classes). + * @var array + */ + var $fields = array(); + + /** + * Array the current row of the table, for output, edit or search. + * @var array + */ + var $data = array(); + + /** * Constructor: Init the object, and define the table's fields and relationships. * * @param DB_Base $db Database where the table is. */ ! function TB_Base(&$db) { + $this->db =& $db; } } |