SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class LocaleController

For things related to Locales

Functions

NameVisibilityDescription
getAddressFieldspublicOutputs fields for an address which is not mandatory
getAddressFieldsRequiredpublicOutputs fields for an address which is mandatory
getPrefixprotectedExtracts a prefix for use with address fields from $_GET['prefix']

public getAddressFields

void $LocaleController->getAddressFields ( string $country );

Outputs fields for an address which is not mandatory

public getAddressFieldsRequired

void $LocaleController->getAddressFieldsRequired ( string $country );

Outputs fields for an address which is mandatory

protected getPrefix

string $LocaleController->getPrefix ( );

Extracts a prefix for use with address fields from $_GET['prefix']

If the get param is invalid, it is ignored