Method | Description | |
---|---|---|
deleteUser ( string | integer $userId ) : integer | Delete a user. | |
deleteUserQuery ( string | integer $userId ) : Doctrine\DBAL\Query\QueryBuilder | Get the user deletion query. | |
getUser ( string | integer $userId ) : Bolt\Storage\Entity\Users | false | Get a user. | |
getUserAuthData ( string | integer $userId ) : Bolt\Storage\Entity\Users | false | Get a user's authentication data. | |
getUserAuthDataQuery ( string | integer $userId ) : Doctrine\DBAL\Query\QueryBuilder | Get the user fetch query. | |
getUserQuery ( string | integer $userId ) : Doctrine\DBAL\Query\QueryBuilder | Get the user fetch query. | |
getUserShadowAuth ( $shadowtoken ) : Bolt\Storage\Entity\Users | false | Get user based on password reset notification. | |
getUserShadowAuthQuery ( $shadowtoken ) : Doctrine\DBAL\Query\QueryBuilder | ||
getUsers ( ) : Bolt\Storage\Entity\Users[] | false | Get all the system users. | |
hasUsers ( ) : integer | Check to see if there are users in the user table. | |
hasUsersQuery ( ) : Doctrine\DBAL\Query\QueryBuilder | ||
save ( $entity, $silent = null ) | ||
update ( $entity, $exclusions = [] ) |
Method | Description | |
---|---|---|
unsetSensitiveFields ( Bolt\Storage\Entity\Users $entity ) | Null sensitive data that doesn't need to be passed around. |
public deleteUserQuery ( string | integer $userId ) : Doctrine\DBAL\Query\QueryBuilder | ||
$userId | string | integer | |
return | Doctrine\DBAL\Query\QueryBuilder |
public getUserAuthData ( string | integer $userId ) : Bolt\Storage\Entity\Users | false | ||
$userId | string | integer | |
return | Bolt\Storage\Entity\Users | false |
public getUserAuthDataQuery ( string | integer $userId ) : Doctrine\DBAL\Query\QueryBuilder | ||
$userId | string | integer | |
return | Doctrine\DBAL\Query\QueryBuilder |
public getUserQuery ( string | integer $userId ) : Doctrine\DBAL\Query\QueryBuilder | ||
$userId | string | integer | |
return | Doctrine\DBAL\Query\QueryBuilder |
public getUserShadowAuth ( $shadowtoken ) : Bolt\Storage\Entity\Users | false | ||
return | Bolt\Storage\Entity\Users | false |
public getUserShadowAuthQuery ( $shadowtoken ) : Doctrine\DBAL\Query\QueryBuilder | ||
return | Doctrine\DBAL\Query\QueryBuilder |
public getUsers ( ) : Bolt\Storage\Entity\Users[] | false | ||
return | Bolt\Storage\Entity\Users[] | false |
public hasUsersQuery ( ) : Doctrine\DBAL\Query\QueryBuilder | ||
return | Doctrine\DBAL\Query\QueryBuilder |
protected unsetSensitiveFields ( Bolt\Storage\Entity\Users $entity ) | ||
$entity | Bolt\Storage\Entity\Users |