Magento Certified Developer GuideCategory: 5. EAVWhich methods have to be implemented in a custom source model (or frontend model or backend model)?
Manish Prakash Staff asked 5 years ago

Source Model: getAllOptions() and getOptionText($value);

Backend Model:
public function getTable();
public function isStatic();
public function getType();
public function getEntityIdField();
public function setValueId($valueId);
public function getValueId();
public function afterLoad($object);
public function beforeSave($object);
public function afterSave($object);
public function beforeDelete($object);
public function afterDelete($object);
public function getEntityValueId($entity);
public function setEntityValueId($entity, $valueId);

Frontend Model: (there is no compulsory method in this)
public function getValue(Varien_Object $object)