Table of Contents
Methods
-
__construct()
: mixed
-
canCreateProject()
: bool
-
doSearch()
: void
-
fillDialog()
: void
-
filterByFeatures()
: mixed
-
getChildren()
: void
-
getCreateProjectUrl()
: string
-
getFeatureQuery()
: mixed
-
getFeaturesPermissionsQuery()
: mixed
-
getItems()
: array<string|int, Item>
-
getOption()
: mixed
-
getOptions()
: array<string|int, mixed>
-
getPreselectedItems()
: array<string|int, Item>
-
getProjectCollection()
: EO_Workgroup_Collection
-
getProjectItems()
: array<string|int, mixed>
-
getProjects()
: EO_Workgroup_Collection
-
getProjectUrl()
: string
-
getSelectedItems()
: array<string|int, Item>
-
handleBeforeItemSave()
: void
-
isAvailable()
: bool
-
makeItem()
: Item
-
makeItems()
: mixed
-
makeProjectAvatar()
: string|null
-
makeProjectItems()
: array<string|int, mixed>
__construct()
public
__construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
-
$options
: array<string|int, mixed>
= []
-
canCreateProject()
public
static canCreateProject() : bool
doSearch()
public
doSearch(SearchQuery $searchQuery, Dialog $dialog) : void
Parameters
-
$searchQuery
: SearchQuery
-
-
$dialog
: Dialog
-
fillDialog()
public
fillDialog(Dialog $dialog) : void
Parameters
-
$dialog
: Dialog
-
filterByFeatures()
public
static filterByFeatures(EO_Workgroup_Collection $projects, array<string|int, mixed> $features, int $userId, string $siteId) : mixed
Parameters
-
$projects
: EO_Workgroup_Collection
-
-
$features
: array<string|int, mixed>
-
-
$userId
: int
-
-
$siteId
: string
-
getChildren()
public
getChildren(Item $parentItem, Dialog $dialog) : void
Parameters
-
$parentItem
: Item
-
-
$dialog
: Dialog
-
getCreateProjectUrl()
public
static getCreateProjectUrl([int|null $currentUserId = null ]) : string
Parameters
-
$currentUserId
: int|null
= null
-
getFeatureQuery()
public
static getFeatureQuery(mixed $alias[, mixed $feature = '' ]) : mixed
Parameters
-
$alias
: mixed
-
-
$feature
: mixed
= ''
-
getFeaturesPermissionsQuery()
public
static getFeaturesPermissionsQuery(mixed $currentUserId[, mixed $featuresList = [] ]) : mixed
Parameters
-
$currentUserId
: mixed
-
-
$featuresList
: mixed
= []
-
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>
getProjectCollection()
public
getProjectCollection([array<string|int, mixed> $options = [] ]) : EO_Workgroup_Collection
Parameters
-
$options
: array<string|int, mixed>
= []
-
Return values
EO_Workgroup_Collection
getProjectItems()
public
getProjectItems([array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
-
$options
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>
getProjects()
public
static getProjects([array<string|int, mixed> $options = [] ]) : EO_Workgroup_Collection
Parameters
-
$options
: array<string|int, mixed>
= []
-
Return values
EO_Workgroup_Collection
getProjectUrl()
public
static getProjectUrl([int|null $projectId = null ][, int|null $currentUserId = null ]) : string
Parameters
-
$projectId
: int|null
= null
-
-
$currentUserId
: int|null
= null
-
getSelectedItems()
public
getSelectedItems(array<string|int, mixed> $ids) : array<string|int, Item>
Parameters
-
$ids
: array<string|int, mixed>
-
Return values
array<string|int, Item>
handleBeforeItemSave()
public
handleBeforeItemSave(Item $item) : void
Parameters
-
$item
: Item
-
isAvailable()
public
isAvailable() : bool
makeItem()
public
static makeItem(EO_Workgroup $project[, array<string|int, mixed> $options = [] ]) : Item
Parameters
-
$project
: EO_Workgroup
-
-
$options
: array<string|int, mixed>
= []
-
makeItems()
public
static makeItems(EO_Workgroup_Collection $projects[, mixed $options = [] ]) : mixed
Parameters
-
$projects
: EO_Workgroup_Collection
-
-
$options
: mixed
= []
-
makeProjectAvatar()
public
static makeProjectAvatar(EO_Workgroup $project) : string|null
Parameters
-
$project
: EO_Workgroup
-
Return values
string|null
makeProjectItems()
public
makeProjectItems(EO_Workgroup_Collection $projects[, array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
-
$projects
: EO_Workgroup_Collection
-
-
$options
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>