public function BirthdaysBirthday::toArray in Birthdays 7
Converts the value to an associative array.
Return value
An associative array with these indexes:
- year (4 digits or 0)
- month (1 to 12)
- day (1 to 31)
File
- ./
birthdays_birthday.inc, line 190 - The BirthdaysBirthday class.
Class
- BirthdaysBirthday
- Converts between different data representations and do calculations on a birthday.
Code
public function toArray() {
return $this->value;
}