PHP Class Traq\Controllers\Timeline

Since: 3.0.0
Author: Jack P.
Inheritance: extends AppController
Show file Open project: nirix/traq

Public Methods

Method Description
__construct ( )
deleteEventAction ( integer $id ) Delete timeline event.
indexAction ( ) Handles the timeline page.
setFiltersAction ( ) Set filters.

Protected Methods

Method Description
getFilteredEvents ( ) Get filtered events.
getRows ( $table, array $ids ) : array Get rows from the specified table.

Method Details

__construct() public method

public __construct ( )

deleteEventAction() public method

Delete timeline event.
public deleteEventAction ( integer $id )
$id integer

getFilteredEvents() protected method

Get filtered events.
protected getFilteredEvents ( )

getRows() protected method

Get rows from the specified table.
protected getRows ( $table, array $ids ) : array
$ids array
return array

indexAction() public method

Handles the timeline page.
public indexAction ( )

setFiltersAction() public method

Set filters.
public setFiltersAction ( )