This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 156212 - CC should support inline @var phpDoc
Summary: CC should support inline @var phpDoc
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks: 187317
  Show dependency tree
 
Reported: 2009-01-01 19:48 UTC by alangabriel
Modified: 2010-06-08 10:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alangabriel 2009-01-01 19:48:19 UTC
<?php
class PersonModel extends Model {
    private $name;
    public function setName($name) { /* ... */ }
    // etc.
}

$joe = $context->loadModel('Person'); // instantiate the model class PersonModel via some factory

/* @var $joe PersonModel */
$joe->|
?>

Now CC should be triggered, for class Joe, after $joe->
Comment 1 Tomasz Slota 2009-01-08 14:40:38 UTC
it already works in the current dev build