public function getModelAttributes() { $attrs = parent::getModelAttributes(); $model = $this->getModel(); $attrs['mid_src'] = $model->getImageSrc('mid'); return $attrs; }
public function getModelAttributes() { $model = $this->getModel(); $attrs = parent::getModelAttributes(); $attrs['groups'] = $model->getGroups(); $attrs['enabled'] = $model->getEnabled(); return $attrs; }