yii2-extension yii2-app-setting
Yii 2 for Setting web
andatech-hrm/yii2-app-setting
Yii 2 for Setting web
- Sunday, September 10, 2017
- by madone
- Repository
- 2 Watchers
- 0 Stars
- 35 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
yii2-app-setting
ระบบการตั้งค่าเว็บ, (*1)
Set dataprovidor page size example, (*2)
$searchModel = new PersonSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
$dataProvider->pagination->pageSize = Yii::$app->params['app-settings']['reading']['pagesize']; //See this line
Use widget settings
```php
use andahrm\setting\models\WidgetSettings;
//example
echo $form->field($model, 'race_id')->widget(Select2::classname(), WidgetSettings::Select2([
'data' => ArrayHelper::map(Race::find()->all(), 'id', 'title')
]);, (*3)
dev-master
9999999-dev
Yii 2 for Setting web
Sources
Download
GPL-3.0
by
Surakit Choodet
by
Ahamad Jedhu
extension
yii2