public function prepareEntity($parameters)
    {
        $this->activePageEntity->setPageid($this->getPageIdentifiers()->getPageId());
        $this->activePageEntity->setLangid(Registry::getLang()->getBaseLanguage());
        $domain = str_ireplace('www.', '', parse_url(Registry::getConfig()->getShopUrl(), PHP_URL_HOST));
        $this->activePageEntity->setSiteid($domain);

        $this->setControllerInfo($parameters);

        $this->setLoginsTracking();
        $this->setEmailTracking();

        $this->activePageEntity = $this->getEntityModifierByCurrentBasketAction()->modifyEntity($this->activePageEntity);

        return $this->activePageEntity;
    }
public function prepareEntity($parameters)
    {
        $this->activePageEntity->setPageid($this->getPageIdentifiers()->getPageId());
        $this->activePageEntity->setLangid(Registry::getLang()->getBaseLanguage());
        $domain = str_ireplace('www.', '', parse_url(Registry::getConfig()->getShopUrl(), PHP_URL_HOST));
        $this->activePageEntity->setSiteid($domain);

        $this->setControllerInfo($parameters);

        $this->setLoginsTracking();
        $this->setEmailTracking();

        $this->activePageEntity = $this->getEntityModifierByCurrentBasketAction()->modifyEntity($this->activePageEntity);

        return $this->activePageEntity;
    }
public function prepareEntity ( $ parameters ) { $ this -> activePageEntity -> setPageid ( $ this -> getPageIdentifiers ( ) -> getPageId ( ) ) ; $ this -> activePageEntity -> setLangid ( Registry :: getLang ( ) -> getBaseLanguage ( ) ) ; $ domain = str_ireplace ( 'www.' , '' , parse_url ( Registry :: getConfig ( ) -> getShopUrl ( ) , PHP_URL_HOST ) ) ; $ this -> activePageEntity -> setSiteid ( $ domain ) ; $ this -> setControllerInfo ( $ parameters ) ; $ this -> setLoginsTracking ( ) ; $ this -> setEmailTracking ( ) ; $ this -> activePageEntity = $ this -> getEntityModifierByCurrentBasketAction ( ) -> modifyEntity ( $ this -> activePageEntity ) ; return $ this -> activePageEntity ; }
Makes OXID eShop page entity.

@param array $parameters Plugin parameters.

@return ActivePageEntityInterface
Makes OXID eShop page entity .