Bitrix API

ProjectProvider extends BaseProvider

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>

Methods

__construct()

public __construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
$options : array<string|int, mixed> = []

canCreateProject()

public static canCreateProject() : bool
Return values
bool

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

getCreateProjectUrl()

public static getCreateProjectUrl([int|null $currentUserId = null ]) : string
Parameters
$currentUserId : int|null = null
Return values
string

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
Return values
string

getSelectedItems()

public getSelectedItems(array<string|int, mixed> $ids) : array<string|int, Item>
Parameters
$ids : array<string|int, mixed>
Return values
array<string|int, Item>

makeItem()

public static makeItem(EO_Workgroup $project[, array<string|int, mixed> $options = [] ]) : Item
Parameters
$project : EO_Workgroup
$options : array<string|int, mixed> = []
Return values
Item

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>

        
On this page

Search results