Код: Выделить всё
$query->andWhere(['like', 'field', '%:data'])->addParams([':data' => $rule['data']]);
Код: Выделить всё
$query->andWhere(['like', 'field', '%:data'])->addParams([':data' => $rule['data']]);
@var callable slug unique value generator. It is used in case [[ensureUnique]] enabled and generated slug is not unique.
"Submenus just don't have much of a place on the web right now, especially the mobile web. They will be removed with 3.0" - https://github.com/twbs/bootstrap/pull/6342
+1 за common\helpersкласс, в котором только стаические методы