5 lines
138 B
Text
5 lines
138 B
Text
<code type="php">
|
|
$manager = Doctrine_Manager::getInstance();
|
|
|
|
$manager->setAttribute(Doctrine::ATTR_LISTENER, new MyListener());
|
|
</code>
|