Netbeans PHP自动完成PDO?

Is there a way to set up autocomplete for PDO in Netbeans? version 7.3

If you have the PHP plug-in installed in Netbeans...

enter image description here

...then it should automatically be present, but just to be clear: You can't auto-complete the SQL in your statements, only the PDO commands. Like so...

enter image description here

Is this what you mean?

The penny dropped in your comment on Django's answer. You need to provide type hints for your IDE

class Foo {
    /**
     * @var PDO
     */
    private $dbh;