Zend certified PHP/Magento developer

$product->getData() custom values for custom attribute

I have attribute that values are dynamically mapped from custom tables. So attribute don’t have values by it self. I’d like to get mapped values every time getValue() is called. But i don’t want affect core magento files with additional “if’s”.

For admin panel i created backend_model for this attribute and method afterLoad() with my custom logic for this attribute. At admin panel it works fine.

But i have problem with Product model and $product->getData(). In this call of course it returns data directly from DB. Without backend model logic.

Is there any place that I can add logic for fetching values for this attribute, that it will be visible at $product->getData()? Maybe some model for this attribute? But it’s just idea but don’t know why.

For some reasons perfect solution is to not use any plugins, preferences for core magento files. That’s why i think about some models mayby.

Can anyone help? Any tips?