php - Kohana 3.3 Auth module using not default ORM -


i'm using kohana 3.3 framework doctrine 2 orm, , have started working on authorisation.

i read auth module, seems auth uses default kohana orm it's work. could'n find in source of auth code manipulating database using orm. me find it?

if doesn't use orm, maybe can keep on using doctrine?

the auth module not in use orm. it's orm module overrides auth class. makes sense because have auth enabled without orm module. ideally want in situation. should have kohana orm module disabled, doesn't interfere doctrine orm. use module integrate doctrine kohana. can build 1 or there available. e.g:

https://github.com/ingenerator/kohana-doctrine2 https://github.com/stegeman/kohana-doctrine

if reason want keep kohana orm enabled here's how can leverage auth functions. in orm module, it's kohana_auth_orm class extends auth module's auth class. if override auth_orm class in application or module folder, enable replace auth functions doctrine equivalents.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -