data baru

parent 7cf5f8d7
This source diff could not be displayed because it is too large. You can view the blob instead.
<?php
namespace backend\modules\evin\controllers;
use yii\web\Controller;
/**
* Default controller for the `evin` module
*/
class DefaultController extends Controller
{
/**
* Renders the index view for the module
* @return string
*/
public function actionIndex()
{
return $this->render('index');
}
}
<?php
namespace backend\modules\evin\controllers;
use Yii;
use backend\modules\evin\models\EvinTahunan;
use backend\modules\evin\models\EvinTahunanPertanyaanSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* EvintahunanController implements the CRUD actions for EvinTahunan model.
*/
class EvintahunanController extends Controller
{
/**
* @inheritdoc
*/
public function behaviors()
{
return [
'verbs' => [
'class' => VerbFilter::className(),
'actions' => [
'delete' => ['POST'],
],
],
];
}
/**
* Lists all EvinTahunan models.
* @return mixed
*/
public function actionIndex()
{
$searchModel = new EvinTahunanPertanyaanSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
return $this->render('index', [
'searchModel' => $searchModel,
'dataProvider' => $dataProvider,
]);
}
/**
* Displays a single EvinTahunan model.
* @param integer $id
* @return mixed
*/
public function actionView($id)
{
return $this->render('view', [
'model' => $this->findModel($id),
]);
}
/**
* Creates a new EvinTahunan model.
* If creation is successful, the browser will be redirected to the 'view' page.
* @return mixed
*/
public function actionCreate()
{
$model = new EvinTahunan();
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->evaluasi_tahunan_id]);
} else {
return $this->render('create', [
'model' => $model,
]);
}
}
/**
* Updates an existing EvinTahunan model.
* If update is successful, the browser will be redirected to the 'view' page.
* @param integer $id
* @return mixed
*/
public function actionUpdate($id)
{
$model = $this->findModel($id);
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->evaluasi_tahunan_id]);
} else {
return $this->render('update', [
'model' => $model,
]);
}
}
/**
* Deletes an existing EvinTahunan model.
* If deletion is successful, the browser will be redirected to the 'index' page.
* @param integer $id
* @return mixed
*/
public function actionDelete($id)
{
$this->findModel($id)->delete();
return $this->redirect(['index']);
}
/**
* Finds the EvinTahunan model based on its primary key value.
* If the model is not found, a 404 HTTP exception will be thrown.
* @param integer $id
* @return EvinTahunan the loaded model
* @throws NotFoundHttpException if the model cannot be found
*/
protected function findModel($id)
{
if (($model = EvinTahunan::findOne($id)) !== null) {
return $model;
} else {
throw new NotFoundHttpException('The requested page does not exist.');
}
}
}
<?php
namespace backend\modules\evin\controllers;
use Yii;
use backend\modules\evin\models\EvinTahunanJawaban;
use backend\modules\evin\models\EvinTahunanJawabanSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* TahunanjawabanController implements the CRUD actions for EvinTahunanJawaban model.
*/
class TahunanjawabanController extends Controller
{
/**
* @inheritdoc
*/
public function behaviors()
{
return [
'verbs' => [
'class' => VerbFilter::className(),
'actions' => [
'delete' => ['POST'],
],
],
];
}
/**
* Lists all EvinTahunanJawaban models.
* @return mixed
*/
public function actionIndex()
{
$searchModel = new EvinTahunanJawabanSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
return $this->render('index', [
'searchModel' => $searchModel,
'dataProvider' => $dataProvider,
]);
}
/**
* Displays a single EvinTahunanJawaban model.
* @param integer $id
* @return mixed
*/
public function actionView($id)
{
return $this->render('view', [
'model' => $this->findModel($id),
]);
}
/**
* Creates a new EvinTahunanJawaban model.
* If creation is successful, the browser will be redirected to the 'view' page.
* @return mixed
*/
public function actionCreate()
{
$model = new EvinTahunanJawaban();
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->tahunan_jawaban_id]);
} else {
return $this->render('create', [
'model' => $model,
]);
}
}
/**
* Updates an existing EvinTahunanJawaban model.
* If update is successful, the browser will be redirected to the 'view' page.
* @param integer $id
* @return mixed
*/
public function actionUpdate($id)
{
$model = $this->findModel($id);
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->tahunan_jawaban_id]);
} else {
return $this->render('update', [
'model' => $model,
]);
}
}
/**
* Deletes an existing EvinTahunanJawaban model.
* If deletion is successful, the browser will be redirected to the 'index' page.
* @param integer $id
* @return mixed
*/
public function actionDelete($id)
{
$this->findModel($id)->delete();
return $this->redirect(['index']);
}
/**
* Finds the EvinTahunanJawaban model based on its primary key value.
* If the model is not found, a 404 HTTP exception will be thrown.
* @param integer $id
* @return EvinTahunanJawaban the loaded model
* @throws NotFoundHttpException if the model cannot be found
*/
protected function findModel($id)
{
if (($model = EvinTahunanJawaban::findOne($id)) !== null) {
return $model;
} else {
throw new NotFoundHttpException('The requested page does not exist.');
}
}
}
<?php
namespace backend\modules\evin\controllers;
use Yii;
use backend\modules\evin\models\EvinTahunanKategori;
use backend\modules\evin\models\EvinTahunanKategoriSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* TahunankategoriController implements the CRUD actions for EvinTahunanKategori model.
*/
class TahunankategoriController extends Controller
{
/**
* @inheritdoc
*/
public function behaviors()
{
return [
'verbs' => [
'class' => VerbFilter::className(),
'actions' => [
'delete' => ['POST'],
],
],
];
}
/**
* Lists all EvinTahunanKategori models.
* @return mixed
*/
public function actionIndex()
{
$searchModel = new EvinTahunanKategoriSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
return $this->render('index', [
'searchModel' => $searchModel,
'dataProvider' => $dataProvider,
]);
}
/**
* Displays a single EvinTahunanKategori model.
* @param integer $id
* @return mixed
*/
public function actionView($id)
{
return $this->render('view', [
'model' => $this->findModel($id),
]);
}
/**
* Creates a new EvinTahunanKategori model.
* If creation is successful, the browser will be redirected to the 'view' page.
* @return mixed
*/
public function actionCreate()
{
$model = new EvinTahunanKategori();
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->kategori_id]);
} else {
return $this->render('create', [
'model' => $model,
]);
}
}
/**
* Updates an existing EvinTahunanKategori model.
* If update is successful, the browser will be redirected to the 'view' page.
* @param integer $id
* @return mixed
*/
public function actionUpdate($id)
{
$model = $this->findModel($id);
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->kategori_id]);
} else {
return $this->render('update', [
'model' => $model,
]);
}
}
/**
* Deletes an existing EvinTahunanKategori model.
* If deletion is successful, the browser will be redirected to the 'index' page.
* @param integer $id
* @return mixed
*/
public function actionDelete($id)
{
$this->findModel($id)->delete();
return $this->redirect(['index']);
}
/**
* Finds the EvinTahunanKategori model based on its primary key value.
* If the model is not found, a 404 HTTP exception will be thrown.
* @param integer $id
* @return EvinTahunanKategori the loaded model
* @throws NotFoundHttpException if the model cannot be found
*/
protected function findModel($id)
{
if (($model = EvinTahunanKategori::findOne($id)) !== null) {
return $model;
} else {
throw new NotFoundHttpException('The requested page does not exist.');
}
}
}
<?php
namespace backend\modules\evin\controllers;
use Yii;
use backend\modules\evin\models\EvinTahunanPertanyaan;
use backend\modules\evin\models\EvinTahunanPertanyaanSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* TahunanpertanyaanController implements the CRUD actions for EvinTahunanPertanyaan model.
*/
class TahunanpertanyaanController extends Controller
{
/**
* @inheritdoc
*/
public function behaviors()
{
return [
'verbs' => [
'class' => VerbFilter::className(),
'actions' => [
'delete' => ['POST'],
],
],
];
}
/**
* Lists all EvinTahunanPertanyaan models.
* @return mixed
*/
public function actionIndex()
{
$searchModel = new EvinTahunanPertanyaanSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
return $this->render('index', [
'searchModel' => $searchModel,
'dataProvider' => $dataProvider,
]);
}
/**
* Displays a single EvinTahunanPertanyaan model.
* @param integer $id
* @return mixed
*/
public function actionView($id)
{
return $this->render('view', [
'model' => $this->findModel($id),
]);
}
/**
* Creates a new EvinTahunanPertanyaan model.
* If creation is successful, the browser will be redirected to the 'view' page.
* @return mixed
*/
public function actionCreate()
{
$model = new EvinTahunanPertanyaan();
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->tahunan_pertanyaan_id]);
} else {
return $this->render('create', [
'model' => $model,
]);
}
}
/**
* Updates an existing EvinTahunanPertanyaan model.
* If update is successful, the browser will be redirected to the 'view' page.
* @param integer $id
* @return mixed
*/
public function actionUpdate($id)
{
$model = $this->findModel($id);
if ($model->load(Yii::$app->request->post()) && $model->save()) {
return $this->redirect(['view', 'id' => $model->tahunan_pertanyaan_id]);
} else {
return $this->render('update', [
'model' => $model,
]);
}
}
/**
* Deletes an existing EvinTahunanPertanyaan model.
* If deletion is successful, the browser will be redirected to the 'index' page.
* @param integer $id
* @return mixed
*/
public function actionDelete($id)
{
$this->findModel($id)->delete();
return $this->redirect(['index']);
}
/**
* Finds the EvinTahunanPertanyaan model based on its primary key value.
* If the model is not found, a 404 HTTP exception will be thrown.
* @param integer $id
* @return EvinTahunanPertanyaan the loaded model
* @throws NotFoundHttpException if the model cannot be found
*/
protected function findModel($id)
{
if (($model = EvinTahunanPertanyaan::findOne($id)) !== null) {
return $model;
} else {
throw new NotFoundHttpException('The requested page does not exist.');
}
}
}
<?php
namespace backend\modules\evin;
/**
* evin module definition class
*/
class evin extends \yii\base\Module
{
/**
* @inheritdoc
*/
public $controllerNamespace = 'backend\modules\evin\controllers';
/**
* @inheritdoc
*/
public function init()
{
parent::init();
// custom initialization code goes here
}
}
<?php
namespace backend\modules\evin\models;
use Yii;
/**
* This is the model class for table "evin_tahunan".
*
* @property integer $evaluasi_tahunan_id
* @property integer $ta
* @property string $nama
* @property double $nilai
* @property string $deleted_at
* @property string $deleted_by
* @property string $created_at
* @property string $created_by
* @property string $update_by
*/
class EvinTahunan extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'evin_tahunan';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['evaluasi_tahunan_id'], 'required'],
[['evaluasi_tahunan_id', 'ta'], 'integer'],
[['nilai'], 'number'],
[['deleted_at', 'created_at'], 'safe'],
[['nama'], 'string', 'max' => 255],
[['deleted_by', 'created_by', 'update_by'], 'string', 'max' => 32],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'evaluasi_tahunan_id' => 'Evaluasi Tahunan ID',
'ta' => 'Ta',
'nama' => 'Nama',
'nilai' => 'Nilai',
'deleted_at' => 'Deleted At',
'deleted_by' => 'Deleted By',
'created_at' => 'Created At',
'created_by' => 'Created By',
'update_by' => 'Update By',
];
}
}
<?php
namespace backend\modules\evin\models;
use Yii;
/**
* This is the model class for table "evin_tahunan_jawaban".
*
* @property integer $tahunan_jawaban_id
* @property integer $tahunan_pertanyaan_id
* @property string $jawaban
* @property string $peserta
* @property integer $dosen_id
* @property integer $deleted_at
* @property integer $deleted_by
* @property string $created_at
* @property string $created_by
* @property string $updated_by
*/
class EvinTahunanJawaban extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'evin_tahunan_jawaban';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['tahunan_jawaban_id'], 'required'],
[['tahunan_jawaban_id', 'tahunan_pertanyaan_id', 'dosen_id', 'deleted_at', 'deleted_by'], 'integer'],
[['jawaban'], 'string'],
[['created_at'], 'safe'],
[['peserta', 'created_by', 'updated_by'], 'string', 'max' => 32],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'tahunan_jawaban_id' => 'Tahunan Jawaban ID',
'tahunan_pertanyaan_id' => 'Tahunan Pertanyaan ID',
'jawaban' => 'Jawaban',
'peserta' => 'Peserta',
'dosen_id' => 'Dosen ID',
'deleted_at' => 'Deleted At',
'deleted_by' => 'Deleted By',
'created_at' => 'Created At',
'created_by' => 'Created By',
'updated_by' => 'Updated By',
];
}
}
<?php
namespace backend\modules\evin\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\modules\evin\models\EvinTahunanJawaban;
/**
* EvinTahunanJawabanSearch represents the model behind the search form about `backend\modules\evin\models\EvinTahunanJawaban`.
*/
class EvinTahunanJawabanSearch extends EvinTahunanJawaban
{
/**
* @inheritdoc
*/
public function rules()
{
return [
[['tahunan_jawaban_id', 'tahunan_pertanyaan_id', 'dosen_id', 'deleted_at', 'deleted_by'], 'integer'],
[['jawaban', 'peserta', 'created_at', 'created_by', 'updated_by'], 'safe'],
];
}
/**
* @inheritdoc
*/
public function scenarios()
{
// bypass scenarios() implementation in the parent class
return Model::scenarios();
}
/**
* Creates data provider instance with search query applied
*
* @param array $params
*
* @return ActiveDataProvider
*/
public function search($params)
{
$query = EvinTahunanJawaban::find();
// add conditions that should always apply here
$dataProvider = new ActiveDataProvider([
'query' => $query,
]);
$this->load($params);
if (!$this->validate()) {
// uncomment the following line if you do not want to return any records when validation fails
// $query->where('0=1');
return $dataProvider;
}
// grid filtering conditions
$query->andFilterWhere([
'tahunan_jawaban_id' => $this->tahunan_jawaban_id,
'tahunan_pertanyaan_id' => $this->tahunan_pertanyaan_id,
'dosen_id' => $this->dosen_id,
'deleted_at' => $this->deleted_at,
'deleted_by' => $this->deleted_by,
'created_at' => $this->created_at,
]);
$query->andFilterWhere(['like', 'jawaban', $this->jawaban])
->andFilterWhere(['like', 'peserta', $this->peserta])
->andFilterWhere(['like', 'created_by', $this->created_by])
->andFilterWhere(['like', 'updated_by', $this->updated_by]);
return $dataProvider;
}
}
<?php
namespace backend\modules\evin\models;
use Yii;
/**
* This is the model class for table "evin_tahunan_kategori".
*
* @property integer $kategori_id
* @property string $nama_kategori
* @property string $deleted_by
* @property string $deleted_at
* @property string $created_by
* @property string $created_at
* @property string $updated_by
*/
class EvinTahunanKategori extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'evin_tahunan_kategori';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['kategori_id'], 'required'],
[['kategori_id'], 'integer'],
[['deleted_at', 'created_at'], 'safe'],
[['nama_kategori'], 'string', 'max' => 255],
[['deleted_by', 'created_by', 'updated_by'], 'string', 'max' => 32],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'kategori_id' => 'Kategori ID',
'nama_kategori' => 'Nama Kategori',
'deleted_by' => 'Deleted By',
'deleted_at' => 'Deleted At',
'created_by' => 'Created By',
'created_at' => 'Created At',
'updated_by' => 'Updated By',
];
}
}
<?php
namespace backend\modules\evin\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\modules\evin\models\EvinTahunanKategori;
/**
* EvinTahunanKategoriSearch represents the model behind the search form about `backend\modules\evin\models\EvinTahunanKategori`.
*/
class EvinTahunanKategoriSearch extends EvinTahunanKategori
{
/**
* @inheritdoc
*/
public function rules()
{
return [
[['kategori_id'], 'integer'],
[['nama_kategori', 'deleted_by', 'deleted_at', 'created_by', 'created_at', 'updated_by'], 'safe'],
];
}
/**
* @inheritdoc
*/
public function scenarios()
{
// bypass scenarios() implementation in the parent class
return Model::scenarios();
}
/**
* Creates data provider instance with search query applied
*
* @param array $params
*
* @return ActiveDataProvider
*/
public function search($params)
{
$query = EvinTahunanKategori::find();
// add conditions that should always apply here
$dataProvider = new ActiveDataProvider([
'query' => $query,
]);
$this->load($params);
if (!$this->validate()) {
// uncomment the following line if you do not want to return any records when validation fails
// $query->where('0=1');
return $dataProvider;
}
// grid filtering conditions
$query->andFilterWhere([
'kategori_id' => $this->kategori_id,
'deleted_at' => $this->deleted_at,
'created_at' => $this->created_at,
]);
$query->andFilterWhere(['like', 'nama_kategori', $this->nama_kategori])
->andFilterWhere(['like', 'deleted_by', $this->deleted_by])
->andFilterWhere(['like', 'created_by', $this->created_by])
->andFilterWhere(['like', 'updated_by', $this->updated_by]);
return $dataProvider;
}
}
<?php
namespace backend\modules\evin\models;
use Yii;
/**
* This is the model class for table "evin_tahunan_pertanyaan".
*
* @property integer $tahunan_pertanyaan_id
* @property integer $evaluasi_tahunan_id
* @property integer $kategori_id
* @property double $nomor
* @property string $pertanyaan
* @property string $deleted_at
* @property string $deleted_by
* @property string $created_at
* @property string $created_by
* @property string $update_by
*/
class EvinTahunanPertanyaan extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'evin_tahunan_pertanyaan';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['tahunan_pertanyaan_id'], 'required'],
[['tahunan_pertanyaan_id', 'evaluasi_tahunan_id', 'kategori_id'], 'integer'],
[['nomor'], 'number'],
[['pertanyaan'], 'string'],
[['deleted_at', 'created_at'], 'safe'],
[['deleted_by', 'created_by', 'update_by'], 'string', 'max' => 32],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'tahunan_pertanyaan_id' => 'Tahunan Pertanyaan ID',
'evaluasi_tahunan_id' => 'Evaluasi Tahunan ID',
'kategori_id' => 'Kategori ID',
'nomor' => 'Nomor',
'pertanyaan' => 'Pertanyaan',
'deleted_at' => 'Deleted At',
'deleted_by' => 'Deleted By',
'created_at' => 'Created At',
'created_by' => 'Created By',
'update_by' => 'Update By',
];
}
}
<?php
namespace backend\modules\evin\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\modules\evin\models\EvinTahunanPertanyaan;
/**
* EvinTahunanPertanyaanSearch represents the model behind the search form about `backend\modules\evin\models\EvinTahunanPertanyaan`.
*/
class EvinTahunanPertanyaanSearch extends EvinTahunanPertanyaan
{
/**
* @inheritdoc
*/
public function rules()
{
return [
[['tahunan_pertanyaan_id', 'evaluasi_tahunan_id', 'kategori_id'], 'integer'],
[['nomor'], 'number'],
[['pertanyaan', 'deleted_at', 'deleted_by', 'created_at', 'created_by', 'update_by'], 'safe'],
];
}
/**
* @inheritdoc
*/
public function scenarios()
{
// bypass scenarios() implementation in the parent class
return Model::scenarios();
}
/**
* Creates data provider instance with search query applied
*
* @param array $params
*
* @return ActiveDataProvider
*/
public function search($params)
{
$query = EvinTahunanPertanyaan::find();
// add conditions that should always apply here
$dataProvider = new ActiveDataProvider([
'query' => $query,
]);
$this->load($params);
if (!$this->validate()) {
// uncomment the following line if you do not want to return any records when validation fails
// $query->where('0=1');
return $dataProvider;
}
// grid filtering conditions
$query->andFilterWhere([
'tahunan_pertanyaan_id' => $this->tahunan_pertanyaan_id,
'evaluasi_tahunan_id' => $this->evaluasi_tahunan_id,
'kategori_id' => $this->kategori_id,
'nomor' => $this->nomor,
'deleted_at' => $this->deleted_at,
'created_at' => $this->created_at,
]);
$query->andFilterWhere(['like', 'pertanyaan', $this->pertanyaan])
->andFilterWhere(['like', 'deleted_by', $this->deleted_by])
->andFilterWhere(['like', 'created_by', $this->created_by])
->andFilterWhere(['like', 'update_by', $this->update_by]);
return $dataProvider;
}
}
<div class="evin-default-index">
<h1><?= $this->context->action->uniqueId ?></h1>
<p>
This is the view content for action "<?= $this->context->action->id ?>".
The action belongs to the controller "<?= get_class($this->context) ?>"
in the "<?= $this->context->module->id ?>" module.
</p>
<p>
You may customize this page by editing the following file:<br>
<code><?= __FILE__ ?></code>
</p>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunan */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="evin-tahunan-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'evaluasi_tahunan_id')->textInput() ?>
<?= $form->field($model, 'ta')->textInput() ?>
<?= $form->field($model, 'nama')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'nilai')->textInput() ?>
<?= $form->field($model, 'deleted_at')->textInput() ?>
<?= $form->field($model, 'deleted_by')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'created_at')->textInput() ?>
<?= $form->field($model, 'created_by')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'update_by')->textInput(['maxlength' => true]) ?>
<div class="form-group">
<?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanPertanyaanSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="evin-tahunan-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'evaluasi_tahunan_id') ?>
<?= $form->field($model, 'ta') ?>
<?= $form->field($model, 'nama') ?>
<?= $form->field($model, 'nilai') ?>
<?= $form->field($model, 'deleted_at') ?>
<?php // echo $form->field($model, 'deleted_by') ?>
<?php // echo $form->field($model, 'created_at') ?>
<?php // echo $form->field($model, 'created_by') ?>
<?php // echo $form->field($model, 'update_by') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunan */
$this->title = 'Create Evin Tahunan';
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunans', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-create">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\modules\evin\models\EvinTahunanPertanyaanSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Evin Tahunans';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-index">
<h1><?= Html::encode($this->title) ?></h1>
<?php // echo $this->render('_search', ['model' => $searchModel]); ?>
<p>
<?= Html::a('Create Evin Tahunan', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'evaluasi_tahunan_id',
'ta',
'nama',
'nilai',
'deleted_at',
// 'deleted_by',
// 'created_at',
// 'created_by',
// 'update_by',
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
</div>
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunan */
$this->title = 'Update Evin Tahunan: ' . $model->evaluasi_tahunan_id;
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunans', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->evaluasi_tahunan_id, 'url' => ['view', 'id' => $model->evaluasi_tahunan_id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="evin-tahunan-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunan */
$this->title = $model->evaluasi_tahunan_id;
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunans', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-view">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a('Update', ['update', 'id' => $model->evaluasi_tahunan_id], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Delete', ['delete', 'id' => $model->evaluasi_tahunan_id], [
'class' => 'btn btn-danger',
'data' => [
'confirm' => 'Are you sure you want to delete this item?',
'method' => 'post',
],
]) ?>
</p>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'evaluasi_tahunan_id',
'ta',
'nama',
'nilai',
'deleted_at',
'deleted_by',
'created_at',
'created_by',
'update_by',
],
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanJawaban */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="evin-tahunan-jawaban-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'tahunan_jawaban_id')->textInput() ?>
<?= $form->field($model, 'tahunan_pertanyaan_id')->textInput() ?>
<?= $form->field($model, 'jawaban')->textarea(['rows' => 6]) ?>
<?= $form->field($model, 'peserta')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'dosen_id')->textInput() ?>
<?= $form->field($model, 'deleted_at')->textInput() ?>
<?= $form->field($model, 'deleted_by')->textInput() ?>
<?= $form->field($model, 'created_at')->textInput() ?>
<?= $form->field($model, 'created_by')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'updated_by')->textInput(['maxlength' => true]) ?>
<div class="form-group">
<?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanJawabanSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="evin-tahunan-jawaban-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'tahunan_jawaban_id') ?>
<?= $form->field($model, 'tahunan_pertanyaan_id') ?>
<?= $form->field($model, 'jawaban') ?>
<?= $form->field($model, 'peserta') ?>
<?= $form->field($model, 'dosen_id') ?>
<?php // echo $form->field($model, 'deleted_at') ?>
<?php // echo $form->field($model, 'deleted_by') ?>
<?php // echo $form->field($model, 'created_at') ?>
<?php // echo $form->field($model, 'created_by') ?>
<?php // echo $form->field($model, 'updated_by') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanJawaban */
$this->title = 'Create Evin Tahunan Jawaban';
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunan Jawabans', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-jawaban-create">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\modules\evin\models\EvinTahunanJawabanSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Evin Tahunan Jawabans';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-jawaban-index">
<h1><?= Html::encode($this->title) ?></h1>
<?php // echo $this->render('_search', ['model' => $searchModel]); ?>
<p>
<?= Html::a('Create Evin Tahunan Jawaban', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'tahunan_jawaban_id',
'tahunan_pertanyaan_id',
'jawaban:ntext',
'peserta',
'dosen_id',
// 'deleted_at',
// 'deleted_by',
// 'created_at',
// 'created_by',
// 'updated_by',
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
</div>
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanJawaban */
$this->title = 'Update Evin Tahunan Jawaban: ' . $model->tahunan_jawaban_id;
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunan Jawabans', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->tahunan_jawaban_id, 'url' => ['view', 'id' => $model->tahunan_jawaban_id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="evin-tahunan-jawaban-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanJawaban */
$this->title = $model->tahunan_jawaban_id;
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunan Jawabans', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-jawaban-view">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a('Update', ['update', 'id' => $model->tahunan_jawaban_id], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Delete', ['delete', 'id' => $model->tahunan_jawaban_id], [
'class' => 'btn btn-danger',
'data' => [
'confirm' => 'Are you sure you want to delete this item?',
'method' => 'post',
],
]) ?>
</p>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'tahunan_jawaban_id',
'tahunan_pertanyaan_id',
'jawaban:ntext',
'peserta',
'dosen_id',
'deleted_at',
'deleted_by',
'created_at',
'created_by',
'updated_by',
],
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanKategori */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="evin-tahunan-kategori-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'kategori_id')->textInput() ?>
<?= $form->field($model, 'nama_kategori')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'deleted_by')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'deleted_at')->textInput() ?>
<?= $form->field($model, 'created_by')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'created_at')->textInput() ?>
<?= $form->field($model, 'updated_by')->textInput(['maxlength' => true]) ?>
<div class="form-group">
<?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanKategoriSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="evin-tahunan-kategori-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'kategori_id') ?>
<?= $form->field($model, 'nama_kategori') ?>
<?= $form->field($model, 'deleted_by') ?>
<?= $form->field($model, 'deleted_at') ?>
<?= $form->field($model, 'created_by') ?>
<?php // echo $form->field($model, 'created_at') ?>
<?php // echo $form->field($model, 'updated_by') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanKategori */
$this->title = 'Create Evin Tahunan Kategori';
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunan Kategoris', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-kategori-create">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\modules\evin\models\EvinTahunanKategoriSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Evin Tahunan Kategoris';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-kategori-index">
<h1><?= Html::encode($this->title) ?></h1>
<?php // echo $this->render('_search', ['model' => $searchModel]); ?>
<p>
<?= Html::a('Create Evin Tahunan Kategori', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'kategori_id',
'nama_kategori',
'deleted_by',
'deleted_at',
'created_by',
// 'created_at',
// 'updated_by',
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
</div>
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanKategori */
$this->title = 'Update Evin Tahunan Kategori: ' . $model->kategori_id;
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunan Kategoris', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->kategori_id, 'url' => ['view', 'id' => $model->kategori_id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="evin-tahunan-kategori-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanKategori */
$this->title = $model->kategori_id;
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunan Kategoris', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-kategori-view">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a('Update', ['update', 'id' => $model->kategori_id], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Delete', ['delete', 'id' => $model->kategori_id], [
'class' => 'btn btn-danger',
'data' => [
'confirm' => 'Are you sure you want to delete this item?',
'method' => 'post',
],
]) ?>
</p>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'kategori_id',
'nama_kategori',
'deleted_by',
'deleted_at',
'created_by',
'created_at',
'updated_by',
],
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use backend\modules\evin\models\EvinTahunanKategori;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanPertanyaan */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="evin-tahunan-pertanyaan-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'tahunan_pertanyaan_id')->textInput() ?>
<?= $form->field($model, 'evaluasi_tahunan_id')->textInput() ?>
<?= $form->field($model, 'kategori_id')->textInput() ->dropDownList(ArrayHelper::map(EvinTahunanKategori::find()->all(),'kategori_id','nama_kategori'),['prompt'=>'--Pilih kategori--'])?>
<?= $form->field($model, 'nomor')->textInput() ?>
<?= $form->field($model, 'pertanyaan')->textarea(['rows' => 6]) ?>
<?= $form->field($model, 'deleted_at')->textInput() ?>
<?= $form->field($model, 'deleted_by')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'created_at')->textInput() ?>
<?= $form->field($model, 'created_by')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'update_by')->textInput(['maxlength' => true]) ?>
<div class="form-group">
<?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanPertanyaanSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="evin-tahunan-pertanyaan-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'tahunan_pertanyaan_id') ?>
<?= $form->field($model, 'evaluasi_tahunan_id') ?>
<?= $form->field($model, 'kategori_id') ?>
<?= $form->field($model, 'nomor') ?>
<?= $form->field($model, 'pertanyaan') ?>
<?php // echo $form->field($model, 'deleted_at') ?>
<?php // echo $form->field($model, 'deleted_by') ?>
<?php // echo $form->field($model, 'created_at') ?>
<?php // echo $form->field($model, 'created_by') ?>
<?php // echo $form->field($model, 'update_by') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanPertanyaan */
$this->title = 'Create Evin Tahunan Pertanyaan';
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunan Pertanyaans', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-pertanyaan-create">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel backend\modules\evin\models\EvinTahunanPertanyaanSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Evin Tahunan Pertanyaans';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-pertanyaan-index">
<h1><?= Html::encode($this->title) ?></h1>
<?php // echo $this->render('_search', ['model' => $searchModel]); ?>
<p>
<?= Html::a('Create Evin Tahunan Pertanyaan', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'tahunan_pertanyaan_id',
'evaluasi_tahunan_id',
'kategori_id',
'nomor',
'pertanyaan:ntext',
// 'deleted_at',
// 'deleted_by',
// 'created_at',
// 'created_by',
// 'update_by',
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
</div>
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanPertanyaan */
$this->title = 'Update Evin Tahunan Pertanyaan: ' . $model->tahunan_pertanyaan_id;
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunan Pertanyaans', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->tahunan_pertanyaan_id, 'url' => ['view', 'id' => $model->tahunan_pertanyaan_id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="evin-tahunan-pertanyaan-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\modules\evin\models\EvinTahunanPertanyaan */
$this->title = $model->tahunan_pertanyaan_id;
$this->params['breadcrumbs'][] = ['label' => 'Evin Tahunan Pertanyaans', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="evin-tahunan-pertanyaan-view">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a('Update', ['update', 'id' => $model->tahunan_pertanyaan_id], ['class' => 'btn btn-primary']) ?>
<?= Html::a('Delete', ['delete', 'id' => $model->tahunan_pertanyaan_id], [
'class' => 'btn btn-danger',
'data' => [
'confirm' => 'Are you sure you want to delete this item?',
'method' => 'post',
],
]) ?>
</p>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'tahunan_pertanyaan_id',
'evaluasi_tahunan_id',
'kategori_id',
'nomor',
'pertanyaan:ntext',
'deleted_at',
'deleted_by',
'created_at',
'created_by',
'update_by',
],
]) ?>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment