Screencast about Class Property Variables
Yesterday I added support for class property variables into the PHP build. Although the demo is targeted to show how NetBeans PHP handles class property variables, you can also see other editor features and how to find a declaration. In the screencast I create a simple application that you probably would write in a different way, but I needed to make it fit the purpose of the demo.
The video is published on NetBeans.TV

I like the fact that this is a video instead of an article. The video was as if, I were sitting in a class room watching a presentation.
Posted by Walter Osbourne on September 23, 2008 at 07:50 PM CEST #
Hello,
I've just downloaded the latest nightly of NetBeans and I've found out that it's not using code complete for references:
class d {
var $a,$b;
function test(){
echo "hello";
}
}
$c = new d();
$v = &$c;
In the above NetBeans will not display code complete for $v.
Posted by raymond on September 23, 2008 at 11:08 PM CEST #
Hi Raymond,
it seems to me like a regression. Did this work for you before?
Anyway I have entered bug for this: http://www.netbeans.org/issues/show_bug.cgi?id=148109
Posted by Petr on September 24, 2008 at 08:49 AM CEST #
Great to see class properties finally working :-)
This is going to make my life so much easier :-)
Posted by Adam Jorgensen on September 25, 2008 at 05:35 PM CEST #
tip for little enhacement:
syntax of @property tag is:
@property datatype $name description
and description could be showed as PHPDoc in documetation popup window.
Now is there "PHPDoc not found"
Posted by gawan on December 04, 2008 at 04:12 PM CET #
Hi gawan,
I have noticed also this stupid bug after watching this, and correct the implementation. In NetBeans 7.0 is not even allowed to use property name without $. You are right, the documentation is not displayed now and I entered new issue: http://www.netbeans.org/issues/show_bug.cgi?id=154666 for this. It should be easy to fix.
Thanks,
Petr
Posted by Petr Pisl on December 05, 2008 at 02:38 AM CET #
It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.
Posted by links of london on October 30, 2009 at 03:12 AM CET #