/**
  * Get item associated with the object on which the event was raised
  *
  * @param $event  (default '')
  *
  * @return the object associated with the itemtype
  **/
 function getObjectItem($event = '')
 {
     if ($this->obj) {
         $ri = new ReservationItem();
         if ($ri->getFromDB($this->obj->getField('reservationitems_id'))) {
             $itemtype = $ri->getField('itemtype');
             if ($itemtype != NOT_AVAILABLE && $itemtype != '' && ($item = getItemForItemtype($itemtype))) {
                 $item->getFromDB($ri->getField('items_id'));
                 $this->target_object[] = $item;
             }
         }
     }
 }