CI_Calendar::get_day_names()

get_day_names($day_type = '')

Parameters:
  • $day_type (string) – ‘long’, ‘short’, or ‘abr’
Returns:

Array of day names

Return type:

array

Returns an array of day names (Sunday, Monday, etc.) based on the type provided. Options: long, short, abr. If no $day_type is provided (or if an invalid type is provided) this method will return the “abbreviated” style.

doc_CodeIgniter
2016-10-15 16:30:57
Comments
Leave a Comment

Please login to continue.