CoolCMS API

CountryFormTrait

Country edit form — translated name; ISO code, VAT id prefix, EU membership (flag + since/until), sort, active. Edit only (the ISO list is seeded by SQL).

Table of Contents

Methods

createComponentEditForm()  : Form
addCountrySettingsFields()  : void
addCountryTranslationFields()  : void
saveCountryForm()  : bool
setCountryFormDefaults()  : void

Methods

saveCountryForm()

private saveCountryForm(ArrayHash<string|int, mixed> $values) : bool
Parameters
$values : ArrayHash<string|int, mixed>
Return values
bool
On this page

Search results