public function actionAp() { $model = new ActivityProduct(); $id = 28843; var_dump($model->getAttrValById($id)); }