PHP Cake - Controller - Code completion
Hello,
1st: Great product, I really like that IDE. (old IntelliJ user).
I have a small problem and I would like to know if I can not find the solution or if the feature does not exist.
I am using CakePHP, and when in a controller classe like:
class JsonController extends AppController {
var $helpers = array ('Html','Form','Translation');
var $name = 'Json';
var $uses = array();
function research_notes_save()
{
$this->Session->read
the code completion does not work on Session and read.
Is there a way to "activate" that?
Thanks in advance
Gasgeber
请先登录再写评论。
Hi Timo,
I'm not using CakePHP myself, but here is some suggestion: You can try adding PHPDoc comment for this class and declare Session as a property, something like:
You can check the exact syntax of @property PHPDoc website.
http://devnet.jetbrains.net/message/5264817#5264817
http://devnet.jetbrains.net/message/5271216#5271216