class UserInfoRepository (View source)

Properties

protected $entityManager
protected $application

Methods

__construct(Application $application, EntityManagerInterface $entityManager)

No description

UserInfo|null
getByID(int $uID)

Returns the UserInfo object for a give user's uID.

UserInfo|null
getByName(string $uName)

Returns the UserInfo object for a give user's username.

getByUserName($uName) deprecated

No description

UserInfo|null
getByEmail(string $uEmail)

Returns the UserInfo object for a give user's email address.

UserInfo|null
getByValidationHash(string $uHash, bool $unredeemedHashesOnly = true)

No description

get($where, $var)

No description

Details

__construct(Application $application, EntityManagerInterface $entityManager)

No description

Parameters

Application $application
EntityManagerInterface $entityManager

UserInfo|null getByID(int $uID)

Returns the UserInfo object for a give user's uID.

Parameters

int $uID

Return Value

UserInfo|null

UserInfo|null getByName(string $uName)

Returns the UserInfo object for a give user's username.

Parameters

string $uName

Return Value

UserInfo|null

getByUserName($uName) deprecated

deprecated

No description

Parameters

$uName

UserInfo|null getByEmail(string $uEmail)

Returns the UserInfo object for a give user's email address.

Parameters

string $uEmail

Return Value

UserInfo|null

UserInfo|null getByValidationHash(string $uHash, bool $unredeemedHashesOnly = true)

No description

Parameters

string $uHash
bool $unredeemedHashesOnly

Return Value

UserInfo|null

private get($where, $var)

No description

Parameters

$where
$var