MCQs > IT & Programming > Magento > What actions are performed in this code? $model = Mage::getModel('your_module/model'); $model->load($id); $model->setData('name', 'value'); $model->load($id); $model->save();

Magento MCQs

What actions are performed in this code?

$model = Mage::getModel('your_module/model'); $model->load($id); $model->setData('name', 'value'); $model->load($id); $model->save();

Answer

Correct Answer: Model data was loaded twice, but was not saved

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Magento Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Magento Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it