class FolderField extends AbstractField (View source)

Properties

protected array $data

The current search data.

from  AbstractField
protected $requestVariables
protected bool $isLoaded

Determines whether the data is loaded into the field. If this is true, loadFromRequest will not repopulate from request.

from  AbstractField

Methods

string
renderSearchField()

Generates the HTML for the search form (or an empty string if search is not supported).

jsonSerialize()

{@inheritdoc}

mixed
export(SimpleXMLElement $element)

Exports the data to CIF

denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = [])

No description

setData($key, $value)

No description

loadDataFromRequest(array $request)

Set the search criteria.

void
loadDataFromImport(SimpleXMLElement $element)

No description

__construct(FileFolder $folder = null, $searchSubFolders = false)

No description

string
getKey()

Get the field key.

string
getDisplayName()

Get the field display name.

filterList(ItemList $list)

No description

Details

string renderSearchField()

Generates the HTML for the search form (or an empty string if search is not supported).

Return Value

string

jsonSerialize()

{@inheritdoc}

See also

\JsonSerializable::jsonSerialize()

mixed export(SimpleXMLElement $element)

Exports the data to CIF

Parameters

SimpleXMLElement $element

Return Value

mixed

denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = [])

No description

Parameters

DenormalizerInterface $denormalizer
$data
$format
array $context

setData($key, $value)

No description

Parameters

$key
$value

loadDataFromRequest(array $request)

Set the search criteria.

Parameters

array $request

See also

FieldInterface::loadDataFromRequest

void loadDataFromImport(SimpleXMLElement $element)

No description

Parameters

SimpleXMLElement $element

Return Value

void

__construct(FileFolder $folder = null, $searchSubFolders = false)

No description

Parameters

FileFolder $folder
$searchSubFolders

string getKey()

Get the field key.

Return Value

string

string getDisplayName()

Get the field display name.

Return Value

string

filterList(ItemList $list)

No description

Parameters

ItemList $list