NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code Completion Problem with Classes/ Type of Property


Joined: 21 Mar 2007
Posts: 1
Reply with quote
Hi!

I declare my class the php4 way:

Code:
class CTest{
   var $Prop;
}


In another file i create a new instance :
Code:
$o = new CTest();


If i use the property "Prop" in a If-Construct
Code:
if($o->Prop == $_ //then press strg+space)


it doesn't complete anything with code completion with this warning:

"Cannot identify type of "CTest->Prop" property..."

I have to declare type of property... But how in php4 ?


I hope anybody understand my worst english.. sorry about that Smile

Can anybody help me ?
View user's profileFind all posts by rarSend private message
Code Completion Problem with Classes/ Type of Property
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic