undefined function __ when using cakephp

hi

I've using cakephp and it declares lang strings like:

<?php __('test string') ;?>

__ is showing as an undefined function;

how do I add this as an exception to that it doesn't show as an error please?

3 comments
Comment actions Permalink

PhpStorm doesn't support CakePHP officially. You may try to use : http://stackoverflow.com/a/16960985 or http://blog.hwarf.com/2011/08/configure-phpstorm-to-auto-complete.html , check if it helps.

0
Comment actions Permalink

I know there's no offical support. I was just wondering if there was a way to get phpstorm to ignore __() as being a problem - Ie some kind of exception list i could add it to.

0

Please sign in to leave a comment.