Welcome Guest, Not a member yet? Register   Sign In
[Closed] Protected Model Function Query
#1

[eluser]riwakawd[/eluser]
Hello I would like to know where it is best to use a protected function in my user model.

protected function validate($username, $password, $email_address)

function getSession()

protected function getSessoion()


I have my own ci lib which hashes password with salt but not sure if in my model to use protected function.


Messages In This Thread
[Closed] Protected Model Function Query - by El Forum - 04-25-2014, 11:33 PM
[Closed] Protected Model Function Query - by El Forum - 04-26-2014, 03:10 AM
[Closed] Protected Model Function Query - by El Forum - 04-29-2014, 08:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB