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