class Date implements FieldInterface

Class Date

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)

No description

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)

No description

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

Before the properties are displayed, some fields need to prepare their values or other information, which will be covered here.

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)

No description

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 165
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

at line 62
static array|null formatProperty(array $property, array $config)

No description

Parameters

array $property
array $config

Return Value

array|null

at line 114
static array getAdditionalEditFDL(array $field, array $fdl)

No description

Parameters

array $field
array $fdl

Return Value

array

One or more additional fields

at line 25
static array getConfigFields()

No description

Return Value

array

at line 45
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

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

No description

Parameters

string $searchWord
array $alternatives
xm_lookbook_property $property

Return Value

string

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

Before the properties are displayed, some fields need to prepare their values or other information, which will be covered here.

Therefor, these values are manipulated before set as template marker, thus before the formatProperty method.

Parameters

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

Return Value

void

at line 140
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

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

No description

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