Formatting

  1. cis7 includes/common.inc format
  2. cle7 includes/common.inc format
  3. elmsmedia7 includes/common.inc format
  4. icor7 includes/common.inc format
  5. meedjum_blog7 includes/common.inc format
  6. mooc7 includes/common.inc format

Functions to format numbers, strings, dates, etc.

Functions

Namesort descending Location Description
date_iso8601 includes/common.inc Returns an ISO8601 formatted date based on the given date.
format_date includes/common.inc Formats a date, using a date type or a custom date format string.
format_interval includes/common.inc Formats a time interval with the requested granularity.
format_plural includes/common.inc Formats a string containing a count of items.
format_rss_channel includes/common.inc Formats an RSS channel.
format_rss_item includes/common.inc Formats a single RSS item.
format_size includes/common.inc Generates a string representation for the given byte count.
format_username includes/common.inc Format a username.
format_xml_elements includes/common.inc Formats XML elements.
parse_size includes/common.inc Parses a given byte count.
_format_date_callback includes/common.inc Translates a formatted date string.

File

includes/common.inc, line 1674
Common functions that many Drupal modules will need to reference.

Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.