Esempio n. 1
0
 function BxSoundsRate()
 {
     $this->sType = 'bx_sounds';
     $this->oMedia = new BxSoundsSearch();
     $this->aPageInfo = array('header' => '_bx_sounds_rate_header', 'header_text' => '_bx_sounds_rate_header_text');
     parent::BxDolRate($this->sType);
 }
Esempio n. 2
0
 function BxPhotosRate()
 {
     $this->sType = 'bx_photos';
     $this->oMedia = new BxPhotosSearch();
     $this->oMedia->aCurrent['restriction']['allow_view']['value'] = $this->oMedia->oModule->_checkVisible();
     $this->aPageInfo = array('header' => '_bx_photos_rate_header', 'header_text' => '_bx_photos_rate_header_text');
     parent::BxDolRate($this->sType);
 }
Esempio n. 3
0
 function BxVideosRate()
 {
     $this->sType = 'bx_videos';
     $this->oMedia = new BxVideosSearch();
     $this->oMedia->aCurrent['ownFields'][] = 'Video';
     $this->oMedia->aCurrent['ownFields'][] = 'Source';
     $this->aPageInfo = array('header' => '_bx_videos_rate_header', 'header_text' => '_bx_videos_rate_header_text');
     parent::BxDolRate($this->sType);
 }
Esempio n. 4
0
 function __construct($sType, &$oMedia)
 {
     parent::__construct($sType);
     $this->oMedia = $oMedia;
     $this->oMedia->aCurrent['restriction']['allow_view']['value'] = $this->oMedia->oModule->_checkVisible();
     $this->oConfig = $this->oMedia->oModule->_oConfig;
     $sMainPrefix = $this->oConfig->getMainPrefix();
     $this->aPageInfo = array('header' => '_' . $sMainPrefix . '_rate_header', 'header_text' => '_' . $sMainPrefix . '_rate_header_text');
     $this->oMedia->oTemplate->addCss('rate_object.css');
 }