Wiki

Sorted by date (updated)X
Displaying 61-70 of 786 result(s).

Handling tabular data loading and validation in Yii 2

Updated about a year ago by Said BakrTutorials7 comments – viewed 40,785 times – ( +44 / -7 ) – version 2.0
How do you read and handle tabular data submission via form in Yii framework 2.0? Sometimes we want to collect user input in a batch mode. That is, the user can enter the information for multiple model instances and submit them all at once. We call this tabular input because the input fields are often presented in an HTML table.

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Updated about a year ago by softarkTutorials11 comments – viewed 41,439 times – ( +17 / -1 ) – version 1.1
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

How to use imagine ( crop, thumb, effects for images ) on Yii2

Updated about a year ago by CozumelTutorials3 comments – viewed 55,560 times – ( +8 / -1 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

Multi Data Provider

Updated about a year ago by Sharon LavieTips0 comments – viewed 9,915 times – ( +1 / -1 ) – version 1.1
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

A simple widget - jump2link

Updated 2 years ago by Scott_HuangTutorials0 comments – viewed 7,245 times – ( -1 ) – version 2.0
Jump 2 Link

How to implement form events

Updated 2 years ago by deacsHow-tos4 comments – viewed 19,517 times – ( +6 / -1 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to

MySQL migration environment

Updated 2 years ago by Fabrizio CaldarelliHow-tos0 comments – viewed 6,373 times – ( -1 ) – version 2.0
It can happen that you work in development environment and you make changes to database tables structures, adding tables, or changing fields.

How to use a Widget as an Action Provider

Updated 2 years ago by stinkytofuHow-tos15 comments – viewed 44,258 times – ( +27 / -1 ) – version 1.1
As written on the API docs: An Action Provider Widget is a widget that has declared several actions by using its 'public static function actions()'. After, a Controller can easily import all its declared actions on its 'public function actions()'.
tags: Widgets, CAction

Simple Jui Autocomplete in yii2

Updated 2 years ago by ajithTutorials4 comments – viewed 20,221 times – ( -2 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

Cron Jobs in Yii

Updated 2 years ago by Roman SolomatinHow-tos1 comment – viewed 23,730 times – ( +4 / -1 ) – version 1.1
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.