Welcome Guest, Not a member yet? Register   Sign In
How to use Tank Auth with Datamapper?
#1

[eluser]Mantero[/eluser]
hi,

I'm just using Tank auth. how do I get this auth to work? Tank auth has their own model class, User class that extends CI_Model..

how can I extend and use Datamapper model with this?
#2

[eluser]WanWizard[/eluser]
Assuming the user table uses a primary key column called 'id', you can just create a Datamapper model for it.
#3

[eluser]Mantero[/eluser]
[quote author="WanWizard" date="1333101463"]Assuming the user table uses a primary key column called 'id', you can just create a Datamapper model for it.[/quote]o

you mean I can just change User model from extends CI_Model to extends DataMapper just like that?




Theme © iAndrew 2016 - Forum software by © MyBB