Bug 213922

Summary: Code generation for PHP using PHP syntax for variable declaration
Product: [Applications] umbrello Reporter: Chris Mylonas <chris>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: chris
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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.