Press "Enter" to skip to content

Yii2 – Scenarios


A model uses the yii\base\Model::$scenario property for the ‘Scenario’ concept. By default, a model supports only a single scenario named default. Yii2.0 framework model is designed in very comfortable way…

Yii2 – Modal Pop Up


Yii2 – Modal Pop Up Create ModalAssets.php in folder assets [crayon-616b69c6a2a32460123031/] Create modal.js file in /root/web/js/modal.js [crayon-616b69c6a2a3a615692826/] Put into after use namespacing [crayon-616b69c6a2a3d761659691/] Put into end of code index.php [crayon-616b69c6a2a3f777984069/]…

Yii2 – Custom Action Button GridView


Yii2 – Custom Action Button di GridView Berikut ini adalah contoh penggunaan custom tombol aksi di GridView Yii2  [crayon-616b69c6a2d63532058831/] class : adalah nama class yang digunakan untuk ActionColumn di GridView…