/** * Returns the standard OXID page title if the corresponding setting is checked. * Returns only the Styla title otherwise * * @return string */ public function getPageTitle() { if ($this->getConfig()->getConfigParam('styla_seo_magazin_title')) { return parent::getPageTitle(); } return $this->getTitle(); }