I created a component in Yii on top of the normal CComponent. Yii has a useful but quirky process of using magic functions like __get
and __set
and __call
for read-only/write-only properties and for event functions.
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 __call
/__set
/__get().
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?