protected function initAdditionalData()
 {
     parent::initAdditionalData();
     $homeDAO = new HomeDAO();
     $this->record = $homeDAO->getRecord();
     $idArray = array($this->record['id']);
     $image1 = $this->fileDAO->getFirstImageListByRecordList('home', $idArray, 'box1Image');
     $image2 = $this->fileDAO->getFirstImageListByRecordList('home', $idArray, 'box2Image');
     $this->images = array();
     if (!empty($image1)) {
         $this->images[1] = $image1[$this->record['id']];
     }
     if (!empty($image2)) {
         $this->images[2] = $image2[$this->record['id']];
     }
     $this->modelDAO = new ModelDAO();
     $this->initFeaturedItems();
     $this->initFreeModelOfTheMonth();
 }
 public function initAdditionalData()
 {
     parent::initAdditionalData();
     $fileDAO = new FileDAO();
     $this->gallery = $fileDAO->getListByRecord('subpage', $this->subpage['id'], 'image', 'gallery');
 }