Wiki articles tagged with "save"

Showing 1-6 of 6 items.

Sort and save order of model-elements drag & drop

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

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

1 0
4 followers
Viewed: 19 902 times
Version: 1.1
Category: Tutorials

Save uploaded file with any filename characters

Created 10 years ago by Kostas Apazidis (KonApaz), updated 10 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: 20 211 times
Version: 1.1
Category: How-tos

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

Created 10 years ago by Kostas Apazidis (KonApaz), updated 10 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: 40 774 times
Version: 1.1
Category: Tutorials

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

Created 10 years ago by Kartik V, updated 10 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: 177 917 times
Version: 2.0
Category: How-tos

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

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

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

2 3
41 followers
Viewed: 24 736 times
Version: 2.0
Category: Tutorials

Handling tabular data loading and validation in Yii 2

Created 10 years ago by Kartik V, updated 8 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: 60 355 times
Version: 2.0
Category: Tutorials