%CC%F3%EB%FC%F2%E8%EA%E8%20%EF%F0%EE%20%C1%FD%F2%EC%E5%ED%E0
$orders = Order::find();
foreach($some_array as $key=>$value){
$orders->andFilterWhere([$key=>$value]);
}
$orders->andFilterWhere(['>=', 'priced_value', $modelExchangeSearchForm->price_from]);
$orders->andFilterWhere(['>=', 'priced_value', $modelExchangeSearchForm->price_from]);
if( file_exists(Yii::getAlias('@frontend').'/views/mydir'.$model->url.'.php')){
$view = $this->render($model->url, [
'model' => $model,
]);
}else{
$view = $this->render('default', [
'model' => $model,
]);
}
return $view;
$current = $dataProvider->pagination->page;
if($current == 0){
echo $someMyTextData;
}
$current = $dataProvider->pagination->currentPage;
if($current == 0){
echo $someMyTextData;
}