daily_aux.inc

Description

Small, auxiliary functions called by other parts of the daily module: date related functions and error messages.

Functions

Namesort iconDescription
_daily_days_per_monthGet the number of days of a certain month.
_daily_format_dateFormat a date array for output.
_daily_form_error_correct_nrReturn an HTMLized error reflecting you have to enter a proper number.
_daily_form_error_duplicate_dateReturn an HTMLized error reflecting a daily item with this date already exists.
_daily_form_error_multiple_select_vocabularyReturn an HTMLized error reflecting your daily vocabulary has multiple select enabled.
_daily_form_error_no_nodes_foundReturn an HTMLized error reflecting no nodes of this type have been defined>
_daily_form_error_no_taxonomyReturn an HTMLized error reflecting the taxonomy module is not enabled.
_daily_form_error_no_tidReturn an HTMLized error reflecting you must select a daily taxonomy term.
_daily_form_error_no_vocabularyReturn an HTMLized error reflecting you have no daily taxonomy selected.
_daily_form_error_recursive_containerReturn an HTMLized error reflecting a daily container may not be included within a daily container.
_daily_pack_datePack a date array into a date string.
_daily_todayGet the current time in a date array.
_daily_tomorrowUpdate a date array to tomorrow.
_daily_unpack_dateUnpack a date string into a date array.