Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | /** |
4 | * |
5 | * This program is free software; you can redistribute it and/or |
6 | * modify it under the terms of the GNU General Public License |
7 | * as published by the Free Software Foundation; under version 2 |
8 | * of the License (non-upgradable). |
9 | * |
10 | * This program is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | * GNU General Public License for more details. |
14 | * |
15 | * You should have received a copy of the GNU General Public License |
16 | * along with this program; if not, write to the Free Software |
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
18 | * |
19 | * Copyright (c) 2013 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT); |
20 | * |
21 | * |
22 | */ |
23 | |
24 | namespace oat\tao\model\websource; |
25 | |
26 | /** |
27 | * Returns a web url to a resource |
28 | * |
29 | * @access public |
30 | * @author Joel Bout, <joel@taotesting.com> |
31 | * @package tao |
32 | |
33 | * @license GPLv2 http://www.opensource.org/licenses/gpl-2.0.php |
34 | */ |
35 | interface Websource |
36 | { |
37 | /** |
38 | * Returns an URL that can be used to acces the resource specified by relativePath |
39 | * |
40 | * @param string $relativePath |
41 | * @return string URL to the resource |
42 | */ |
43 | public function getAccessUrl($relativePath); |
44 | } |