You are here

function birthdays_get_todays_birthdays in Birthdays 6

Same name and namespace in other branches
  1. 5 birthdays.module \birthdays_get_todays_birthdays()

Helper function for displaying only todays birthdays

Return value

An array containing all user objects that have their birthday today

1 call to birthdays_get_todays_birthdays()
_birthdays_send_user_message in ./birthdays.mail.inc
Send all birthdays on this day a message

File

./birthdays.module, line 428
The Birthdays module allows users to add their birthday to their profile. It lists birthdays on a seperate page and in different blocks. Users can receive an e-mail on their birthday automatically, and the administrator can receive daily reminders of…

Code

function birthdays_get_todays_birthdays() {
  return birthdays_get_birthdays_by_days(1);
}