Add to friends Send message

About pawel:

I'm website developer. I work with php mvc frameworks.


User snaps in category: yii2 without subcategories

Include subcategories

yii2 - instantiate model class from variable...

yii2 model

tables: expression -------------- id, expression expression_type ---------------------- id, name Find all records from expression table with expression_type name 'math'...

yii2 active-record-query

yii2 - get current module controller and action on view...

php yii2 url route action

Get distinct records with for example name from workers table:...

php yii2 activerecord select distinct

To create module migration in module folder --migrationPath can be used. In console navigate to project root and use following command to create migration file....

yii2 migration module console

TimestampBehavior to autmatically set datetime values of created_at and updated_at. If fields have other name than default, names can be overwite...

php yii2 activerecord datetime

To automatically set created_at and updated_at TimestampBehavior can be used. In model extending ActiveRecord put following lines:...

php yii2 date activerecord

To solve this error translation configuration must be added to config. In config/web.php add folowing array in 'components' array....

php yii2 translation array