Doctrine


Doctrine\DBAL\Event\Listeners\MysqlSessionInit
/Doctrine/DBAL/Event/Listeners/MysqlSessionInit.php at line 37

Class MysqlSessionInit

MysqlSessionInit
All Implemented Interfaces:
EventSubscriber

public class MysqlSessionInit

MySQL Session Init Event Subscriber which allows to set the Client Encoding of the Connection

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.com
Since:
1.0
Version:
$Revision$
Author:
Benjamin Eberlei

Constructor Summary

MysqlSessionInit(string charset, string collation)

Configure Charset and Collation options of MySQL Client for each Connection

Method Summary
void

getSubscribedEvents()

void

postConnect(ConnectionEventArgs args)

Constructor Detail

/Doctrine/DBAL/Event/Listeners/MysqlSessionInit.php at line 55

MysqlSessionInit

public MysqlSessionInit(string charset, string collation)

Configure Charset and Collation options of MySQL Client for each Connection


Method Detail

/Doctrine/DBAL/Event/Listeners/MysqlSessionInit.php at line 71

getSubscribedEvents

public void getSubscribedEvents()

/Doctrine/DBAL/Event/Listeners/MysqlSessionInit.php at line 65

postConnect

public void postConnect(ConnectionEventArgs args)


Doctrine