/**
  * Lists all deleted RgnCity models.
  * @return mixed
  */
 public function actionDeleted()
 {
     if (RgnCityAccess::allowDeleted() == FALSE) {
         throw RgnCityAccess::exception('deleted');
     }
     $searchModel = new RgnCitySearch();
     $dataProvider = $searchModel->searchDeleted($_GET);
     Tabs::clearLocalStorage();
     Url::remember();
     \Yii::$app->session['__crudReturnUrl'] = null;
     return $this->render('deleted', ['dataProvider' => $dataProvider, 'searchModel' => $searchModel]);
 }
Beispiel #2
0
 * @var yii\widgets\ActiveForm $form
 */
?>

<div class="rgn-city-search">

	<?php 
$form = ActiveForm::begin(['action' => ['index'], 'method' => 'get']);
?>

	<?php 
echo $form->field($model, 'id');
?>

	<?php 
echo $form->field($model, 'status')->dropDownList(RgnCitySearch::optsstatus());
?>

	<?php 
echo $form->field($model, 'number');
?>

	<?php 
echo $form->field($model, 'name');
?>

	<?php 
echo $form->field($model, 'abbreviation');
?>

	<?php 
Beispiel #3
0
 * @var yii\widgets\ActiveForm $form
 */
?>

<div class="rgn-city-search">

	<?php 
$form = ActiveForm::begin(['action' => ['index'], 'method' => 'get']);
?>

	<?php 
echo $form->field($model, 'id');
?>

	<?php 
echo $form->field($model, 'recordStatus')->dropDownList(RgnCitySearch::optsRecordStatus());
?>

	<?php 
echo $form->field($model, 'number');
?>

	<?php 
echo $form->field($model, 'name');
?>

	<?php 
echo $form->field($model, 'abbreviation');
?>

	<?php