ID:               33029
 Updated by:       [EMAIL PROTECTED]
 Reported By:      aiv at intertop dot pl
 Status:           Open
-Bug Type:         Website problem
+Bug Type:         Documentation problem
 Operating System: N/A
 PHP Version:      Irrelevant
 New Comment:

This is a Polish documentation problem


Previous Comments:
------------------------------------------------------------------------

[2005-05-13 21:32:07] aiv at intertop dot pl

Description:
------------
http://www.php.net/manual/pl/language.oop.php
You have to change Cart() in second example to Koszyk() becouse is not
working exmaple of constructor

Reproduce code:
---------------
class Koszyk
{
   var $dzisiejsza_data;
   var $nazwa;
   var $wlasciciel;
   var $artykuly;

   function Cart()
   {
       $this->dzisiejsza_data = date("Y-m-d");
       $this->nazwa = $GLOBALS['imie'];
       /* itp. . . */
   }
}

Expected result:
----------------
class Koszyk
{
   var $dzisiejsza_data;
   var $nazwa;
   var $wlasciciel;
   var $artykuly;

   function Koszyk()
   {
       $this->dzisiejsza_data = date("Y-m-d");
       $this->nazwa = $GLOBALS['imie'];
       /* itp. . . */
   }
}



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33029&edit=1

Reply via email to