Wirelessly posted (BlackBerry8530/5.0.0.601 Profile/MIDP-2.1 Configuration/CLDC-1.1 VendorID/417)
She gets the miles, but only if her FFP account number is associated with the ticket.
If you purchase her ticket with a credit card that earns frequent-flyer miles, you will earn miles based on the cost of the ticket, but not for the flight itself.