source: sandbox/2.4-expresso-api/prototype/rest/hypermedia/link.php @ 6230

Revision 6230, 691 bytes checked in by acoutinho, 12 years ago (diff)

Ticket #2758 - Implementacao dos recursos de contatos dinamicos no modelo de rest

Line 
1<?php
2
3class Link {
4
5    public $href;
6    public $rel;
7    public $alt;
8    public $prompt;
9    public $render;
10
11    function setHref($href) {
12        $this->href = $href;
13    }
14
15    function getHref() {
16        return $this->href;
17    }
18
19    function setRel($rel) {
20        $this->rel = $rel;
21    }
22
23    function getRel() {
24        return $this->rel;
25    }
26
27    function setAlt($alt) {
28        $this->alt = $alt;
29    }
30
31    function getAlt() {
32        return $this->alt;
33    }
34
35    function setPrompt($prompt) {
36        $this->prompt = $prompt;
37    }
38
39    function getPrompt() {
40        return $this->prompt;
41    }
42
43    function setRender($render) {
44        $this->render = $render;
45    }
46
47    function getRender() {
48        return $this->render;
49    }
50
51}
52
53?>
Note: See TracBrowser for help on using the repository browser.