-
The idea is to describe useful patterns that allow structuring code with Yii 3 examples.
## Principles
- Cohesion / Coupling
- SOLID
- Package design principles
## Patterns
- View Model
…
-
Доброго врмени суток!
Я сразу к делу.
Дано: проект на yii2.
Верстальщики отдают верстку в виде набора html, ccs, js файлов.
Программисты это дело прикручивают к движку (в процессе вносят собственн…
-
Hi all.
The library itmages/yii-eoauth was abandoned and when installing/updating this package, through composer, we got the following error:
Installing itmages/yii-eoauth (1.0.2): Downloading (…
-
Very often in practice I have to do a bulk update of rows.
IN PostgreSQL:
```sql
UPDATE table AS t
SET
col1 = c.col1,
col2 = c.col2
FROM (VALUES (1, 1, 1), (2, 2, 2), (3, 3, 3), (4, 4…
-
I wonder if there are plans to upgrade this for YII 2 since Beta is out now and what would be the best way - create a new repository for the CFile 2.0 or modify this one?
Let me know what you think a…
-
```
Exception 'yii\base\InvalidParamException' with message 'Invalid path alias: @webvimark/modules/UserManagement/controllers'
in C:\Users\root\Documents\PHPProj\emenu\vendor\yiisoft\yii2\BaseYii.ph…
-
### What steps will reproduce the problem?
I can observe the following strange behavior (on two different instances). I can change settings via the CLI, e.g. the base name or maintenance mode…
-
### Describe the bug
Was trying to migrate from Typed Link Field to Hyper and go this error.
```
➜ show-house git:(master) ✗ ./craft hyper/migrate/typed-link-content
Preparing to migrate fiel…
-
### Describe the bug
When saving an entry I get this error.
TypeError: Cannot assign array to property verbb\scheduler\models\Job::$settings of type ?string in /var/www/vendor/verbb/scheduler/src/…
-
В случае наличия ошибок при валидации внутри модального окна всегда происходит его падение.
Модель
```
public function rules() {
return [
[['phones'], 'validatePhones'],
];
}
…