protected function loadCabinAndBookingClass($criteria)
    {
        foreach ($criteria->cabins as $cabin) {
            $this->cabinProduct[] = new CabinProduct($cabin);
        }

        $this->rdb = $criteria->bookingCode;
    }
protected function loadCabinAndBookingClass($criteria)
    {
        foreach ($criteria->cabins as $cabin) {
            $this->cabinProduct[] = new CabinProduct($cabin);
        }

        $this->rdb = $criteria->bookingCode;
    }
protected function loadCabinAndBookingClass ( $ criteria ) { foreach ( $ criteria -> cabins as $ cabin ) { $ this -> cabinProduct [ ] = new CabinProduct ( $ cabin ) ; } $ this -> rdb = $ criteria -> bookingCode ; }
@param FFCriteria $criteria
@param FFCriteria $criteria