init() public method
Initializes the DB connection component.
This method will initialize the $db property to make sure it refers to a valid DB connection.
public void init ( ) | ||
---|---|---|
throws | yii\base\InvalidConfigException |
if $db is invalid. |
init() public method
Initializes the DB connection component.
This method will initialize the $db property to make sure it refers to a valid DB connection.
public void init ( ) | ||
---|---|---|
throws | yii\base\InvalidConfigException |
if $db is invalid. |
Please login to continue.