phalcon netbeans 代码完成 MVC

phalcon netbeans code completion MVC

如果我在控制器中定义,可能会完成代码

$this -> view -> this_is_my_var = 'hello world'

然后我在视图中写入(.phtml 文件)

$this -> view -> this_is(...) 

Netbeans 显示提示 this_is_my_var

也许您正在寻找这个?

PHP

$this->view->this_is_my_var1 = 'hello world';
$this->view->this_is_my_var2 = new \Phalcon\Registry();

查看

/**
 * @var string $this_is_my_var1
 * @var \Phalcon\Registry $this_is_my_var2
 */