Model_User

class Nos\User\Model_User

Extend Nos\Orm\Model.

Relations

property Nos\User\Model_User::$roles
  • Relation type : many_many.
  • Model : Model_Role

Methods

Nos\User\Model_User::check_password($password)
Parameters:
  • $password (string) – Password to check if it matches the user’s password
Returns:

True if passwords match, false otherwise.

Nos\User\Model_User::generate_md5()

Generate a new md5 for the user (store in the user_md5 column).

Read the Docs v: 0.2
Versions
latest
chiba.2
chiba.1
0.2
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.