Public Member Functions | |
loadByAttributeSetId ($attributeSetId, $targetCountry) | |
Protected Member Functions | |
_construct () |
Definition at line 34 of file Type.php.
_construct | ( | ) | [protected] |
Enter description here...
Reimplemented from Varien_Object.
Definition at line 36 of file Type.php.
00037 { 00038 $this->_init('googlebase/type'); 00039 }
loadByAttributeSetId | ( | $ | attributeSetId, | |
$ | targetCountry | |||
) |
Load type model by Attribute Set Id
int | $attributeSetId Attribute Set | |
string | $targetCountry Two-letters country ISO code |
Definition at line 48 of file Type.php.
00049 { 00050 $typeId = $this->getResource()->getTypeIdByAttributeSetId($attributeSetId, $targetCountry); 00051 return $this->load($typeId); 00052 }