public function getGuestList()
    {
        $reservationClass = Reservation::singleton()->getClassName();
        $attendeeClass = Attendee::singleton()->getClassName();
        return Attendee::get()
            ->leftJoin($reservationClass, "`$attendeeClass`.`ReservationID` = `$reservationClass`.`ID`")
            ->filter(array(
                'EventID' => $this->owner->ID
            ))
            ->filterAny(array(
                'ReservationID' => 0,
                'Status' => Reservation::STATUS_PAID
            ));
    }
public function getGuestList()
    {
        $reservationClass = Reservation::singleton()->getClassName();
        $attendeeClass = Attendee::singleton()->getClassName();
        return Attendee::get()
            ->leftJoin($reservationClass, "`$attendeeClass`.`ReservationID` = `$reservationClass`.`ID`")
            ->filter(array(
                'EventID' => $this->owner->ID
            ))
            ->filterAny(array(
                'ReservationID' => 0,
                'Status' => Reservation::STATUS_PAID
            ));
    }
public function getGuestList ( ) { $ reservationClass = Reservation :: singleton ( ) -> getClassName ( ) ; $ attendeeClass = Attendee :: singleton ( ) -> getClassName ( ) ; return Attendee :: get ( ) -> leftJoin ( $ reservationClass , "`$attendeeClass`.`ReservationID` = `$reservationClass`.`ID`" ) -> filter ( array ( 'EventID' => $ this -> owner -> ID ) ) -> filterAny ( array ( 'ReservationID' => 0 , 'Status' => Reservation :: STATUS_PAID ) ) ; }
Get only the attendees who are certain to attend
Also includes attendees without any reservation, these are manually added

@return \DataList
Get only the attendees who are certain to attend Also includes attendees without any reservation these are manually added