*/ /** * Komponent stCrossellingFrontendComponents * * @package stCrossellingPlugin * @subpackage actions */ class stCrossellingFrontendActions extends stActions { public function executeShowInProductTab() { $this->setLayout(false); $this->smarty = new stSmarty($this->getModuleName()); if ($this->hasRequestParameter('id')) $this->products = stCrosselling::getProducts(array($this->getRequestParameter('id'))); else return sfView::NONE; $this->config = stConfig::getInstance('stProduct'); $this->config_points = stConfig::getInstance('stPointsBackend'); $this->config_points->setCulture($this->getUser()->getCulture()); } }