Answer the question
In order to leave comments, you need to log in
How to correctly pass parameters to the search model?
Here's the code I'm trying to find an element by id_group
$id = ($_GET['id']);
$searchModel = new CharacteristicGroupSearch();
$attributesModel = $searchModel->search(['id_group' => $id]);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question