/**
  * Return the notifications as array with objects.
  *
  * <code>
  * $options = array(
  *     "ids" => array(1,2,3,4,5)
  * );
  *
  * $notifications   = new Gamification\Notification\Notifications(\JFactory::getDbo());
  * $notifications->load($options);
  *
  * $notifications = $notifications->getNotifications();
  * </code>
  *
  * @return array
  */
 public function getNotifications()
 {
     $results = array();
     $i = 0;
     foreach ($this->items as $item) {
         $notification = new Notification($this->db);
         $notification->bind($item);
         $results[$i] = $notification;
         $i++;
     }
     return $results;
 }