Trying to get
$class = 'MyClass';
$class::classname() - MyClass not found
So, is it possible? Or are there other options?
public function actionMultiUpdate($module)
{
    if (isset($_REQUEST['multiedit']) && count($_REQUEST['multiedit'])) {
        foreach ($_REQUEST['multiedit'] as $id => $data) {
            $model = $module::findOne($id);
            $model->weight = $data['weight'];
            $model->save();
        }
    }
}
 
     
     
    