Overview

Packages

  • ClipIt
    • clipit
      • api
    • urjc
      • backend
  • Elgg
    • Core
      • Access
      • Authentication
      • Cache
      • Caches
      • Core
      • DataMode
        • Site
      • DataModel
        • Annotations
        • Entities
        • Extender
        • File
        • Importable
        • Loggable
        • Notable
        • Object
        • User
      • DataStorage
      • Exception
      • Exceptions
        • Stub
      • FileStore
        • Disk
      • Groups
      • Helpers
      • HMAC
      • Memcache
      • Metadata
      • Navigation
      • ODD
      • Output
      • Plugins
        • Settings
      • Sessions
      • SocialModel
        • Friendable
        • Locatable
      • WebServicesAPI
      • Widgets
      • XML
      • XMLRPC
    • Exceptions
      • Stub
  • None
  • PHP

Classes

  • ElggRelationship
  • ElggRiverItem
  • Overview
  • Package
  • Class
  • Tree

Class ElggRiverItem

River item class.

Package: Elgg\Core\Core
Located at ElggRiverItem.php
Methods summary
public
# __construct( stdClass $object )

Construct a river item object given a database row.

Construct a river item object given a database row.

Parameters

$object
stdClass
$object Object obtained from database
public ElggEntity
# getSubjectEntity( )

Get the subject of this river item

Get the subject of this river item

Returns

ElggEntity
public ElggEntity
# getObjectEntity( )

Get the object of this river item

Get the object of this river item

Returns

ElggEntity
public ElggAnnotation
# getAnnotation( )

Get the Annotation for this river item

Get the Annotation for this river item

Returns

ElggAnnotation
public string
# getView( )

Get the view used to display this river item

Get the view used to display this river item

Returns

string
public integer
# getPostedTime( )

Get the time this activity was posted

Get the time this activity was posted

Returns

integer
public string
# getType( )

Get the type of the object

Get the type of the object

Returns

string
'river'
public string
# getSubtype( )

Get the subtype of the object

Get the subtype of the object

Returns

string
'item'
Properties summary
public mixed $id
#
public mixed $subject_guid
#
public mixed $object_guid
#
public mixed $annotation_id
#
public mixed $type
#
public mixed $subtype
#
public mixed $action_type
#
public mixed $access_id
#
public mixed $view
#
public mixed $posted
#
Magic properties summary
public integer $id
#

The unique identifier (read-only)

The unique identifier (read-only)

public integer $subject_guid
#

The GUID of the actor

The GUID of the actor

public integer $object_guid
#

The GUID of the object

The GUID of the object

public integer $annotation_id
#

The ID of the annotation involved in the action

The ID of the annotation involved in the action

public string $type
#

The type of one of the entities involved in the action

The type of one of the entities involved in the action

public string $subtype
#

The subtype of one of the entities involved in the action

The subtype of one of the entities involved in the action

public string $action_type
#

The name of the action

The name of the action

public string $view
#

The view for displaying this river item

The view for displaying this river item

public integer $access_id
#

The visibility of the river item

The visibility of the river item

public integer $posted
#

UNIX timestamp when the action occurred

UNIX timestamp when the action occurred

API documentation generated by ApiGen 2.8.0