19declare(strict_types=1);
49 $supported_extensions = explode(
",", $input_value);
51 $trim_function =
function ($value) {
52 return trim(trim(strtolower($value)),
".");
55 return array_map($trim_function, $supported_extensions);
hasProperty(string $key)
Checks if a certain property for a field is set.
const PROP_SUPPORTED_FILE_TYPES
@noinspection AutoloadingIssuesInspection
parseSupportedExtensions(string $input_value)
getValidFieldProperties()
Returns all valid properties for a field-type.