Login | Register
My pages Projects Community openCollabNet

Discussions > tsWebEditor > Re: Questin about code completion.

Project highlights: home | downloads | news | features | screenhots | support

tswebeditor
Discussion topic

Back to topic list

Re: Questin about code completion.

Author thaj
Full name Thaler
Date 2006-11-11 08:18:19 PST
Message Hello,

you can use this command to assign a variable a class to get
code completion for this class (because php use untyped
variables)

>
>[example code]
>/*% comment */
>function test($a, $b) {
> echo $a .' - '. $b;
>}
>[/example code]
this is a bug, shouldn't work

This way it should be used:

class Class1 {function Test1() {}}
class Class2 {function Test2() {}}

function test(/*% Class1 */ $a, /*% Class2 */ $b) {
  echo $a->Test1() .' - '. $b->Test2();
}

...thaler...

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

Questin about code completion. cyberjack Peter 2006-11-10 06:32:35 PST
     Re: Questin about code completion. thaj Thaler 2006-11-11 08:18:19 PST
Messages per page: