mirocow\eav\widgets\DropDownList::run PHP 메소드

run() 공개 메소드

public run ( )
    public function run()
    {
        $options = $this->attributeModel->getEavOptions()->asArray()->all();
        return $this->owner->activeForm->field($this->owner, $this->getAttributeName(), ['template' => "{input}\n{hint}\n{error}"])->dropDownList(ArrayHelper::map($options, 'id', 'value'));
    }
DropDownList