Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Next
-
None
-
None
Description
example:
$model = Mage::getModel('catalog/product');
now when I type:
$model->
I then expect it to offer me methods from the class returned by the getModel factory.
I understand that not all factory methods work the same, but there could be a way in NetBeans to define which factory methods return what classes (ideally from the dockblock of the factory method itself)
in the example above it would return an "Mage_Catalog_Model_Product" object - often the class returned by a factory in Magento is as simple as that. Same with other major PHP frameworks.
Also clicking on 'catalog/product' would open up Mage_Catalog_Model_Product
this would make developing in PHP in NetBeans so much more better for the not so rare cases, when we use big properly built (thus highly abstract) frameworks