Wiki articles

Showing 141-145 of 145 items.

Move sources to src

Created 2 months ago by samdark, updated 2 months ago by samdark.

Yii 3 and many Yii 2 package sources are contained within src directory which is convenient since you have less directories to check.

8 0
4 followers
Viewed: 2 648 times
Version: 2.0
Category: How-tos

Change default date format in Oracle

Created a month ago by lenovo, updated a month ago by samdark.

Default date format in Oracle is DD-MON-RR (25-JAN-18). With that output, we can't using date formatting.

0 0
2 followers
Viewed: 3 140 times
Version: 2.0
Category: How-tos
Tags: database

Optimize Scenarios for yii2

Created 3 years ago by AndroideLP, updated a month ago by AndroideLP.

Working with scenarios, with models that can receive many modifications in their rules or structures as development evolves, can create disruptions in the rescue process.

4 0
2 followers
Viewed: 23 979 times
Version: 2.0
Category: Tutorials

How to login from different tables in Yii2

Created a year ago by AndroideLP, updated a month ago by AndroideLP.

The Problem: Yii2 utilizes by default UserIdentity configured in config/web.php for connection, this object appy one table to authentication ('identityClass' => 'app\painel\models\User'). How to authentication from diferent tables? Solution: Create instances in web.php to uses UserIdentify. eg:

5 0
5 followers
Viewed: 23 602 times
Version: 2.0
Category: How-tos

Yii v2 snippet guide

Created a month ago by rackycz, updated 25 days ago by rackycz.

Please note, that this article will be updated regularly as I have more and more snippets so come back in a few weeks

2 0
1 follower
Viewed: 10 979 times
Version: 2.0
Category: Tutorials