class vB_Library_FCMessaging extends vB_Library

vB_Library_FCMessaging

Traits

Constants

MESSAGE_TYPE_PRIVATEMESSAGE

MESSAGE_TYPE_NOTIFICATION

CLICK_ACTION_PRIVATEMESSAGE

CLICK_ACTION_THREAD

CLICK_ACTION_POST

CLICK_ACTION_COMMENT

CLICK_ACTION_VISITORMESSAGE

ERROR_TYPE_SETTING

ERROR_TYPE_GENERIC

Properties

static protected $instance from vB_Library
protected $assertor
protected $serverKey
protected $failureReason
protected $worker
protected $fcm_url

Methods

__sleep()

No description

__wakeup()

No description

__construct()

Constructor

static vB_PageCache
instance($class)

Returns singleton instance of self.

static 
getLibraryClassNameInternal($controller)

No description

static 
getContentInstance($contenttypeid)

No description

static 
clearCache()

No description

testServerKey()

No description

testSendMessage($registration_ids)

No description

sendMessageFromCron($messageid, $clientIds = array())

No description

sendMessages($messageHashes)

No description

queueMessage($recipientIds, $messageType, $extra = array())

No description

handleOffloadedTask($messageHashes)

No description

logError($message, $data, $errorType = self::ERROR_TYPE_GENERIC)

No description

enabled()

No description

updateDeviceToken($deviceToken)

No description

removeDeviceToken()

No description

convertUseridsToDeviceTokens($recipientUserids)

No description

Details

in vB_Trait_NoSerialize at line 15
__sleep()

in vB_Trait_NoSerialize at line 20
__wakeup()

at line 68
protected __construct()

Constructor

in vB_Library at line 35
static vB_PageCache instance($class)

Returns singleton instance of self.

Parameters

$class

Return Value

vB_PageCache
  • Reference to singleton instance of the cache handler

in vB_Library at line 52
static protected getLibraryClassNameInternal($controller)

Parameters

$controller

in vB_Library at line 91
static getContentInstance($contenttypeid)

Parameters

$contenttypeid

in vB_Library at line 99
static clearCache()

at line 92
testServerKey()

at line 159
testSendMessage($registration_ids)

Parameters

$registration_ids

at line 257
sendMessageFromCron($messageid, $clientIds = array())

Parameters

$messageid
$clientIds

at line 325
sendMessages($messageHashes)

Parameters

$messageHashes

at line 341
queueMessage($recipientIds, $messageType, $extra = array())

Parameters

$recipientIds
$messageType
$extra

at line 507
handleOffloadedTask($messageHashes)

Parameters

$messageHashes

at line 756
logError($message, $data, $errorType = self::ERROR_TYPE_GENERIC)

Parameters

$message
$data
$errorType

at line 1380
enabled()

at line 1405
updateDeviceToken($deviceToken)

Parameters

$deviceToken

at line 1450
removeDeviceToken()

at line 1490
convertUseridsToDeviceTokens($recipientUserids)

Parameters

$recipientUserids