Grabbing the session activity to use in your add on focuses on the SessionActivity from the repository.
PHP:
/** @var SessionActivity $activityRepo */
$activityRepo = XF::app()->repository( 'XF:SessionActivity' )...
You do not have permission to view the full content of this resource.
Log in or register now.