I'm using the PHPTemplate theme engine to create a theme in Drupal 7. So I have a bunch of .php.tpl template files that have theme variables made available to them through the Drupal bootstrap process.
Naturally, since these variables aren't defined in the template files themselves, or in explicitly included files, Zend Studio 9 gives a bunch of 'undefined variable' errors.
Is there any way to resolve, or at least suppress these errors?