1 | <?php |
||
21 | class OrganizationType extends Field |
||
22 | { |
||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | public $defaultSelectionLabel = '-- Select Organization Type --'; |
||
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | public static function displayName(): string |
||
35 | |||
36 | /** |
||
37 | * @inheritdoc |
||
38 | * @throws \Twig\Error\LoaderError |
||
39 | * @throws \Twig\Error\RuntimeError |
||
40 | * @throws \Twig\Error\SyntaxError |
||
41 | */ |
||
42 | public function getInputHtml($value, ElementInterface $element = null): string |
||
53 | |||
54 | /** |
||
55 | * @inheritdoc |
||
56 | * @throws \Twig\Error\LoaderError |
||
57 | * @throws \Twig\Error\RuntimeError |
||
58 | * @throws \Twig\Error\SyntaxError |
||
59 | */ |
||
60 | public function getSettingsHtml() |
||
69 | |||
70 | /** |
||
71 | * @inheritdoc |
||
72 | * @throws \yii\base\Exception |
||
73 | */ |
||
74 | public function getContentColumnType(): string |
||
78 | |||
79 | /** |
||
80 | * @inheritdoc |
||
81 | * |
||
82 | * @return OrganizationTypeRecord|null |
||
83 | */ |
||
84 | public function normalizeValue($value, ElementInterface $element = null) |
||
96 | |||
97 | /** |
||
98 | * @param $value |
||
99 | * @param ElementInterface|null $element |
||
100 | * @return array|int|mixed|null|string |
||
101 | */ |
||
102 | public function serializeValue($value, ElementInterface $element = null) |
||
110 | } |
||
111 |