-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPostingApplet.php
26 lines (25 loc) · 933 Bytes
/
PostingApplet.php
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
26
<?php
/*
* PostingApplet.php - Interface for a posting-applet
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 3 of
* the License, or (at your option) any later version.
*
* @author Till Glöggler <[email protected]>
* @copyright 2012 Till Glöggler <[email protected]>
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL version 3
* @category Stud.IP
*/
interface PostingApplet {
/**
* returns some HTML do be displayed when a posting is presented
*
* @param string $title the posting-title
* @param string $content the posting-content
* @param string $url url to the posting
* @param string $owner_id user_id of the post-owner
*/
public static function getHTML($name, $content, $url, $owner_id);
}