Mage_GoogleBase_Model_Type Class Reference

Inheritance diagram for Mage_GoogleBase_Model_Type:

Mage_Core_Model_Abstract Varien_Object

List of all members.

Public Member Functions

 loadByAttributeSetId ($attributeSetId, $targetCountry)

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 34 of file Type.php.


Member Function Documentation

_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

Parameters:
int $attributeSetId Attribute Set
string $targetCountry Two-letters country ISO code
Returns:
Mage_GoogleBase_Model_Type

Definition at line 48 of file Type.php.

00049     {
00050         $typeId = $this->getResource()->getTypeIdByAttributeSetId($attributeSetId, $targetCountry);
00051         return $this->load($typeId);
00052     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:16 2009 for Magento by  doxygen 1.5.8