Closed msdmazarei closed 13 years ago
in all function ,it must check if $em is null then set $em=yii->doctrine->EntityManager
Why do we need $em argument in those functions anyway? Ahh, but I can foresee your answer: 'Generalization! We might have multiple entity managers!'
$em
in all function ,it must check if $em is null then set $em=yii->doctrine->EntityManager