Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
systems:yii2:testing_examples [2018/04/24 14:57] smayr [Saving to Database] |
systems:yii2:testing_examples [2018/04/24 15:44] (current) smayr [Forms] |
||
---|---|---|---|
Line 113: | Line 113: | ||
== Comments == | == Comments == | ||
+ | Use '' | ||
<code php> | <code php> | ||
- | $I->wantTo(' | + | $I->amGoingTo(' |
$I-> | $I-> | ||
+ | $I-> | ||
</ | </ | ||
Line 174: | Line 176: | ||
$I-> | $I-> | ||
} | } | ||
+ | </ | ||
+ | |||
+ | With fields, you can fill them in several says, all meaning the same thing: | ||
+ | <code php> | ||
+ | // All equivalent (input box) | ||
+ | $I-> | ||
+ | $I-> | ||
+ | $I-> | ||
+ | $I-> | ||
+ | $I-> | ||
+ | $I-> | ||
+ | $I-> | ||
+ | $I-> | ||
+ | |||
+ | // All equivalent (selection box) | ||
+ | $I-> | ||
+ | $I-> | ||
+ | $I-> | ||
</ | </ | ||