CollabAnalytics
extends Analytics
Table of Contents
Constants
-
CATEGORY_COLLAB
= 'collab'
-
CATEGORY_COMMENTS_OPERATIONS
= 'comments_operations'
-
CATEGORY_INVITATION
= 'invitation'
-
CATEGORY_POSTS_OPERATIONS
= 'posts_operations'
-
ELEMENT_ADD_COMMENT_FIELD
= 'add_comment_field'
-
ELEMENT_COMMENT_BUTTON
= 'comment_button'
-
ELEMENT_QUOTE
= 'quote'
-
ELEMENT_REPLY_BUTTON
= 'reply_button'
-
EVENT_COMMENT_CREATE
= 'comment_create'
-
EVENT_COPY_LINK
= 'copy_invitation_link'
-
EVENT_INVITATION
= 'invitation'
-
EVENT_POST_CREATE
= 'post_create'
-
EVENT_SETTINGS_CHANGED
= 'edit_permissions'
-
EVENT_USER_ADDED
= 'add_user'
-
EVENT_USER_DELETED
= 'delete_user'
-
SECTION_COLLAB
= 'collab'
-
SECTION_EDITOR
= 'editor'
-
SECTION_FEED
= 'feed'
-
SECTION_PROJECT
= 'project'
-
STATUS_ERROR
= 'error'
-
STATUS_SUCCESS
= 'success'
-
TOOL_FEED
= 'feed'
-
TOOL_IM
= 'im'
-
TOOL_INVITATION
= 'invitation'
-
TYPE_ANNOUNCEMENT
= 'announcement'
-
TYPE_APPRECIATION
= 'appreciation'
-
TYPE_MODERATOR
= 'moderator'
-
TYPE_OWNER
= 'owner'
-
TYPE_POLL
= 'poll'
-
TYPE_POST
= 'post'
Methods
-
getCategories()
: array<string|int, mixed>
-
getCollabParameter()
: string
-
getElements()
: array<string|int, mixed>
-
getEvents()
: array<string|int, mixed>
-
getInstance()
: static
-
getSections()
: array<string|int, mixed>
-
getStatuses()
: array<string|int, mixed>
-
getSubSections()
: array<string|int, mixed>
-
getTools()
: array<string|int, mixed>
-
getTypes()
: array<string|int, mixed>
-
getUserParameter()
: string
-
getUserTypeParameter()
: string
-
onCommentAdd()
: void
-
onCopyLink()
: void
-
onMemberAdded()
: void
-
onMemberDeleted()
: void
-
onModeratorChanged()
: void
-
onOwnerChanged()
: void
-
onPostCreate()
: void
-
onSettingsChanged()
: void
-
onUserInvitation()
: void
CATEGORY_COLLAB
public
mixed
CATEGORY_COLLAB
= 'collab'
public
mixed
CATEGORY_COMMENTS_OPERATIONS
= 'comments_operations'
CATEGORY_INVITATION
public
mixed
CATEGORY_INVITATION
= 'invitation'
CATEGORY_POSTS_OPERATIONS
public
mixed
CATEGORY_POSTS_OPERATIONS
= 'posts_operations'
public
mixed
ELEMENT_ADD_COMMENT_FIELD
= 'add_comment_field'
public
mixed
ELEMENT_COMMENT_BUTTON
= 'comment_button'
ELEMENT_QUOTE
public
mixed
ELEMENT_QUOTE
= 'quote'
public
mixed
ELEMENT_REPLY_BUTTON
= 'reply_button'
public
mixed
EVENT_COMMENT_CREATE
= 'comment_create'
EVENT_COPY_LINK
public
mixed
EVENT_COPY_LINK
= 'copy_invitation_link'
EVENT_INVITATION
public
mixed
EVENT_INVITATION
= 'invitation'
EVENT_POST_CREATE
public
mixed
EVENT_POST_CREATE
= 'post_create'
EVENT_SETTINGS_CHANGED
public
mixed
EVENT_SETTINGS_CHANGED
= 'edit_permissions'
EVENT_USER_ADDED
public
mixed
EVENT_USER_ADDED
= 'add_user'
EVENT_USER_DELETED
public
mixed
EVENT_USER_DELETED
= 'delete_user'
SECTION_COLLAB
public
mixed
SECTION_COLLAB
= 'collab'
SECTION_EDITOR
public
mixed
SECTION_EDITOR
= 'editor'
SECTION_FEED
public
mixed
SECTION_FEED
= 'feed'
SECTION_PROJECT
public
mixed
SECTION_PROJECT
= 'project'
STATUS_ERROR
public
mixed
STATUS_ERROR
= 'error'
STATUS_SUCCESS
public
mixed
STATUS_SUCCESS
= 'success'
public
mixed
TOOL_FEED
= 'feed'
public
mixed
TOOL_IM
= 'im'
public
mixed
TOOL_INVITATION
= 'invitation'
TYPE_ANNOUNCEMENT
public
mixed
TYPE_ANNOUNCEMENT
= 'announcement'
TYPE_APPRECIATION
public
mixed
TYPE_APPRECIATION
= 'appreciation'
TYPE_MODERATOR
public
mixed
TYPE_MODERATOR
= 'moderator'
TYPE_OWNER
public
mixed
TYPE_OWNER
= 'owner'
TYPE_POLL
public
mixed
TYPE_POLL
= 'poll'
TYPE_POST
public
mixed
TYPE_POST
= 'post'
getCategories()
public
static getCategories() : array<string|int, mixed>
Return values
array<string|int, mixed>
getCollabParameter()
public
getCollabParameter(int $collabId) : string
Parameters
-
$collabId
: int
-
getElements()
public
static getElements() : array<string|int, mixed>
Return values
array<string|int, mixed>
getEvents()
public
static getEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>
getInstance()
public
static getInstance() : static
getSections()
public
static getSections() : array<string|int, mixed>
Return values
array<string|int, mixed>
getStatuses()
public
static getStatuses() : array<string|int, mixed>
Return values
array<string|int, mixed>
getSubSections()
public
static getSubSections() : array<string|int, mixed>
Return values
array<string|int, mixed>
public
static getTools() : array<string|int, mixed>
Return values
array<string|int, mixed>
getTypes()
public
static getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>
getUserParameter()
public
getUserParameter(int $userId) : string
Parameters
-
$userId
: int
-
getUserTypeParameter()
public
getUserTypeParameter(int $userId) : string
Parameters
-
$userId
: int
-
public
onCommentAdd(string|null $section, string|null $element, bool $status, string $type[, array<string|int, mixed> $params = [] ]) : void
Parameters
-
$section
: string|null
-
-
$element
: string|null
-
-
$status
: bool
-
-
$type
: string
-
-
$params
: array<string|int, mixed>
= []
-
onCopyLink()
public
onCopyLink(int $userId, int $collabId) : void
Parameters
-
$userId
: int
-
-
$collabId
: int
-
onMemberAdded()
public
onMemberAdded(int $userId, int $collabId) : void
Parameters
-
$userId
: int
-
-
$collabId
: int
-
onMemberDeleted()
public
onMemberDeleted(int $userId, int $collabId) : void
Parameters
-
$userId
: int
-
-
$collabId
: int
-
onModeratorChanged()
public
onModeratorChanged(int $userId, int $collabId) : void
Parameters
-
$userId
: int
-
-
$collabId
: int
-
onOwnerChanged()
public
onOwnerChanged(int $userId, int $collabId) : void
Parameters
-
$userId
: int
-
-
$collabId
: int
-
onPostCreate()
public
onPostCreate(string|null $section, string|null $element, bool $status, string $type[, array<string|int, mixed> $params = [] ]) : void
Parameters
-
$section
: string|null
-
-
$element
: string|null
-
-
$status
: bool
-
-
$type
: string
-
-
$params
: array<string|int, mixed>
= []
-
onSettingsChanged()
public
onSettingsChanged(int $userId, int $collabId, string $optionName) : void
Parameters
-
$userId
: int
-
-
$collabId
: int
-
-
$optionName
: string
-
onUserInvitation()
public
onUserInvitation(int $userId, int $collabId, string $type) : void
Parameters
-
$userId
: int
-
-
$collabId
: int
-
-
$type
: string
-