Hi Joerg,
I tried a few combinations, but do not succeed:
Apparently such constants in php have public visibility by definition, and
they should be "frozen".
And they are static.
This leads to the following generated php:
public static $newAttr = 5;
While IIUC, it should be:
const $newAttr = 5;
Please enter an issue for this in the ArgoUML issues database at:
http://argouml.tigris.org/project_bugs.html
Regards,
Michiel
----- Original Message -----
From: "Joerg Schoppet" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[email protected]>
Sent: Monday, August 21, 2006 12:42 PM
Subject: [argouml-users] Class constants in php
Hi,
what options, in the attribute view, have I to check, so that the
php-code-generator creates a class constant.
e.g.:
class test {
const hello = 'value';
}
also see: http://php.net/manual/en/language.oop5.constants.php
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.3/423 - Release Date: 18/08/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/430 - Release Date: 28/08/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]