PHP 클래스 Creare_CreareSeoCore_Model_Observer

상속: extends Mage_Core_Model_Abstract
파일 보기 프로젝트 열기: adampmoss/CreareSEO

보호된 프로퍼티들

프로퍼티 타입 설명
$helper

공개 메소드들

메소드 설명
_construct ( )
applyTag ( $observer ) * The function to remove the meta keywords tag
changeRobots ( $observer )
contactsMetaData ( Varien_Event_Observer $observer ) * Adds the page title and meta description to the contact page's
discontinuedCheck ( $observer )
forceHomepageTitle ( $observer ) * If set, replaces the homepage title with the definitive one set in the config
forceProductCanonical ( Varien_Event_Observer $observer ) * Checks if the page loaded is the canonical version, if not redirects to that version
getDefaultTitle ( )
getDescription ( )
getTitle ( )
metaHelper ( )
saveConfigOnConfigLoad ( Varien_Event_Observer $observer ) * On controller_action_predispatch Takes the file and the configuration field and saves the current file data to the database before the field is loaded
seoHeading ( $observer ) * Replaces category name with heading on category pages
setConfigMetaDescription ( $pagetype )
setConfigTitle ( $pagetype )
setDescription ( $observer ) * On relevant pages, will override the meta desc with the fallback if one isn't set in the editor
setMandatoryAltTag ( $observer )
setTitle ( $observer ) * On relevant pages, will override the page title with the fallback if one isn't set in the editor
setUA ( $observer ) * Sets Google Analytics to use UA when the version is less that 1.9.1 and it is set in the config
writeToFileOnConfigSave ( Varien_Event_Observer $observer ) * On admin_system_config_changed_section_{crearerobots/crearehtaccess} Takes the file, post data and the configuration field and writes the post data to the file.

비공개 메소드들

메소드 설명
redirect301 ( $url, $name )
setRobots ( $layout )

메소드 상세

_construct() 공개 메소드

public _construct ( )

applyTag() 공개 메소드

* The function to remove the meta keywords tag
public applyTag ( $observer )

changeRobots() 공개 메소드

public changeRobots ( $observer )

contactsMetaData() 공개 메소드

* Adds the page title and meta description to the contact page's
public contactsMetaData ( Varien_Event_Observer $observer )
$observer Varien_Event_Observer

discontinuedCheck() 공개 메소드

public discontinuedCheck ( $observer )

forceHomepageTitle() 공개 메소드

* If set, replaces the homepage title with the definitive one set in the config
public forceHomepageTitle ( $observer )

forceProductCanonical() 공개 메소드

* Checks if the page loaded is the canonical version, if not redirects to that version
public forceProductCanonical ( Varien_Event_Observer $observer )
$observer Varien_Event_Observer

getDefaultTitle() 공개 메소드

public getDefaultTitle ( )

getDescription() 공개 메소드

public getDescription ( )

getTitle() 공개 메소드

public getTitle ( )

metaHelper() 공개 메소드

public metaHelper ( )

saveConfigOnConfigLoad() 공개 메소드

* On controller_action_predispatch Takes the file and the configuration field and saves the current file data to the database before the field is loaded
public saveConfigOnConfigLoad ( Varien_Event_Observer $observer )
$observer Varien_Event_Observer

seoHeading() 공개 메소드

* Replaces category name with heading on category pages
public seoHeading ( $observer )

setConfigMetaDescription() 공개 메소드

public setConfigMetaDescription ( $pagetype )

setConfigTitle() 공개 메소드

public setConfigTitle ( $pagetype )

setDescription() 공개 메소드

* On relevant pages, will override the meta desc with the fallback if one isn't set in the editor
public setDescription ( $observer )

setMandatoryAltTag() 공개 메소드

public setMandatoryAltTag ( $observer )

setTitle() 공개 메소드

* On relevant pages, will override the page title with the fallback if one isn't set in the editor
public setTitle ( $observer )

setUA() 공개 메소드

* Sets Google Analytics to use UA when the version is less that 1.9.1 and it is set in the config
public setUA ( $observer )

writeToFileOnConfigSave() 공개 메소드

* On admin_system_config_changed_section_{crearerobots/crearehtaccess} Takes the file, post data and the configuration field and writes the post data to the file.
public writeToFileOnConfigSave ( Varien_Event_Observer $observer )
$observer Varien_Event_Observer

프로퍼티 상세

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

protected $helper