2017 © Pedro Peláez
 

yii2-extension yii2-detailview4cols

This extension is a variation of the DetailView widget of Yii2. It has simply the same code with a few modification to it.

image

gamitg/yii2-detailview4cols

This extension is a variation of the DetailView widget of Yii2. It has simply the same code with a few modification to it.

  • Tuesday, February 14, 2017
  • by amit5992
  • Repository
  • 1 Watchers
  • 1 Stars
  • 198 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

DetailView4cols Extension for Yii2

This extension is a variation of the DetailView widget of Yii2. It has simply the same code with a few modification to it. Thanks to "Yii 1.1: detailview4col (Developed by: c@cba) extension"., (*1)

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist gamitg/yii2-detailview4cols "*"

or add, (*5)

"gamitg/yii2-detailview4cols": "*"

to the require section of your composer.json file., (*6)

Note

If you getting error while installing this extension, so just add following line in your composer.json file., (*7)

"minimum-stability": "dev",
"prefer-stable": true,

Because of this extension currently available only in dev-master. So, i appreciate your suggestion and also issue fixing related to this extension., (*8)

Usage

Once the extension is installed, simply use it in your code by :, (*9)

<?= \gamitg\detailview4cols\DetailView4Col::widget(); ?>

Example

    <?= \gamitg\detailview4cols\DetailView4Col::widget([
                'model' => $model,
                'options'=>['class'=>'table table-striped table-bordered detail-view'],
                'attributes' => [
                    'id',
                    [
                        'attribute' => 'user_id',
                        'value' => $model->user->user_name,
                        'oneRow' =>true
                    ],
                    'page.page_no',
                    'comment:ntext',
                    'time:datetime',
                    [
                        'attribute'=>'created_by',
                        'value'=>(!empty($model->user_id) ? $model->user_id : "Not Set")
                    ],
                ],
        ]) ?>

The Versions

14/02 2017

dev-master

9999999-dev

This extension is a variation of the DetailView widget of Yii2. It has simply the same code with a few modification to it.

  Sources   Download

GPL-3.0+

The Requires

 

by GAMITG

extension yii2 detailview4cols detailviewfourcolumns four column table detailview four columns four column table detail view yii2 four columns yii2 yii2-detailview4column detailview

24/08 2015

v1.0.0

1.0.0.0

This extension is a variation of the DetailView widget of Yii2. It has simply the same code with a few modification to it.

  Sources   Download

GPL-3.0+

The Requires

 

by GAMITG

extension yii2 detailview4cols detailviewfourcolumns four column table detailview four columns four column table detail view yii2 four columns yii2 yii2-detailview4column detailview

31/07 2015

v1.0.0-RC

1.0.0.0-RC

This extension is a variation of the DetailView widget of Yii2. It has simply the same code with a few modification to it.

  Sources   Download

GPL-3.0+

The Requires

 

by GAMITG

extension yii2 detailview4cols detailviewfourcolumns four column table detailview four columns four column table detail view yii2 four columns yii2 yii2-detailview4column detailview