Compare commits
3 Commits
572dae98ab
...
0e4b763c2f
Author | SHA1 | Date |
---|---|---|
b1ek | 0e4b763c2f | |
b1ek | e4d11a2231 | |
b1ek | 9ef34d486a |
|
@ -18,7 +18,8 @@
|
|||
"yiisoft/yii2": "~2.0.45",
|
||||
"yiisoft/yii2-bootstrap5": "~2.0.2",
|
||||
"yiisoft/yii2-symfonymailer": "~2.0.3",
|
||||
"yiithings/yii2-dotenv": "^1.1"
|
||||
"yiithings/yii2-dotenv": "^1.1",
|
||||
"anper/iuliia": "^1.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"yiisoft/yii2-debug": "~2.1.0",
|
||||
|
|
|
@ -4,8 +4,64 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "63a71971a5e6c01233ab35accc25836c",
|
||||
"content-hash": "178f60e2c261d5014e5d89ce798b23b9",
|
||||
"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",
|
||||
"version": "v5.2.3",
|
||||
|
|
|
@ -60,7 +60,7 @@ class Image extends \yii\db\ActiveRecord
|
|||
{
|
||||
return [
|
||||
[['sha256', 'original_name'], 'required'],
|
||||
[['original_name'], 'match', '/^[a-z0-9-_]+(|\.[\w\d]+)$/i'],
|
||||
[['original_name'], 'match', 'pattern' => '/^[a-z0-9-_]+(|\.[\w\d]+)$/i'],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ class ParameterSearch extends Parameter
|
|||
|
||||
public function search($params): ActiveDataProvider
|
||||
{
|
||||
$query = Parameter::find();//->with(['icon', 'iconGray']);
|
||||
$query = Parameter::find();
|
||||
|
||||
$dataProvider = new ActiveDataProvider([
|
||||
'query' => $query,
|
||||
|
|
Loading…
Reference in New Issue