Compare commits
No commits in common. "0e4b763c2f3646b5be54d8be105fe057d2331caf" and "572dae98ab1b040f40d2f619c04bfa5a3cd7de37" have entirely different histories.
0e4b763c2f
...
572dae98ab
|
@ -18,8 +18,7 @@
|
||||||
"yiisoft/yii2": "~2.0.45",
|
"yiisoft/yii2": "~2.0.45",
|
||||||
"yiisoft/yii2-bootstrap5": "~2.0.2",
|
"yiisoft/yii2-bootstrap5": "~2.0.2",
|
||||||
"yiisoft/yii2-symfonymailer": "~2.0.3",
|
"yiisoft/yii2-symfonymailer": "~2.0.3",
|
||||||
"yiithings/yii2-dotenv": "^1.1",
|
"yiithings/yii2-dotenv": "^1.1"
|
||||||
"anper/iuliia": "^1.2"
|
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"yiisoft/yii2-debug": "~2.1.0",
|
"yiisoft/yii2-debug": "~2.1.0",
|
||||||
|
|
|
@ -4,64 +4,8 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "178f60e2c261d5014e5d89ce798b23b9",
|
"content-hash": "63a71971a5e6c01233ab35accc25836c",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
|
||||||
"name": "anper/iuliia",
|
|
||||||
"version": "v1.2.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/perevoshchikov/iuliia-php.git",
|
|
||||||
"reference": "bda7352dbd80254dc63d7a6bb612462923b2c52d"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/perevoshchikov/iuliia-php/zipball/bda7352dbd80254dc63d7a6bb612462923b2c52d",
|
|
||||||
"reference": "bda7352dbd80254dc63d7a6bb612462923b2c52d",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"ext-mbstring": "*",
|
|
||||||
"php": "^7.3||^8.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"ext-json": "*",
|
|
||||||
"phpstan/phpstan": "^1.4",
|
|
||||||
"phpunit/phpunit": "^7.0||^8.0||^9.0",
|
|
||||||
"squizlabs/php_codesniffer": "^3.6"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Anper\\Iuliia\\": "src"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Anton Perevoshchikov",
|
|
||||||
"email": "anper3.5@gmail.com"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Transliterate Cyrillic → Latin in every possible way.",
|
|
||||||
"homepage": "https://github.com/perevoshchikov/iuliia-php",
|
|
||||||
"keywords": [
|
|
||||||
"cyrillic",
|
|
||||||
"iuliia",
|
|
||||||
"latin",
|
|
||||||
"translate",
|
|
||||||
"translit",
|
|
||||||
"transliterate"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/perevoshchikov/iuliia-php/issues",
|
|
||||||
"source": "https://github.com/perevoshchikov/iuliia-php/tree/v1.2.0"
|
|
||||||
},
|
|
||||||
"time": "2022-02-28T11:19:41+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "bower-asset/bootstrap",
|
"name": "bower-asset/bootstrap",
|
||||||
"version": "v5.2.3",
|
"version": "v5.2.3",
|
||||||
|
|
|
@ -60,7 +60,7 @@ class Image extends \yii\db\ActiveRecord
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
[['sha256', 'original_name'], 'required'],
|
[['sha256', 'original_name'], 'required'],
|
||||||
[['original_name'], 'match', 'pattern' => '/^[a-z0-9-_]+(|\.[\w\d]+)$/i'],
|
[['original_name'], 'match', '/^[a-z0-9-_]+(|\.[\w\d]+)$/i'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ class ParameterSearch extends Parameter
|
||||||
|
|
||||||
public function search($params): ActiveDataProvider
|
public function search($params): ActiveDataProvider
|
||||||
{
|
{
|
||||||
$query = Parameter::find();
|
$query = Parameter::find();//->with(['icon', 'iconGray']);
|
||||||
|
|
||||||
$dataProvider = new ActiveDataProvider([
|
$dataProvider = new ActiveDataProvider([
|
||||||
'query' => $query,
|
'query' => $query,
|
||||||
|
|
Loading…
Reference in New Issue