db\Connection initConnection()

initConnection() protected method

Initializes the DB connection.

This method is invoked right after the DB connection is established. The default implementation turns on PDO::ATTR_EMULATE_PREPARES if $emulatePrepare is true, and sets the database $charset if it is not empty. It then triggers an EVENT_AFTER_OPEN event.

protected void initConnection ( )
doc_Yii
2016-10-30 16:57:49
Comments
Leave a Comment

Please login to continue.