| 568 | | Now when you interact with the User model it will take in to account the deleted flag |
| | 568 | In order for these dql callbacks to be checked, you must explicitly turn them on. Because this adds a small |
| | 569 | amount of overhead for each query, we have it off by default. You can turn it on with the following attribute: |
| | 570 | |
| | 571 | <code type="php"> |
| | 572 | Doctrine_Manager::getInstance()->setAttribute('use_dql_callbacks', true); |
| | 573 | </code> |
| | 574 | |
| | 575 | Now when you interact with the User model it will take in to account the deleted flag. |