public function find($id, PAP_Model_Promotion $promotion)
 {
     $result = $this->getDbTable()->find($id);
     if (0 == count($result)) {
         return;
     }
     $row = $result->current();
     $promotion->setId($row->promotion_id)->setPromoCode($row->promo_code)->setUserId($row->user_id)->setStarts($this->getFormatedStringDate($row->starts))->setEnds($this->getFormatedStringDate($row->ends))->setShortDescription($row->short_description)->setLongDescription($row->long_description)->setPromoValue($row->promo_value)->setValueSince($row->value_since)->setQuantity($row->quantity)->setPromoType($row->promo_type)->setDisplayedText($row->displayed_text)->setAlertType($row->alert_type)->setState($row->state)->setVisited($row->visited)->setPromoCost($row->visited)->setCreated($row->created);
     /*         
              $imageTable = new PAP_Model_DbTable_Image();
              $select = $imageTable->select();
              $select->where('parent_id = ?', $id);
              $select->where('parent_type = "P"');
              $images = $imageTable->fetchAll($select);
              $oimages = array();
              foreach($images as $img){
                 $oimages[] = new PAP_Model_Image($img['path']);    
              }
              $promotion->setImages($oimages);*/
     $promotion->loadImages();
 }