X

An Oracle blog about NetBeans for PHP

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

Join the discussion

Comments ( 7 )
  • Walter Osbourne Tuesday, September 23, 2008

    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.


  • raymond Tuesday, September 23, 2008

    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.


  • Petr Tuesday, September 23, 2008

    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


  • Adam Jorgensen Thursday, September 25, 2008

    Great to see class properties finally working :-)

    This is going to make my life so much easier :-)


  • gawan Thursday, December 4, 2008

    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"


  • Petr Pisl Thursday, December 4, 2008

    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


  • links of london Thursday, October 29, 2009

    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.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.