Formatting |
group |
includes/common.inc |
Functions to format numbers, strings, dates, etc. |
format_date |
function |
includes/common.inc |
Formats a date, using a date type or a custom date format string. |
format_size |
function |
includes/common.inc |
Generates a string representation for the given byte count. |
DiffFormatter |
class |
includes/diff.inc |
Base class for diff formatters |
format_string |
function |
includes/bootstrap.inc |
Formats a string for HTML display by replacing variable placeholders. |
format_plural |
function |
includes/common.inc |
Formats a string containing a count of items. |
filter_formats |
function |
modules/filter/filter.module |
Retrieves a list of text formats, ordered by weight. |
format_interval |
function |
includes/common.inc |
Formats a time interval with the requested granularity. |
DATE_FORMAT_ISO |
constant |
includes/date.inc |
|
format_rss_item |
function |
includes/common.inc |
Formats a single RSS item. |
format_username |
function |
includes/drupal.inc |
Format a username. |
DATE_FORMAT_UNIX |
constant |
includes/date.inc |
|
date_format_date |
function |
includes/date.inc |
Formats a date, using a date type or a custom date format string. |
user_format_name |
function |
modules/user/user.module |
Format a username. |
DATE_FORMAT_TIME |
constant |
includes/date.inc |
|
DATE_FORMAT_DATE |
constant |
includes/date.inc |
|
date_type_format |
function |
includes/date.inc |
Helper function for getting the format string for a date type. |
date_part_format |
function |
includes/date.inc |
Helper function to get a format for a specific part of a date field. |
DATE_FORMAT_ICAL |
constant |
includes/date.inc |
|
date_format_order |
function |
includes/date.inc |
Converts a format to an ordered array of granularity parts. |
date_limit_format |
function |
includes/date.inc |
Limits a date format to include only elements from a given granularity array. |
date_input_format |
function |
modules/date/date.elements.inc |
Determine the input format for this element. |
filter_format_load |
function |
modules/filter/filter.module |
Loads a text format object from the database. |
format_rss_channel |
function |
includes/common.inc |
Formats an RSS channel. |
filter_list_format |
function |
modules/filter/filter.module |
Retrieves a list of filters for a given text format. |
filter_format_save |
function |
modules/filter/filter.module |
Saves a text format object to configuration. |
format_xml_elements |
function |
includes/common.inc |
Recursively formats nested XML array elements as a string. |
Field Formatter API |
group |
modules/field/field.api.php |
Define Field API formatter types. |
date_default_format |
function |
modules/date/date.module |
Gets the default date format for the given field widget. |
dblog_format_message |
function |
modules/dblog/dblog.admin.inc |
Returns HTML for a log message. |
date_format_interval |
function |
includes/date.inc |
Formats a time interval with granularity, including past and future context. |
backdrop_json_format |
function |
includes/common.inc |
Format a string of JSON for older versions of PHP. |
filter_formats_reset |
function |
modules/filter/filter.module |
Resets the text format caches. |
date_format_patterns |
function |
includes/date.inc |
Constructs an array of regex replacement strings for date format elements. |
DiffFormatter::lines |
function |
includes/diff.inc |
|
filter_format_exists |
function |
modules/filter/filter.module |
Determines if a text format exists. |
filter_format_enable |
function |
modules/filter/filter.module |
Enables a text format. |
DiffFormatter::block |
function |
includes/diff.inc |
|
DATE_FORMAT_DATETIME |
constant |
includes/date.inc |
|
filter_format_access |
function |
modules/filter/filter.module |
Access callback: Checks a user's access to a particular text format. |
MailTestCase::format |
function |
modules/simpletest/tests/mail.test |
Concatenate and wrap the e-mail body for plain-text mails. |
DiffFormatter::added |
function |
includes/diff.inc |
|
_format_date_callback |
function |
includes/common.inc |
Translates a formatted date string. |
TaxonomyTerm::$format |
property |
modules/taxonomy/taxonomy.entity.inc |
(optional) The text format name for the term's description. |
BackdropDiffFormatter |
class |
includes/diff.inc |
Backdrop diff formatter which returns diffs as an array. |
filter_default_format |
function |
modules/filter/filter.module |
Returns the ID of the default text format for a particular user. |
filter_format_disable |
function |
modules/filter/filter.module |
Disables a text format. |
filter_process_format |
function |
modules/filter/filter.module |
Expands an element into a base element with text format selector attached. |
DiffFormatter::format |
function |
includes/diff.inc |
Format a diff. |
theme_image_formatter |
function |
modules/image/image.theme.inc |
Returns HTML for an image field formatter. |