aboutsummaryrefslogtreecommitdiff
path: root/lib/activities/ActivityProvider.php
blob: 16d474a4f7dbece6e50a80470393d7823c9146a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

/**
 * @author      André Klaßen <klassen@elan-ev.de>
 * @author      Till Glöggler <tgloeggl@uos.de>
 * @license     GPL 2 or later
 */


namespace Studip\Activity;

interface ActivityProvider
{
    /**
     * Fill in the url, route and any lengthy content for the passed activity
     *
     * @param Studip\Activity\Activity $activity
     */
    public function getActivityDetails($activity);

    /**
     * Human readable name for the current provider to be used in the activity-title
     */
    public static function getLexicalField();
}