1: <?php
2:
3: namespace Mapbender\WmsBundle\Component;
4:
5: /**
6: * Attribution class.
7: *
8: * @author Paul Schmidt
9: */
10: class Attribution
11: {
12:
13: /**
14: * ORM\Column(type="string", nullable=false)
15: */
16: //@TODO Doctrine bug: "protected" replaced with "public"
17: public $title;
18:
19: /**
20: * ORM\Column(type="string", nullable=false)
21: */
22: //@TODO Doctrine bug: "protected" replaced with "public"
23: public $onlineResource;
24:
25: /**
26: * ORM\Column(type="string", nullable=false)
27: */
28: //@TODO Doctrine bug: "protected" replaced with "public"
29: public $logoUrl;
30:
31: /**
32: * Get title
33: *
34: * @return string
35: */
36: public function getTitle()
37: {
38: return $this->title;
39: }
40:
41: /**
42: * Set title
43: * @param string $value
44: */
45: public function setTitle($value)
46: {
47: $this->title = $value;
48: }
49:
50: /**
51: * Get onlineResource
52: *
53: * @return string
54: */
55: public function getOnlineResource()
56: {
57: return $this->onlineResource;
58: }
59:
60: /**
61: * Set onlineResource
62: * @param string $value
63: */
64: public function setOnlineResource($value)
65: {
66: $this->onlineResource = $value;
67: }
68:
69: /**
70: * Get logoUrl
71: *
72: * @return string
73: */
74: public function getLogoUrl()
75: {
76: return $this->logoUrl;
77: }
78:
79: /**
80: * Set logoUrl
81: * @param string $value
82: */
83: public function setLogoUrl(LegendUrl $value)
84: {
85: $this->logoUrl = $value;
86: return $this;
87: }
88: }