public function getCompleteCode(Pap_Common_User $user, $flags) { $code = $this->getBannerCode($user, $flags); $id = $this->getWrapperId(); if ($this->getWrapperId() !== null && $this->getWrapperId() !== '') { $wrapperservice = new Pap_Merchants_Config_BannerWrapperService(); $code = $wrapperservice->getBannerInWrapper($code, $this, $user); } return $code; }