Fw: [PHP-DOC] #33029 [Opn]: Bug in translation of constructor example

From: Date: Sat, 14 May 2005 17:58:43 +0000
Subject: Fw: [PHP-DOC] #33029 [Opn]: Bug in translation of constructor example
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-648@lists.php.net to get a copy of this message
ID:               33029
Updated by:       goba@php.net
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


« previous php.doc.pl (#648) next »