User/Model.php
- Classes
- Kwf_User_Model
\Kwf_User_Model
- Extends from
- \Kwf_Model_RowCache
- package
- Model
- Properties
- $_authedUser
- $_cacheColumns
- $_columnMappings
- $_passwordColumn
- $_rowClass
- Methods
- __construct
- _allowFrontendUrls
- _init
- _logLogin
- changeUser
- clearAuthedUser
- fetchRowByEmail
- getAuthMethods
- getAuthedChangedUserRole
- getAuthedUser
- getAuthedUserId
- getAuthedUserRole
- getRowByIdentity
- getUniqueIdentifier
- getUserActivationUrl
- getUserLoginUrl
- hasAuthedUser
- loginUserRow
- lostPassword
- mailExists
- setPassword
Description
Properties
$_authedUser
$_authedUser = ''
Details
- visibility
- protected
- default
- final
- false
- static
- false
$_cacheColumns
$_cacheColumns = 'array'
Details
- visibility
- protected
- default
- array
- final
- false
- static
- false
$_columnMappings
$_columnMappings = 'array'
Details
- visibility
- protected
- default
- array
- final
- false
- static
- false
$_passwordColumn
$_passwordColumn = 'password'
Details
- visibility
- protected
- default
- password
- final
- false
- static
- false
$_rowClass
$_rowClass = 'Kwf_User_Row'
Details
- visibility
- protected
- default
- Kwf_User_Row
- final
- false
- static
- false
Methods
__construct
__construct(
$config
=
array
)
:
Arguments
- $config
Details
- visibility
- public
- final
- false
- static
- false
_allowFrontendUrls
_allowFrontendUrls(
$row
)
:
boolean
Overwrite to not use Activate- or Change Password-Component in Frontend
e.g. some roles only see backend urls
Arguments
- $row
Output
- boolean
Details
- visibility
- protected
- final
- false
- static
- false
_init
_init(
)
:
Details
- visibility
- protected
- final
- false
- static
- false
_logLogin
_logLogin(
$row
)
:
Arguments
- $row
Details
- visibility
- protected
- final
- false
- static
- false
changeUser
changeUser(
$user
)
:
Arguments
- $user
Details
- visibility
- public
- final
- false
- static
- false
clearAuthedUser
clearAuthedUser(
)
:
Details
- visibility
- public
- final
- false
- static
- false
fetchRowByEmail
fetchRowByEmail(
$email
)
:
Arguments
Details
- visibility
- public
- final
- false
- static
- false
- deprecated
- see
- getRowByIdentity
getAuthMethods
getAuthMethods(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getAuthedChangedUserRole
getAuthedChangedUserRole(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getAuthedUser
getAuthedUser(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getAuthedUserId
getAuthedUserId(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getAuthedUserRole
getAuthedUserRole(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getRowByIdentity
getRowByIdentity(
$identd
)
:
Arguments
- $identd
Details
- visibility
- public
- final
- false
- static
- false
getUniqueIdentifier
getUniqueIdentifier(
)
:
string
Output
- string
Details
- visibility
- public
- final
- false
- static
- false
getUserActivationUrl
getUserActivationUrl(
$row
)
:
Arguments
- $row
Details
- visibility
- public
- final
- false
- static
- false
getUserLoginUrl
getUserLoginUrl(
$row
)
:
Arguments
- $row
Details
- visibility
- public
- final
- false
- static
- false
hasAuthedUser
hasAuthedUser(
)
:
Details
- visibility
- public
- final
- false
- static
- false
loginUserRow
loginUserRow(
$row, $logLogin
)
:
Arguments
- $row
- $logLogin
Details
- visibility
- public
- final
- false
- static
- false
lostPassword
lostPassword(
$email
)
:
Arguments
Details
- visibility
- public
- final
- false
- static
- false
mailExists
mailExists(
$email
)
:
Arguments
Details
- visibility
- public
- final
- false
- static
- false
setPassword
setPassword(
$user, $password
)
:
Arguments
- $user
- $password
Details
- visibility
- public
- final
- false
- static
- false