UserFrosting API

ActivityController extends SimpleController

Controller class for activity-related requests.

Basic controller class, that imports the entire DI container for easy access to services. Your controller classes may extend this controller class.

Tags
author

Alex Weissman (https://alexanderweissman.com)

Table of Contents

$ci ContainerInterface
getList() Returns a list of Activities. mixed
pageList() Renders the activity listing page. mixed
__construct() Constructor. mixed

Properties

Methods

getList()

Returns a list of Activities.

public getList( $request : ServerRequestInterface , $response : ResponseInterface , $args : array ) : mixed

Generates a list of activities, optionally paginated, sorted and/or filtered. This page requires authentication. Request type: GET

Parameters
$request : ServerRequestInterface
$response : ResponseInterface
$args : array
Return values
mixed

pageList()

Renders the activity listing page.

public pageList( $request : ServerRequestInterface , $response : ResponseInterface , $args : array ) : mixed

This page renders a table of user activities. This page requires authentication. Request type: GET

Parameters
$request : ServerRequestInterface
$response : ResponseInterface
$args : array
Return values
mixed

__construct()

Constructor.

public __construct( $ci : ContainerInterface ) : mixed
Parameters
$ci : ContainerInterface

The global container object, which holds all your services.

Return values
mixed

Search results