PHP 클래스 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
상속: extends Mage_Index_Model_Resource_Abstract
파일 보기 프로젝트 열기: caciobanu/improved-magento-layered-navigation

보호된 프로퍼티들

프로퍼티 타입 설명
$helper Catalin_SEO_Helper_Data
$storesIds array

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
_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

메소드 상세

_construct() 보호된 메소드

Initialize resource model
protected _construct ( )

catalogEavAttributeSave() 공개 메소드

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
리턴 Catalin_SEO_Model_Resource_Indexer_Attribute

getAllStoresIds() 보호된 메소드

Retrieve all stores ids
protected getAllStoresIds ( ) : array
리턴 array

getAttributes() 보호된 메소드

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
리턴 Mage_Eav_Model_Resource_Entity_Attribute_Collection

getHelper() 보호된 메소드

Retrieve helper object
protected getHelper ( ) : Catalin_SEO_Helper_Data
리턴 Catalin_SEO_Helper_Data

getInsertValues() 보호된 메소드

Retrieve data to be inserted
protected getInsertValues ( Mage_Catalog_Model_Resource_Eav_Attribute $attribute ) : array
$attribute Mage_Catalog_Model_Resource_Eav_Attribute
리턴 array

reindexAll() 공개 메소드

Reindex all
public reindexAll ( ) : Catalin_SEO_Model_Resource_Indexer_Attribute
리턴 Catalin_SEO_Model_Resource_Indexer_Attribute

reindexAttribute() 보호된 메소드

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

reindexSeoUrlKeys() 공개 메소드

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
리턴 Catalin_SEO_Model_Resource_Indexer_Attribute

urlKeyExists() 보호된 메소드

protected urlKeyExists ( integer $attributeId, string $urlKey ) : boolean
$attributeId integer
$urlKey string
리턴 boolean

프로퍼티 상세

$helper 보호되어 있는 프로퍼티

protected Catalin_SEO_Helper_Data $helper
리턴 Catalin_SEO_Helper_Data

$storesIds 보호되어 있는 프로퍼티

protected array $storesIds
리턴 array