예제 #1
0
 public function getBannerScriptUrl(Pap_Common_User $user)
 {
     return Pap_Tracking_BannerViewer::getBannerScriptUrl($user->getRefId(), $this->getId(), $this->getChannelId(), $this->getParentBannerId());
 }
예제 #2
0
 public function getPreview(Pap_Common_User $user) {
     return '<iframe src="'.
     Pap_Tracking_BannerViewer::getBannerScriptUrl('preview',$this->getId(),$this->getChannelId(),$this->getParentBannerId())
     .'" width = "'.($this->getWidth()+15).'" height= "'.($this->getHeight()+15).'" frameborder=0></iframe>';
 }