[PHPVortex-Commit] phpvortex DB_Base.class.php,1.5,1.6 FT_Base.class.php,1.4,1.5 SEC_Static.class.ph
Brought to you by:
nop144666
From: Thiago R. <nop...@us...> - 2004-09-30 14:26:11
|
Update of /cvsroot/phpvortex/phpvortex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7914 Modified Files: DB_Base.class.php FT_Base.class.php SEC_Static.class.php Log Message: Fixed some constructor bugs in DB_Base, FT_Base and SEC_Static Index: DB_Base.class.php =================================================================== RCS file: /cvsroot/phpvortex/phpvortex/DB_Base.class.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** DB_Base.class.php 29 Sep 2004 20:04:59 -0000 1.5 --- DB_Base.class.php 30 Sep 2004 14:26:00 -0000 1.6 *************** *** 55,59 **** function DB_Base($opts = array()) { ! $link = NULL; foreach ($opts as $key => $value) { $this->$key = $value; --- 55,59 ---- function DB_Base($opts = array()) { ! $this->link = NULL; foreach ($opts as $key => $value) { $this->$key = $value; Index: SEC_Static.class.php =================================================================== RCS file: /cvsroot/phpvortex/phpvortex/SEC_Static.class.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SEC_Static.class.php 28 Sep 2004 18:43:24 -0000 1.2 --- SEC_Static.class.php 30 Sep 2004 14:26:01 -0000 1.3 *************** *** 34,47 **** /** - * Constructor: Load all parameters into member variables. - * - * @param array $opts Parameters for the object, as 'var' => 'value'. - */ - function SEC_Static($opts = array()) - { - SEC_Base::SEC_Base($opts); - } - - /** * Outputs the section to the client. * --- 34,37 ---- Index: FT_Base.class.php =================================================================== RCS file: /cvsroot/phpvortex/phpvortex/FT_Base.class.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** FT_Base.class.php 29 Sep 2004 19:11:33 -0000 1.4 --- FT_Base.class.php 30 Sep 2004 14:26:01 -0000 1.5 *************** *** 89,95 **** $this->$key = $value; } ! is_null($name_db) and $name_db = $name; ! is_null($name_form) and $name_form = $name; ! is_null($label) and $label = $name; } --- 89,95 ---- $this->$key = $value; } ! is_null($this->name_db) and $this->name_db = $this->name; ! is_null($this->name_form) and $this->name_form = $this->name; ! is_null($this->label) and $this->label = $this->name; } |