From: Tim H. <tj...@us...> - 2010-11-29 17:48:07
|
Update of /cvsroot/stack/stack-dev/lib/items In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv22886/lib/items Modified Files: CasTextType.php Meta.php CasString.php KeyVal.php RawKeyVal.php QuestionType.php Log Message: Fix un-quoted strings in som lib/items classes. This was causing Notices all over the place. Index: QuestionType.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/QuestionType.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** QuestionType.php 30 Sep 2010 16:56:15 -0000 1.13 --- QuestionType.php 29 Nov 2010 17:47:59 -0000 1.14 *************** *** 81,85 **** * @access protected */ ! protected $type = QuestionType; /** --- 81,85 ---- * @access protected */ ! protected $type = 'QuestionType'; /** *************** *** 126,130 **** $this->xmlType = $xmlType; //$this->errorLog = new error(); ! if(self::$errorLog == null) self::$errorLog = new error(); } --- 126,130 ---- $this->xmlType = $xmlType; //$this->errorLog = new error(); ! if(self::$errorLog === null) self::$errorLog = new error(); } Index: Meta.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/Meta.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Meta.php 30 Sep 2010 16:56:15 -0000 1.20 --- Meta.php 29 Nov 2010 17:47:59 -0000 1.21 *************** *** 30,34 **** * @access protected */ ! protected $type = meta; --- 30,34 ---- * @access protected */ ! protected $type = 'meta'; Index: KeyVal.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/KeyVal.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** KeyVal.php 27 Aug 2009 16:23:00 -0000 1.17 --- KeyVal.php 29 Nov 2010 17:47:59 -0000 1.18 *************** *** 58,62 **** * @access protected */ ! protected $type = keyval; --- 58,62 ---- * @access protected */ ! protected $type = 'keyval'; Index: RawKeyVal.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/RawKeyVal.php,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** RawKeyVal.php 13 Oct 2010 12:15:19 -0000 1.33 --- RawKeyVal.php 29 Nov 2010 17:47:59 -0000 1.34 *************** *** 44,48 **** * @access protected */ ! protected $type = rawkeyval; /** --- 44,48 ---- * @access protected */ ! protected $type = 'rawkeyval'; /** Index: CasTextType.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/CasTextType.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** CasTextType.php 13 Oct 2010 12:15:19 -0000 1.27 --- CasTextType.php 29 Nov 2010 17:47:59 -0000 1.28 *************** *** 44,48 **** * @access protected */ ! protected $type = casText; // Associations --- 44,48 ---- * @access protected */ ! protected $type = 'casText'; // Associations Index: CasString.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/CasString.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** CasString.php 13 Oct 2010 12:15:19 -0000 1.17 --- CasString.php 29 Nov 2010 17:47:59 -0000 1.18 *************** *** 38,42 **** * @access protected */ ! protected $type = casString; // Associations --- 38,42 ---- * @access protected */ ! protected $type = 'casString'; // Associations |