2017 © Pedro Peláez
 

yii2-extension yii2-kendoui

Kendo UI Extension for Yii 2

image

pitcher/yii2-kendoui

Kendo UI Extension for Yii 2

  • Friday, September 22, 2017
  • by torfeld6
  • Repository
  • 6 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Kendo UI Extension for Yii 2

Currently implemented DataSource which is generating on ActiveRecord model-base., (*1)

How to use?

@app/controllers/AddressController.php, (*2)

use \tigrov\kendoui\KendoBuild;

class AddressController extends Controller
{
    public function actionIndex()
    {
        return $this->render('index');
    }

    public static function kendoActions()
    {
        // Address extends of ActiveRecord
        $options = [
            'model' => Address::className(),
            'query' => [
                'where' => ['status_id' => Address::STATUS_ACTIVE],
            ],
        ];

        return KendoBuild::actions($options);
    }

    public function actions()
    {
        return array_merge(parent::actions(), static::kendoActions());
    }
}

@app/views/address/index.php, (*3)

setTitle(\Yii::t('user', 'Addresses'));

KendoAsset::register($this);

$dataSource = \Yii::createObject([
    'class' => DataSource::className(),
]);
$dataSourceSettings = $dataSource->getSettings();
$dataSourceJson = json_encode($dataSourceSettings);

$this->registerJs(



= \Yii::t('pro', 'Add new Address'); ?>, (*4)

The Versions

22/09 2017

dev-master

9999999-dev

Kendo UI Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

by Sergey Tigrov

yii2 datasource kendo kendoui

22/09 2017

v1.1.2

1.1.2.0

Kendo UI Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

by Sergey Tigrov

yii2 datasource kendo kendoui

07/10 2016

1.1.1

1.1.1.0

Kendo UI Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

by Sergey Tigrov

yii2 datasource kendo kendoui

11/12 2015

1.1.0

1.1.0.0

Kendo UI Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

by Sergey Tigrov

yii2 datasource kendo kendoui

11/12 2015

v1.0.0

1.0.0.0

Kendo UI Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

by Sergey Tigrov

yii2 datasource kendo kendoui