CRM_Utils_Address
class CRM_Utils_Address
Address Utilities
Methods
static string
format(array $fields, string $format = NULL, bool $microformat = FALSE, bool $mailing = FALSE, bool $individualFormat = FALSE, null $tokenFields = NULL)
Format an address string from address fields and a format string.
static array
sequence($format)
No description
static string
getFormattedBillingAddressFieldsFromParameters(array $params, int $billingLocationTypeID)
Extract the billing fields from the form submission and format them for display.
Details
at line 59
static string
format(array $fields, string $format = NULL, bool $microformat = FALSE, bool $mailing = FALSE, bool $individualFormat = FALSE, null $tokenFields = NULL)
Format an address string from address fields and a format string.
Format an address basing on the address fields provided. Use Setting's address_format if there's no format specified.
at line 303
static array
sequence($format)
at line 343
static string
getFormattedBillingAddressFieldsFromParameters(array $params, int $billingLocationTypeID)
Extract the billing fields from the form submission and format them for display.