SproutCMS

This is the code documentation for the SproutCMS project

function outputAddressText()

Returns a string which is a formatted version of the address specified using the provided data.
The string contains newlines which will need converting to BRs for HTML output

Usage

string $LocaleInfo->outputAddressText ( array|object $data );

Arguments

  1. array|object $data
    A record from the database
           required columns: street, town, state, postcode, country

Return value

  • string
    Plaintext