Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - adent

Pages: [1]
1
Uml Process / Re: PHP class var qualifier missing ...
« on: May 11, 2007, 02:00:02 am »
After your post I switched back to "PHP5", but then the qualifier is missing again. So for me it DOES matter if I set it to v4 or v5...

But anyway: EA is a great piece of software for a fair price! Compliments to all involved people.

Regards, Dirk.

2
Uml Process / Re: PHP class var qualifier missing ...
« on: April 20, 2007, 03:36:25 am »
Thank you very much, Thomas! Youre my hero of the day (and maybe the next few, too) :D
I really like EA and the option to work with PHP made me evaluating it, but this was really annoying. Now Im convinced and willing to pay for it!

Have a nice day!
Regards, Dirk.

PS: Wie gut, da auch andere Softies manchmal zugeben, da sie an Alzheimer leiden *LOL Gre aus Sdbaden...

3
Uml Process / Re: PHP class var qualifier missing ...
« on: April 20, 2007, 02:30:26 am »
Im evaluating version 6.5.805.
My model is set to generate PHP of course. As I said, the code is generated well. Only the var qualifier is missing. Even if I write the code manually (not touching EA in any way) and then importing this class to a new model, the re-generated code of this class is missing the qualifier again.

The attributes are set as follows:
Type: Tried with and without type "var"
Scope: Tried "Public" as well as "Private"
Stereotype: None
..and all other options left blank or unchecked, too.

Am I missing something?

Regards,
adent.

4
Uml Process / PHP class var qualifier missing ...
« on: April 20, 2007, 01:32:22 am »
Hi guys!

Im testing EA right now and tried to generate PHP source code of my model (and suceeded).
The only problem is: Class vars are lacking the needed qualifier "var". Looks like this:
Code: [Select]

class CSomeClass
{
  //This is what comes out:
  $some_uml_generated_var = "foo";
  //This is how it should be:
  var $some_uml_generated_var = "foo";
  ...
  function someFunction()
  {
        //Here it would be correct without "var":
        $some_other_var = "bar";
  }
}

After generating this code I deleted the class from the model, changed the code manually (added "var") and then imported it again. Then I deleted the source code and created it again with the just imported class... and... "var" is missing again.

Can anyone help? Or do I have to add "var" to every class var manually after creating the sources??
Can I change this behaviour somehow in the "Code Generation Templates"?

Kind regards and thanks for any help,
adent.

Pages: [1]