Skip to content

Instantly share code, notes, and snippets.

View moplin's full-sized avatar

mOpLin moplin

View GitHub Profile
class BannerImageController extends Controller
{
public function actions()
{
return ArrayHelper::merge(parent::actions(), [
'link' => [
'class' => EditableColumnAction::className(),
'modelClass' => CexBannerImg::className(),
'outputValue' => function ($model, $attribute, $key, $index) {