_oDb = &$oDb; $sOptionPrefix = $this->getPrefix('option'); $this->_iLogo = (int)$this->_oDb->getParam($sOptionPrefix . 'site_logo'); $this->_sLogoAlt = $this->_oDb->getParam($sOptionPrefix . 'site_logo_alt'); $this->_iLogoWidth = (int)$this->_oDb->getParam($sOptionPrefix . 'site_logo_width'); $this->_iLogoHeight = (int)$this->_oDb->getParam($sOptionPrefix . 'site_logo_height'); } public function getLogoParams() { $sPrefix = $this->getPrefix('option'); return array( $sPrefix . 'site_logo', $sPrefix . 'site_logo_alt', $sPrefix . 'site_logo_width', $sPrefix . 'site_logo_height' ); } public function getLogo() { return $this->_iLogo; } public function getLogoAlt() { return $this->_sLogoAlt; } public function getLogoWidth() { return $this->_iLogoWidth; } public function getLogoHeight() { return $this->_iLogoHeight; } } /** @} */