You are here

function _birthdays_show_date in Birthdays 5

Same name and namespace in other branches
  1. 6 birthdays.module \_birthdays_show_date()

Format date array

4 calls to _birthdays_show_date()
birthdays_profile_alter in ./birthdays.module
Alter the way the birthday is shown. This is fired after every module has filled the profile.
theme_birthdays_block in ./birthdays.module
Theme function of the blocks
theme_birthdays_page in ./birthdays.module
@desc Theme a birthdays page
_birthdays_send_admin_message in ./birthdays.module
Sends e-mail to administrator once a day as reminder about the upcoming 7 days

File

./birthdays.module, line 1455
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_show_date($date, $account, $format = 'small') {
  if (is_array($date)) {

    // Extract date
    extract($date);

    // Call main format function
    return _birthdays_show_date_2($day, $month, $year, $account, $format);
  }
  else {
    return NULL;
  }
}