2017 © Pedro Peláez
 

yii2-extension yii2-config

Form package for SkeekS CMS

image

skeeks/yii2-config

Form package for SkeekS CMS

  • Monday, May 21, 2018
  • by skeeks-semenov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 121 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 109 % Grown

The README.md

Yii2 config area for SkeekS CMS



namespace skeeks\cms\widgets; use skeeks\yii2\config\ConfigBehavior; use skeeks\yii2\config\ConfigTrait; use yii\base\Widget; use yii\helpers\ArrayHelper; /** * Class GridView * @package skeeks\cms */ class TestWidget extends Widget { use ConfigTrait; public $test = '22'; public $config = []; public function behaviors() { return ArrayHelper::merge(parent::behaviors(), [ ConfigBehavior::class => ArrayHelper::merge([ 'class' => ConfigBehavior::class, 'configModel' => [ 'fields' => [ 'test' ], 'attributeDefines' => [ 'test', ], 'attributeLabels' => [ 'test' => '111', ], 'attributeHints' => [ 'test' => '111', ], 'rules' => [ ['test', 'string'] ] ] ], (array) $this->config), ]); } public function run() { return $this->test; } }

skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com, (*1)

The Versions

21/05 2018

dev-master

9999999-dev https://cms.skeeks.com/

Form package for SkeekS CMS

  Sources   Download

BSD-3-Clause

The Requires

 

by Semenov Alexander

framework component config yii skeeks

21/05 2018

0.1.0

0.1.0.0 https://cms.skeeks.com/

Form package for SkeekS CMS

  Sources   Download

BSD-3-Clause

The Requires

 

by Semenov Alexander

framework component config yii skeeks