Bug 213922 - Code generation for PHP using PHP syntax for variable declaration
Summary: Code generation for PHP using PHP syntax for variable declaration
Status: RESOLVED NOT A BUG
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 02:05 UTC by Chris Mylonas
Modified: 2012-02-14 20:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mylonas 2009-11-10 02:05:21 UTC
Version:           2.3.2 (using 4.3.2 (KDE 4.3.2), 4.3.2-4.fc11 Fedora)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.30.9-96.fc11.x86_64

The syntax creates a variable with "var $variable_name" syntax which was PHP4.

PHP5 and above use "public $variable_name"


Here is a snippet from a class diagram:

  /**
   * 
   * @access public
   */
  var $path;
  /**
   * 
   * @access public
   */
  var $url;
  /**
   * 
   * @access public
   */
  var $server;



KDE rocks!!!
Comment 1 Chris Mylonas 2009-11-11 21:43:51 UTC
Wrong code generation language was selected.  PHP = PHP4, PHP5 = PHP5.

User error.

Please close.
Comment 2 Oliver Kellogg 2012-02-14 20:48:59 UTC
(In reply to comment #1)
> Wrong code generation language was selected.  PHP = PHP4, PHP5 = PHP5.
> 
> User error.
> 
> Please close.