Property | Type | Description | |
---|---|---|---|
$helper | Catalin_SEO_Helper_Data | ||
$storesIds | array |
Method | Description | |
---|---|---|
catalogEavAttributeSave ( Mage_Index_Model_Event $event ) : Catalin_SEO_Model_Resource_Indexer_Attribute | Reindex attribute options on attribute save event | |
reindexAll ( ) : Catalin_SEO_Model_Resource_Indexer_Attribute | Reindex all | |
reindexSeoUrlKeys ( integer | null $attributeId = null ) : Catalin_SEO_Model_Resource_Indexer_Attribute | Generate SEO values for catalog product attributes options |
Method | Description | |
---|---|---|
_construct ( ) | Initialize resource model | |
getAllStoresIds ( ) : array | Retrieve all stores ids | |
getAttributes ( integer | null $attributeId = null ) : Mage_Eav_Model_Resource_Entity_Attribute_Collection | Retrieve filterable product attributes with frontend input type 'select' and 'multiselect' | |
getHelper ( ) : Catalin_SEO_Helper_Data | Retrieve helper object | |
getInsertValues ( Mage_Catalog_Model_Resource_Eav_Attribute $attribute ) : array | Retrieve data to be inserted | |
reindexAttribute ( Mage_Catalog_Model_Resource_Eav_Attribute $attribute ) | Reindex attribute | |
urlKeyExists ( integer $attributeId, string $urlKey ) : boolean |
public catalogEavAttributeSave ( Mage_Index_Model_Event $event ) : Catalin_SEO_Model_Resource_Indexer_Attribute | ||
$event | Mage_Index_Model_Event | |
return | Catalin_SEO_Model_Resource_Indexer_Attribute |
protected getAllStoresIds ( ) : array | ||
return | array |
protected getAttributes ( integer | null $attributeId = null ) : Mage_Eav_Model_Resource_Entity_Attribute_Collection | ||
$attributeId | integer | null | |
return | Mage_Eav_Model_Resource_Entity_Attribute_Collection |
protected getHelper ( ) : Catalin_SEO_Helper_Data | ||
return | Catalin_SEO_Helper_Data |
protected getInsertValues ( Mage_Catalog_Model_Resource_Eav_Attribute $attribute ) : array | ||
$attribute | Mage_Catalog_Model_Resource_Eav_Attribute | |
return | array |
public reindexAll ( ) : Catalin_SEO_Model_Resource_Indexer_Attribute | ||
return | Catalin_SEO_Model_Resource_Indexer_Attribute |
protected reindexAttribute ( Mage_Catalog_Model_Resource_Eav_Attribute $attribute ) | ||
$attribute | Mage_Catalog_Model_Resource_Eav_Attribute |
public reindexSeoUrlKeys ( integer | null $attributeId = null ) : Catalin_SEO_Model_Resource_Indexer_Attribute | ||
$attributeId | integer | null | - transmit this to limit processing to one specific attribute |
return | Catalin_SEO_Model_Resource_Indexer_Attribute |