class Country implements FieldInterface

Traits

Methods

static void
addSpecialValues(array $row, array $config)

No description

static string
decorateSearchTableValue(xm_lookbook $mod, array $row, array $profiles, array $propertyConfig, array $userMeta)

No description

static array|null
formatProperty(array $property, array $config)

Trims the property value from line breaks and empty spaces.

static array
getAdditionalEditFDL(array $field, array $fdl)

No description

static array
getConfigFields()

No description

static array
getEditFDL(Controller $mod, array $field, Form $form, int $profileId, int $copyId, array $config)

No description

static string
getPropertySearchQuery(string $searchWord, array $alternatives, xm_lookbook_property $property)

Puts the search word into the query by comparing with 'LIKE' syntax with lower case on both, the profile property value from the database and the search word.

static void
preparePropertyDisplay(xm_lookbook $mod, xm_lookbook_profile $profile, array $property, array $config)

No description

static string|null
processConfigVariables(int $profileId, int $propertyId, string $fieldValue, int $copy, array $propertyConfig, string $profilePropertyConfig)

No description

static bool
processSubmittedValue(xm_lookbook $mod, int $profileId, string $submittedValue, array $field, string $fieldName, int $copy, array $config, array $fieldErrors, array $propertyValues)

Processes the submitted value after a users profile has been saved.

static void
shapeFieldSearchParams(array $fieldInput, string $fieldName, array $searchParams)

No description

Details

in FieldTrait at line 164
static void addSpecialValues(array $row, array $config)

No description

Parameters

array $row
array $config

Return Value

void

at line 47
static string decorateSearchTableValue(xm_lookbook $mod, array $row, array $profiles, array $propertyConfig, array $userMeta)

No description

Parameters

xm_lookbook $mod
array $row
array $profiles
array $propertyConfig
array $userMeta

Return Value

string

in FieldTrait at line 54
static array|null formatProperty(array $property, array $config)

Trims the property value from line breaks and empty spaces.

Parameters

array $property
array $config

Return Value

array|null

in FieldTrait at line 42
static array getAdditionalEditFDL(array $field, array $fdl)

No description

Parameters

array $field
array $fdl

Return Value

array

in FieldTrait at line 18
static array getConfigFields()

No description

Return Value

array

at line 28
static array getEditFDL(Controller $mod, array $field, Form $form, int $profileId, int $copyId, array $config)

No description

Parameters

Controller $mod
array $field
Form $form
int $profileId
int $copyId
array $config

Return Value

array

A single field

in FieldTrait at line 90
static string getPropertySearchQuery(string $searchWord, array $alternatives, xm_lookbook_property $property)

Puts the search word into the query by comparing with 'LIKE' syntax with lower case on both, the profile property value from the database and the search word.

Parameters

string $searchWord
array $alternatives
xm_lookbook_property $property

Return Value

string

at line 60
static void preparePropertyDisplay(xm_lookbook $mod, xm_lookbook_profile $profile, array $property, array $config)

No description

Parameters

xm_lookbook $mod
xm_lookbook_profile $profile
array $property
array $config

Return Value

void

in FieldTrait at line 111
static string|null processConfigVariables(int $profileId, int $propertyId, string $fieldValue, int $copy, array $propertyConfig, string $profilePropertyConfig)

No description

Parameters

int $profileId
int $propertyId
string $fieldValue
int $copy
array $propertyConfig
string $profilePropertyConfig

Return Value

string|null

at line 75
static bool processSubmittedValue(xm_lookbook $mod, int $profileId, string $submittedValue, array $field, string $fieldName, int $copy, array $config, array $fieldErrors, array $propertyValues)

Processes the submitted value after a users profile has been saved.

Each field needs its own execution routine and write the value directly into $submittedValue, as there is no uniform return type.

Parameters

xm_lookbook $mod
int $profileId
string $submittedValue
array $field
string $fieldName
int $copy
array $config
array $fieldErrors
array $propertyValues

Return Value

bool

in FieldTrait at line 122
static void shapeFieldSearchParams(array $fieldInput, string $fieldName, array $searchParams)

No description

Parameters

array $fieldInput
string $fieldName
array $searchParams

Return Value

void