ChannelController uses Singleton
FinalYes
Table of Contents
Methods
- __wakeup() : mixed
- getChannel() : Channel|null
- getChannels() : ChannelsCollection
- getInstance() : static
- register() : AddResult
- unregister() : Result
Methods
__wakeup()
public
__wakeup() : mixed
getChannel()
public
getChannel(string $moduleId, string $code) : Channel|null
Parameters
- $moduleId : string
- $code : string
Return values
Channel|nullgetChannels()
public
getChannels([int $offset = 0 ]) : ChannelsCollection
Parameters
- $offset : int = 0
Return values
ChannelsCollectiongetInstance()
public
static getInstance() : static
Return values
staticregister()
public
register(string $moduleId, string $code, int $categoryId, int $userId, string $handlerClass) : AddResult
Parameters
- $moduleId : string
- $code : string
- $categoryId : int
- $userId : int
- $handlerClass : string
Tags
Return values
AddResultunregister()
public
unregister(string $moduleId, string $code) : Result
Parameters
- $moduleId : string
- $code : string