return $this->
Path() . 'Controllers/SimilarShown.php';
} /**
* Plugin event listener function which is fired
* when the similar shown resource has to be initialed.
*
* @return Shopware_Components_SimilarShown
*/
public function initSimilarShownResource() { $this->
Application()->
Loader()->
registerNamespace( 'Shopware_Components',
$this->
Path() . 'Components/'
);
$similarShown = Enlight_Class::
Instance('Shopware_Components_SimilarShown'
);
Shopware()->
Container()->
set('similarshown',
$similarShown);
return $similarShown;
} /**
* Event listener function of the Shopware_Plugins_LastArticles_ResetLastArticles
* event. This event is fired after the Shopware_Plugins_LastArticles plugin resets
* the s_emarketing_lastarticles data for a validation time.
* This listener is used to update the similar shown article data at the same time.
*/