title: Netbeans code completion for pseudo properties and methods made from magic functions
body: <p>I created a component in Yii on top of the normal CComponent. Yii has a useful but quirky process of using magic functions like <code>__get</code> and <code>__set</code> and <code>__call</code> for read-only/write-only properties and for event functions.</p>
  
  <p>When I create an object from the component and attach event handlers to some event in the object, I forfeit the luxury of using code completion because either that property/method does not exist or is protected and so gets answered by <code>__call</code>/<code>__set</code>/<code>__get().</code></p>
  
  <p>Any idea on how to trick Netbeans code completion into thinking these methods or properties exist? Also is there a way to add PHPDoc comments onto these fake properties and methods?</p>