ES
Size: a a a
ES
I
public function getStatusTypeOptions($value, $formData)
{
return ['all' => 'All', ...];
}
Ч
I
VM
I
public $implement = [
'Backend\Behaviors\ListController',
'Backend\Behaviors\FormController',
'Backend\Behaviors\ReorderController',
'Backend.Behaviors.RelationController',
];
I
public $reorderConfig = 'config_reorder.yaml';
I
КА
S
КА
КА
S
S
S
S
VM
КА
КА
КА
category:
label: Категория
showSearch: true
span: auto
required: 1
type: relation
nameFrom: name
blic $belongsTo = ['category' => [Category::class]];