I want to modify the Downloadable Information / Links of a product programmability.
I am able to create a downloadable product. But I can't find how to edit the links.
I think the fonction setDownloadableData / getDownloadableData could help me.
But, i can't find them in the Magento source (1.7.0.2).
with
grep -r "setDownloadableData" magento/*
I can only see the call to the function. Not the implementation. ...
/magento/app/code/core/Mage/Downloadable/Model/Link/Api.php
$product->setDownloadableData($downloadable);
/magento/app/code/core/Mage/Downloadable/Model/Observer.php
$product->setDownloadableData($downloadable);