#33029 [Opn->Csd]: Bug in translation of constructor example
| From: | vrana@php.net | Date: | Sat, 14 May 2005 17:32:20 +0000 |
| Subject: | #33029 [Opn->Csd]: Bug in translation of constructor example | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969368259@lists.php.net to get a copy of this message | ||
ID: 33029
Updated by: vrana@php.net
Reported By: aiv at intertop dot pl
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Fixed at 2005/04/25 by leszek but the manual wasn't built since then.
Previous Comments:
------------------------------------------------------------------------
[2005-05-14 17:44:57] goba@php.net
This is a Polish documentation problem
------------------------------------------------------------------------
[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