Logidav Docs

User extends User
in package

User

Tags
ORM\Table

(name="mz_user")

ORM\Entity

(repositoryClass="UserBundle\Repository\UserRepository")

Table of Contents

Properties

$id  : int
$googleEmail  : mixed
$menuAccess  : mixed
$newProductTeam  : mixed
$notificationGroups  : mixed
$timezone  : mixed
$twoFactorSecret  : string|null
$userAccess  : mixed
$voxpayToken  : mixed

Methods

__construct()  : int
Get id
allowedSystemAlertModelsToSee()  : array<string|int, mixed>
Get allowed system alert models to see
canSeeSystemAlert()  : bool
getAccessRoles()  : string|array<string|int, string>
getGoogleEmail()  : mixed
getId()  : mixed
getMenuAccess()  : mixed
getNewProductTeam()  : NewProductTeam
Get NewProductTeam
getNotificationGroups()  : ArrayCollection
getSystemAlertRoleMapping()  : array<string|int, mixed>
Get system alert user role mapping
getTimezone()  : string
Get timezone
getTwoFactorSecret()  : string|null
getUserAccess()  : array<string|int, mixed>
Get userAccess
getVoxpayToken()  : mixed
hasUserAccess()  : bool
setGoogleEmail()  : void
setMenuAccess()  : mixed
setNewProductTeam()  : User
Set NewProductTeam
setNotificationGroups()  : void
setTimezone()  : User
Set timezone
setTwoFactorSecret()  : void
setUserAccess()  : User
Set userAccess
setVoxpayToken()  : void

Properties

$id

protected int $id
Tags
ORM\Column

(name="id", type="integer")

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$googleEmail

private mixed $googleEmail
Tags
ORM\Column

(name="google_email",type="string", nullable=true)

$menuAccess

private mixed $menuAccess
Tags
ORM\Column

(name="menu_access", type="text", nullable=true)

$newProductTeam

private mixed $newProductTeam
Tags
ORM\ManyToOne

(targetEntity="AppBundle\Entity\NewProductTeam")

$notificationGroups

private mixed $notificationGroups
Tags
ORM\ManyToMany

(targetEntity="NotificationGroup", inversedBy="users")

ORM\JoinTable

(name="mz_user_notification_groups")

$timezone

private mixed $timezone
Tags
ORM\Column

(name="timezone", type="string", nullable=true)

$twoFactorSecret

private string|null $twoFactorSecret
Tags
ORM\Column

(name="two_factor_secret",type="string", nullable=true)

$userAccess

private mixed $userAccess
Tags
ORM\Column

(name="user_access", type="json_array", nullable=true)

$voxpayToken

private mixed $voxpayToken
Tags
ORM\Column

(name="voxpay_token", type="string", nullable=true)

Methods

__construct()

Get id

public __construct() : int
Return values
int

allowedSystemAlertModelsToSee()

Get allowed system alert models to see

public allowedSystemAlertModelsToSee() : array<string|int, mixed>
Return values
array<string|int, mixed>

canSeeSystemAlert()

public canSeeSystemAlert(mixed $model) : bool
Parameters
$model : mixed
Return values
bool

getAccessRoles()

public static getAccessRoles([null $role = null ]) : string|array<string|int, string>
Parameters
$role : null = null
Return values
string|array<string|int, string>

getGoogleEmail()

public getGoogleEmail() : mixed

getId()

public getId() : mixed

getMenuAccess()

public getMenuAccess() : mixed

getNotificationGroups()

public getNotificationGroups() : ArrayCollection
Return values
ArrayCollection

getSystemAlertRoleMapping()

Get system alert user role mapping

public static getSystemAlertRoleMapping() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTimezone()

Get timezone

public getTimezone() : string
Return values
string

getTwoFactorSecret()

public getTwoFactorSecret() : string|null
Return values
string|null

getUserAccess()

Get userAccess

public getUserAccess() : array<string|int, mixed>
Return values
array<string|int, mixed>

getVoxpayToken()

public getVoxpayToken() : mixed

hasUserAccess()

public hasUserAccess(mixed $userAccess) : bool
Parameters
$userAccess : mixed
Return values
bool

setGoogleEmail()

public setGoogleEmail(string|null $googleEmail) : void
Parameters
$googleEmail : string|null

setMenuAccess()

public setMenuAccess(mixed $menuAccess) : mixed
Parameters
$menuAccess : mixed

setNotificationGroups()

public setNotificationGroups(ArrayCollection $notificationGroups) : void
Parameters
$notificationGroups : ArrayCollection

setTimezone()

Set timezone

public setTimezone(string $timezone) : User
Parameters
$timezone : string
Return values
User

setTwoFactorSecret()

public setTwoFactorSecret(string|null $twoFactorSecret) : void
Parameters
$twoFactorSecret : string|null

setUserAccess()

Set userAccess

public setUserAccess(array<string|int, mixed> $userAccess) : User
Parameters
$userAccess : array<string|int, mixed>
Return values
User

setVoxpayToken()

public setVoxpayToken(mixed $voxpayToken) : void
Parameters
$voxpayToken : mixed

        
On this page

Search results