PHP Class Catalin_SEO_Model_Resource_Indexer_Attribute

NOTICE OF LICENSE This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php
Inheritance: extends Mage_Index_Model_Resource_Abstract
Afficher le fichier Open project: caciobanu/improved-magento-layered-navigation

Protected Properties

Свойство Type Description
$helper Catalin_SEO_Helper_Data
$storesIds array

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Method Details

_construct() protected méthode

Initialize resource model
protected _construct ( )

catalogEavAttributeSave() public méthode

Reindex attribute options on attribute save event
public catalogEavAttributeSave ( Mage_Index_Model_Event $event ) : Catalin_SEO_Model_Resource_Indexer_Attribute
$event Mage_Index_Model_Event
Résultat Catalin_SEO_Model_Resource_Indexer_Attribute

getAllStoresIds() protected méthode

Retrieve all stores ids
protected getAllStoresIds ( ) : array
Résultat array

getAttributes() protected méthode

Retrieve filterable product attributes with frontend input type 'select' and 'multiselect'
protected getAttributes ( integer | null $attributeId = null ) : Mage_Eav_Model_Resource_Entity_Attribute_Collection
$attributeId integer | null
Résultat Mage_Eav_Model_Resource_Entity_Attribute_Collection

getHelper() protected méthode

Retrieve helper object
protected getHelper ( ) : Catalin_SEO_Helper_Data
Résultat Catalin_SEO_Helper_Data

getInsertValues() protected méthode

Retrieve data to be inserted
protected getInsertValues ( Mage_Catalog_Model_Resource_Eav_Attribute $attribute ) : array
$attribute Mage_Catalog_Model_Resource_Eav_Attribute
Résultat array

reindexAll() public méthode

Reindex all
public reindexAll ( ) : Catalin_SEO_Model_Resource_Indexer_Attribute
Résultat Catalin_SEO_Model_Resource_Indexer_Attribute

reindexAttribute() protected méthode

Reindex attribute
protected reindexAttribute ( Mage_Catalog_Model_Resource_Eav_Attribute $attribute )
$attribute Mage_Catalog_Model_Resource_Eav_Attribute

reindexSeoUrlKeys() public méthode

Generate SEO values for catalog product attributes options
public reindexSeoUrlKeys ( integer | null $attributeId = null ) : Catalin_SEO_Model_Resource_Indexer_Attribute
$attributeId integer | null - transmit this to limit processing to one specific attribute
Résultat Catalin_SEO_Model_Resource_Indexer_Attribute

urlKeyExists() protected méthode

protected urlKeyExists ( integer $attributeId, string $urlKey ) : boolean
$attributeId integer
$urlKey string
Résultat boolean

Property Details

$helper protected_oe property

protected Catalin_SEO_Helper_Data $helper
Résultat Catalin_SEO_Helper_Data

$storesIds protected_oe property

protected array $storesIds
Résultat array