Functions to format numbers, strings, dates, etc.


core/includes/, line 2140
Common functions that many Backdrop modules will need to reference.


Namesort descending Location Description
format_date core/includes/ Formats a date, using a date type or a custom date format string.
format_interval core/includes/ Formats a time interval with the requested granularity.
format_plural core/includes/ Formats a string containing a count of items.
format_rss_channel core/includes/ Formats an RSS channel.
format_rss_item core/includes/ Formats a single RSS item.
format_size core/includes/ Generates a string representation for the given byte count.
format_xml_elements core/includes/ Recursively formats nested XML array elements as a string.
parse_size core/includes/ Parses a given byte count.
_format_date_callback core/includes/ Translates a formatted date string.