Update of /cvsroot/pidget/pidget/src
In directory sc8-pr-cvs1:/tmp/cvs-serv19571/src
Modified Files:
pDisplay.inc pStyle.inc
Log Message:
* Fixed some lingering PTK/Pidget conversion problems
* Updated documentation
Index: pDisplay.inc
===================================================================
RCS file: /cvsroot/pidget/pidget/src/pDisplay.inc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** pDisplay.inc 17 Sep 2003 00:19:18 -0000 1.1.1.1
--- pDisplay.inc 17 Sep 2003 16:12:35 -0000 1.2
***************
*** 27,31 ****
parent::__construct();
// protect programmers from hard coding ID values
! if (p_PROTECT && self::$IdCount == -1)
self::$IdCount = rand(0, 99);
else if (self::$IdCount == -1)
--- 27,31 ----
parent::__construct();
// protect programmers from hard coding ID values
! if (PIDGET_PROTECT && self::$IdCount == -1)
self::$IdCount = rand(0, 99);
else if (self::$IdCount == -1)
***************
*** 95,99 ****
** developers using p.
*/
! protected function GetId() {
return "id".$this->Id;
}
--- 95,99 ----
** developers using p.
*/
! public function GetId() {
return "id".$this->Id;
}
***************
*** 132,136 ****
** recommended to have this return 'null'.
*/
! //public function GetJSRef();
}
--- 132,136 ----
** recommended to have this return 'null'.
*/
! abstract public function GetJSRef();
}
Index: pStyle.inc
===================================================================
RCS file: /cvsroot/pidget/pidget/src/pStyle.inc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** pStyle.inc 17 Sep 2003 00:19:18 -0000 1.1.1.1
--- pStyle.inc 17 Sep 2003 16:12:35 -0000 1.2
***************
*** 10,14 ****
** can all be used in a consistant manner.
*/
! abstract class pStyle extends pDisplay {
protected $Widget=false;
--- 10,14 ----
** can all be used in a consistant manner.
*/
! abstract class pStyle extends pObject {
protected $Widget=false;
|