class CActivities


Located at : UKNOWVA_ROOT/components/com_community/libraries/activities.php

Constants

COMMENT_SELF

LIKE_SELF

APP_EVENTS

APP_GROUPS

Properties

static $_last_inserted_activity

Methods

remove($appType, $uniqueId)

Removes an existing activity from the system

removeGroup($ids)

No description

add($activity, $params = '', $points = 1, $cleancache = true)

Add new activity,

static 
getActivityContent($act)

Return the HTML formatted activity content

getAppHTML($options)

Return html formatted activity stream for apps stream

getHTML($actor, $target, $date = null, $maxEntry, $type = '', $idprefix = '', $showActivityContent = true, $showMoreActivity = false, $exclusions = null, $displayArchived = false, $filter = 'all', $latestId)

Return html formatted activity stream

getFEED($actor, $target, $date = null, $maxEntry = 20, $type = '')

Return array of rss-feed compatible data

_createdLapse(JDate $date, boolean $showFull = true)

Return html formatted lapse time

Array
getCustomActivities()

Retrieve a list of custom activities which the admin can push

type
getActivitiesByFilter(type $filter = 'all', type $userId, type $view = '', type $showMore = true)

No description

removeWallActivities(type $option, type $wallId)

Remove activities by the given apps and wall id

Details

at line 28
remove($appType, $uniqueId)

Removes an existing activity from the system

Parameters

$appType
$uniqueId

at line 34
removeGroup($ids)

Parameters

$ids

at line 46
add($activity, $params = '', $points = 1, $cleancache = true)

Add new activity,

Parameters

$activity
$params
$points
$cleancache

at line 166
static getActivityContent($act)

Return the HTML formatted activity content

Parameters

$act

at line 732
getAppHTML($options)

Return html formatted activity stream for apps stream

Parameters

$options

at line 860
getHTML($actor, $target, $date = null, $maxEntry, $type = '', $idprefix = '', $showActivityContent = true, $showMoreActivity = false, $exclusions = null, $displayArchived = false, $filter = 'all', $latestId)

Return html formatted activity stream

Parameters

$actor
$target
$date
$maxEntry
$type
$idprefix
$showActivityContent
$showMoreActivity
$exclusions
$displayArchived
$filter
$latestId

at line 943
getFEED($actor, $target, $date = null, $maxEntry = 20, $type = '')

Return array of rss-feed compatible data

Parameters

$actor
$target
$date
$maxEntry
$type

at line 986
_createdLapse(JDate $date, boolean $showFull = true)

Return html formatted lapse time

Parameters

JDate $date date The date you want to compare
boolean $showFull default to be true to show xx Hours xx Minutes, if false will only show Hours or Minutes

at line 1193
Array getCustomActivities()

Retrieve a list of custom activities which the admin can push

Return Value

Array An array of custom activities

at line 1224
type getActivitiesByFilter(type $filter = 'all', type $userId, type $view = '', type $showMore = true)

Parameters

type $filter
type $userId
type $view
type $showMore

Return Value

type

at line 1281
removeWallActivities(type $option, type $wallId)

Remove activities by the given apps and wall id

Parameters

type $option array search criteria.
type $wallId int Wall post id.