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