FiredUserProvider
extends UserProvider
Table of Contents
Methods
-
__construct()
: mixed
-
doSearch()
: void
-
fillDialog()
: void
-
formatUserName()
: string
-
getAllowedFields()
: array<string|int, mixed>
-
getChildren()
: void
-
getCurrentUserId()
: int
-
getExtranetUserUrl()
: string
-
getIntranetUserUrl()
: string
-
getItems()
: array<string|int, Item>
-
getOption()
: mixed
-
getOptions()
: array<string|int, mixed>
-
getPreselectedItems()
: array<string|int, Item>
-
getSelectedItems()
: array<string|int, Item>
-
getUser()
: EO_User|null
-
getUserCollection()
: EO_User_Collection
-
getUserItems()
: array<string|int, mixed>
-
getUsers()
: EO_User_Collection
-
getUserType()
: string
-
getUserUrl()
: string
-
handleBeforeItemSave()
: void
-
isAvailable()
: bool
-
isExtranetUser()
: bool
-
isIntegrator()
: bool
-
isIntranetUser()
: bool
-
makeItem()
: Item
-
makeItems()
: array<string|int, mixed>
-
makeUserAvatar()
: string|null
-
makeUserItems()
: array<string|int, mixed>
-
shouldFillDialog()
: bool
__construct()
public
__construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
-
$options
: array<string|int, mixed>
= []
-
doSearch()
public
doSearch(SearchQuery $searchQuery, Dialog $dialog) : void
Parameters
-
$searchQuery
: SearchQuery
-
-
$dialog
: Dialog
-
fillDialog()
public
fillDialog(Dialog $dialog) : void
Parameters
-
$dialog
: Dialog
-
public
static formatUserName(EO_User $user[, array<string|int, mixed> $options = [] ]) : string
Parameters
-
$user
: EO_User
-
-
$options
: array<string|int, mixed>
= []
-
getAllowedFields()
public
static getAllowedFields() : array<string|int, mixed>
Return values
array<string|int, mixed>
getChildren()
public
getChildren(Item $parentItem, Dialog $dialog) : void
Parameters
-
$parentItem
: Item
-
-
$dialog
: Dialog
-
getCurrentUserId()
public
static getCurrentUserId() : int
public
static getExtranetUserUrl([int|null $userId = null ]) : string
Parameters
-
$userId
: int|null
= null
-
getIntranetUserUrl()
public
static getIntranetUserUrl([int|null $userId = null ]) : string
Parameters
-
$userId
: int|null
= null
-
getItems()
public
getItems(array<string|int, mixed> $ids) : array<string|int, Item>
Parameters
-
$ids
: array<string|int, mixed>
-
Return values
array<string|int, Item>
getOption()
public
getOption(string $option[, mixed $defaultValue = null ]) : mixed
Parameters
-
$option
: string
-
-
$defaultValue
: mixed
= null
-
getOptions()
public
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>
getPreselectedItems()
public
getPreselectedItems(array<string|int, mixed> $ids) : array<string|int, Item>
Parameters
-
$ids
: array<string|int, mixed>
-
Return values
array<string|int, Item>
getSelectedItems()
public
getSelectedItems(array<string|int, mixed> $ids) : array<string|int, Item>
Parameters
-
$ids
: array<string|int, mixed>
-
Return values
array<string|int, Item>
getUser()
public
static getUser(int $userId[, array<string|int, mixed> $options = [] ]) : EO_User|null
Parameters
-
$userId
: int
-
-
$options
: array<string|int, mixed>
= []
-
Return values
EO_User|null
getUserCollection()
public
getUserCollection([array<string|int, mixed> $options = [] ]) : EO_User_Collection
Parameters
-
$options
: array<string|int, mixed>
= []
-
Return values
EO_User_Collection
getUserItems()
public
getUserItems([array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
-
$options
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>
getUsers()
public
static getUsers([array<string|int, mixed> $options = [] ]) : EO_User_Collection
Parameters
-
$options
: array<string|int, mixed>
= []
-
Return values
EO_User_Collection
getUserType()
public
static getUserType(EO_User $user) : string
Parameters
-
$user
: EO_User
-
getUserUrl()
public
static getUserUrl([int|null $userId = null ]) : string
Parameters
-
$userId
: int|null
= null
-
handleBeforeItemSave()
public
handleBeforeItemSave(Item $item) : void
Parameters
-
$item
: Item
-
isAvailable()
public
isAvailable() : bool
public
static isExtranetUser([int $userId = null ]) : bool
Parameters
-
$userId
: int
= null
-
isIntegrator()
public
static isIntegrator([int $userId = null ]) : bool
Parameters
-
$userId
: int
= null
-
isIntranetUser()
public
static isIntranetUser([int $userId = null ]) : bool
Parameters
-
$userId
: int
= null
-
makeItem()
public
static makeItem(EO_User $user[, array<string|int, mixed> $options = [] ]) : Item
Parameters
-
$user
: EO_User
-
-
$options
: array<string|int, mixed>
= []
-
makeItems()
public
static makeItems(EO_User_Collection $users[, array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
-
$users
: EO_User_Collection
-
-
$options
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>
makeUserAvatar()
public
static makeUserAvatar(EO_User $user) : string|null
Parameters
-
$user
: EO_User
-
Return values
string|null
makeUserItems()
public
makeUserItems(EO_User_Collection $users[, array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
-
$users
: EO_User_Collection
-
-
$options
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>
shouldFillDialog()
public
shouldFillDialog() : bool