Wiki articles tagged with "save"

Showing 1-6 of 6 items.

Sort and save order of model-elements drag & drop

Created 7 years ago by Kostas Apazidis (KonApaz), updated 7 years ago by Kostas Apazidis (KonApaz).

Suppose you have Products,Categories and each product belongs in many categories

1 0
4 followers
Viewed: 14 698 times
Version: 1.1
Category: Tutorials

Save uploaded file with any filename characters

Created 7 years ago by Kostas Apazidis (KonApaz), updated 7 years ago by Kostas Apazidis (KonApaz).

First of all this is a very common problem, for more details see this post http://www.yiiframework.com/forum/index.php/topic/52052-upload-file-with-any-charset/

1 0
3 followers
Viewed: 16 772 times
Version: 1.1
Category: How-tos

Save or Update Multiple related model values in one Tabular input form

Created 7 years ago by Kostas Apazidis (KonApaz), updated 7 years ago by Kostas Apazidis (KonApaz).

In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

1 0
1 follower
Viewed: 36 720 times
Version: 1.1
Category: Tutorials

Save and Display Date/Time Fields in different formats in Yii2

Created 7 years ago by Kartik V, updated 6 years ago by Kartik V.

You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

0 0
51 followers
Viewed: 160 432 times
Version: 2.0
Category: How-tos

How to store array/widget configuration to the database with config validation rules

Created 7 years ago by Kartik V, updated 7 years ago by Kartik V.

Note the tag {{homeUrl}} will be dynamically replaced at runtime.

1 3
40 followers
Viewed: 17 914 times
Version: 2.0
Category: Tutorials

Handling tabular data loading and validation in Yii 2

Created 7 years ago by Kartik V, updated 5 years ago by Said Bakr.

The only differences in Yii 2 is that its much simpler due to available functions in the Model class for loading and validating models.

3 2
51 followers
Viewed: 53 333 times
Version: 2.0
Category: Tutorials