@@ -14,80 +14,80 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | class Page |
| 16 | 16 | { |
| 17 | - /** |
|
| 18 | - * @var integer |
|
| 19 | - * |
|
| 20 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true}) |
|
| 21 | - * @ORM\Id |
|
| 22 | - * @ORM\GeneratedValue(strategy="IDENTITY") |
|
| 23 | - */ |
|
| 24 | - private $id; |
|
| 25 | - |
|
| 26 | - /** |
|
| 27 | - * @var string |
|
| 28 | - * |
|
| 29 | - * @ORM\Column(name="guid", type="string", length=255, nullable=false) |
|
| 30 | - */ |
|
| 31 | - private $guid; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @var string |
|
| 35 | - * |
|
| 36 | - * @ORM\Column(name="title_tag", type="string", length=70, nullable=true) |
|
| 37 | - */ |
|
| 38 | - private $titleTag; |
|
| 39 | - |
|
| 40 | - /** |
|
| 41 | - * @var string |
|
| 42 | - * |
|
| 43 | - * @ORM\Column(name="description_tag", type="string", length=160, nullable=true) |
|
| 44 | - */ |
|
| 45 | - private $descriptionTag; |
|
| 46 | - |
|
| 47 | - /** |
|
| 48 | - * @var string |
|
| 49 | - * |
|
| 50 | - * @ORM\Column(name="title", type="string", length=255, nullable=false) |
|
| 51 | - */ |
|
| 52 | - private $title; |
|
| 53 | - |
|
| 54 | - /** |
|
| 55 | - * @var string |
|
| 56 | - * |
|
| 57 | - * @ORM\Column(name="content", type="text", nullable=true) |
|
| 58 | - */ |
|
| 59 | - private $content; |
|
| 60 | - |
|
| 61 | - /** |
|
| 62 | - * @var integer |
|
| 63 | - * |
|
| 64 | - * @ORM\Column(name="active", type="integer", nullable=false) |
|
| 65 | - */ |
|
| 66 | - private $active; |
|
| 67 | - |
|
| 68 | - /** |
|
| 69 | - * @var integer |
|
| 70 | - * |
|
| 71 | - * @ORM\Column(name="order", type="integer", nullable=false) |
|
| 72 | - */ |
|
| 73 | - private $order; |
|
| 74 | - |
|
| 75 | - /** |
|
| 76 | - * @var integer |
|
| 77 | - * |
|
| 78 | - * @ORM\Column(name="displayed", type="integer", nullable=false) |
|
| 79 | - */ |
|
| 80 | - private $displayed; |
|
| 81 | - |
|
| 82 | - /** |
|
| 83 | - * @var \Page |
|
| 84 | - * |
|
| 85 | - * @ORM\ManyToOne(targetEntity="Page") |
|
| 86 | - * @ORM\JoinColumns({ |
|
| 87 | - * @ORM\JoinColumn(name="parent", referencedColumnName="id") |
|
| 88 | - * }) |
|
| 89 | - */ |
|
| 90 | - private $parent; |
|
| 17 | + /** |
|
| 18 | + * @var integer |
|
| 19 | + * |
|
| 20 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true}) |
|
| 21 | + * @ORM\Id |
|
| 22 | + * @ORM\GeneratedValue(strategy="IDENTITY") |
|
| 23 | + */ |
|
| 24 | + private $id; |
|
| 25 | + |
|
| 26 | + /** |
|
| 27 | + * @var string |
|
| 28 | + * |
|
| 29 | + * @ORM\Column(name="guid", type="string", length=255, nullable=false) |
|
| 30 | + */ |
|
| 31 | + private $guid; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @var string |
|
| 35 | + * |
|
| 36 | + * @ORM\Column(name="title_tag", type="string", length=70, nullable=true) |
|
| 37 | + */ |
|
| 38 | + private $titleTag; |
|
| 39 | + |
|
| 40 | + /** |
|
| 41 | + * @var string |
|
| 42 | + * |
|
| 43 | + * @ORM\Column(name="description_tag", type="string", length=160, nullable=true) |
|
| 44 | + */ |
|
| 45 | + private $descriptionTag; |
|
| 46 | + |
|
| 47 | + /** |
|
| 48 | + * @var string |
|
| 49 | + * |
|
| 50 | + * @ORM\Column(name="title", type="string", length=255, nullable=false) |
|
| 51 | + */ |
|
| 52 | + private $title; |
|
| 53 | + |
|
| 54 | + /** |
|
| 55 | + * @var string |
|
| 56 | + * |
|
| 57 | + * @ORM\Column(name="content", type="text", nullable=true) |
|
| 58 | + */ |
|
| 59 | + private $content; |
|
| 60 | + |
|
| 61 | + /** |
|
| 62 | + * @var integer |
|
| 63 | + * |
|
| 64 | + * @ORM\Column(name="active", type="integer", nullable=false) |
|
| 65 | + */ |
|
| 66 | + private $active; |
|
| 67 | + |
|
| 68 | + /** |
|
| 69 | + * @var integer |
|
| 70 | + * |
|
| 71 | + * @ORM\Column(name="order", type="integer", nullable=false) |
|
| 72 | + */ |
|
| 73 | + private $order; |
|
| 74 | + |
|
| 75 | + /** |
|
| 76 | + * @var integer |
|
| 77 | + * |
|
| 78 | + * @ORM\Column(name="displayed", type="integer", nullable=false) |
|
| 79 | + */ |
|
| 80 | + private $displayed; |
|
| 81 | + |
|
| 82 | + /** |
|
| 83 | + * @var \Page |
|
| 84 | + * |
|
| 85 | + * @ORM\ManyToOne(targetEntity="Page") |
|
| 86 | + * @ORM\JoinColumns({ |
|
| 87 | + * @ORM\JoinColumn(name="parent", referencedColumnName="id") |
|
| 88 | + * }) |
|
| 89 | + */ |
|
| 90 | + private $parent; |
|
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | 93 | * @var \DateTime |
@@ -105,165 +105,165 @@ discard block |
||
| 105 | 105 | */ |
| 106 | 106 | private $updateDate; |
| 107 | 107 | |
| 108 | - /** |
|
| 109 | - * @return int |
|
| 110 | - */ |
|
| 111 | - public function getId() |
|
| 112 | - { |
|
| 113 | - return $this->id; |
|
| 114 | - } |
|
| 115 | - |
|
| 116 | - /** |
|
| 117 | - * @param int $id |
|
| 118 | - */ |
|
| 119 | - public function setId($id) |
|
| 120 | - { |
|
| 121 | - $this->id = $id; |
|
| 122 | - } |
|
| 123 | - |
|
| 124 | - /** |
|
| 125 | - * @return string |
|
| 126 | - */ |
|
| 127 | - public function getGuid() |
|
| 128 | - { |
|
| 129 | - return $this->guid; |
|
| 130 | - } |
|
| 131 | - |
|
| 132 | - /** |
|
| 133 | - * @param string $guid |
|
| 134 | - */ |
|
| 135 | - public function setGuid($guid) |
|
| 136 | - { |
|
| 137 | - $this->guid = $guid; |
|
| 138 | - } |
|
| 139 | - |
|
| 140 | - /** |
|
| 141 | - * @return string |
|
| 142 | - */ |
|
| 143 | - public function getTitleTag() |
|
| 144 | - { |
|
| 145 | - return $this->titleTag; |
|
| 146 | - } |
|
| 147 | - |
|
| 148 | - /** |
|
| 149 | - * @param string $titleTag |
|
| 150 | - */ |
|
| 151 | - public function setTitleTag($titleTag) |
|
| 152 | - { |
|
| 153 | - $this->titleTag = $titleTag; |
|
| 154 | - } |
|
| 155 | - |
|
| 156 | - /** |
|
| 157 | - * @return string |
|
| 158 | - */ |
|
| 159 | - public function getDescriptionTag() |
|
| 160 | - { |
|
| 161 | - return $this->descriptionTag; |
|
| 162 | - } |
|
| 163 | - |
|
| 164 | - /** |
|
| 165 | - * @param string $descriptionTag |
|
| 166 | - */ |
|
| 167 | - public function setDescriptionTag($descriptionTag) |
|
| 168 | - { |
|
| 169 | - $this->descriptionTag = $descriptionTag; |
|
| 170 | - } |
|
| 171 | - |
|
| 172 | - /** |
|
| 173 | - * @return string |
|
| 174 | - */ |
|
| 175 | - public function getTitle() |
|
| 176 | - { |
|
| 177 | - return $this->title; |
|
| 178 | - } |
|
| 179 | - |
|
| 180 | - /** |
|
| 181 | - * @param string $title |
|
| 182 | - */ |
|
| 183 | - public function setTitle($title) |
|
| 184 | - { |
|
| 185 | - $this->title = $title; |
|
| 186 | - } |
|
| 187 | - |
|
| 188 | - /** |
|
| 189 | - * @return string |
|
| 190 | - */ |
|
| 191 | - public function getContent() |
|
| 192 | - { |
|
| 193 | - return $this->content; |
|
| 194 | - } |
|
| 195 | - |
|
| 196 | - /** |
|
| 197 | - * @param string $content |
|
| 198 | - */ |
|
| 199 | - public function setContent($content) |
|
| 200 | - { |
|
| 201 | - $this->content = $content; |
|
| 202 | - } |
|
| 203 | - |
|
| 204 | - /** |
|
| 205 | - * @return int |
|
| 206 | - */ |
|
| 207 | - public function getActive() |
|
| 208 | - { |
|
| 209 | - return $this->active; |
|
| 210 | - } |
|
| 211 | - |
|
| 212 | - /** |
|
| 213 | - * @param int $active |
|
| 214 | - */ |
|
| 215 | - public function setActive($active) |
|
| 216 | - { |
|
| 217 | - $this->active = $active; |
|
| 218 | - } |
|
| 219 | - |
|
| 220 | - /** |
|
| 221 | - * @return int |
|
| 222 | - */ |
|
| 223 | - public function getOrder() |
|
| 224 | - { |
|
| 225 | - return $this->order; |
|
| 226 | - } |
|
| 227 | - |
|
| 228 | - /** |
|
| 229 | - * @param int $order |
|
| 230 | - */ |
|
| 231 | - public function setOrder($order) |
|
| 232 | - { |
|
| 233 | - $this->order = $order; |
|
| 234 | - } |
|
| 235 | - |
|
| 236 | - /** |
|
| 237 | - * @return int |
|
| 238 | - */ |
|
| 239 | - public function getDisplayed() |
|
| 240 | - { |
|
| 241 | - return $this->displayed; |
|
| 242 | - } |
|
| 243 | - |
|
| 244 | - /** |
|
| 245 | - * @param int $displayed |
|
| 246 | - */ |
|
| 247 | - public function setDisplayed($displayed) |
|
| 248 | - { |
|
| 249 | - $this->displayed = $displayed; |
|
| 250 | - } |
|
| 251 | - |
|
| 252 | - /** |
|
| 253 | - * @return \Page |
|
| 254 | - */ |
|
| 255 | - public function getParent() |
|
| 256 | - { |
|
| 257 | - return $this->parent; |
|
| 258 | - } |
|
| 259 | - |
|
| 260 | - /** |
|
| 261 | - * @param \Page $parent |
|
| 262 | - */ |
|
| 263 | - public function setParent($parent) |
|
| 264 | - { |
|
| 265 | - $this->parent = $parent; |
|
| 266 | - } |
|
| 108 | + /** |
|
| 109 | + * @return int |
|
| 110 | + */ |
|
| 111 | + public function getId() |
|
| 112 | + { |
|
| 113 | + return $this->id; |
|
| 114 | + } |
|
| 115 | + |
|
| 116 | + /** |
|
| 117 | + * @param int $id |
|
| 118 | + */ |
|
| 119 | + public function setId($id) |
|
| 120 | + { |
|
| 121 | + $this->id = $id; |
|
| 122 | + } |
|
| 123 | + |
|
| 124 | + /** |
|
| 125 | + * @return string |
|
| 126 | + */ |
|
| 127 | + public function getGuid() |
|
| 128 | + { |
|
| 129 | + return $this->guid; |
|
| 130 | + } |
|
| 131 | + |
|
| 132 | + /** |
|
| 133 | + * @param string $guid |
|
| 134 | + */ |
|
| 135 | + public function setGuid($guid) |
|
| 136 | + { |
|
| 137 | + $this->guid = $guid; |
|
| 138 | + } |
|
| 139 | + |
|
| 140 | + /** |
|
| 141 | + * @return string |
|
| 142 | + */ |
|
| 143 | + public function getTitleTag() |
|
| 144 | + { |
|
| 145 | + return $this->titleTag; |
|
| 146 | + } |
|
| 147 | + |
|
| 148 | + /** |
|
| 149 | + * @param string $titleTag |
|
| 150 | + */ |
|
| 151 | + public function setTitleTag($titleTag) |
|
| 152 | + { |
|
| 153 | + $this->titleTag = $titleTag; |
|
| 154 | + } |
|
| 155 | + |
|
| 156 | + /** |
|
| 157 | + * @return string |
|
| 158 | + */ |
|
| 159 | + public function getDescriptionTag() |
|
| 160 | + { |
|
| 161 | + return $this->descriptionTag; |
|
| 162 | + } |
|
| 163 | + |
|
| 164 | + /** |
|
| 165 | + * @param string $descriptionTag |
|
| 166 | + */ |
|
| 167 | + public function setDescriptionTag($descriptionTag) |
|
| 168 | + { |
|
| 169 | + $this->descriptionTag = $descriptionTag; |
|
| 170 | + } |
|
| 171 | + |
|
| 172 | + /** |
|
| 173 | + * @return string |
|
| 174 | + */ |
|
| 175 | + public function getTitle() |
|
| 176 | + { |
|
| 177 | + return $this->title; |
|
| 178 | + } |
|
| 179 | + |
|
| 180 | + /** |
|
| 181 | + * @param string $title |
|
| 182 | + */ |
|
| 183 | + public function setTitle($title) |
|
| 184 | + { |
|
| 185 | + $this->title = $title; |
|
| 186 | + } |
|
| 187 | + |
|
| 188 | + /** |
|
| 189 | + * @return string |
|
| 190 | + */ |
|
| 191 | + public function getContent() |
|
| 192 | + { |
|
| 193 | + return $this->content; |
|
| 194 | + } |
|
| 195 | + |
|
| 196 | + /** |
|
| 197 | + * @param string $content |
|
| 198 | + */ |
|
| 199 | + public function setContent($content) |
|
| 200 | + { |
|
| 201 | + $this->content = $content; |
|
| 202 | + } |
|
| 203 | + |
|
| 204 | + /** |
|
| 205 | + * @return int |
|
| 206 | + */ |
|
| 207 | + public function getActive() |
|
| 208 | + { |
|
| 209 | + return $this->active; |
|
| 210 | + } |
|
| 211 | + |
|
| 212 | + /** |
|
| 213 | + * @param int $active |
|
| 214 | + */ |
|
| 215 | + public function setActive($active) |
|
| 216 | + { |
|
| 217 | + $this->active = $active; |
|
| 218 | + } |
|
| 219 | + |
|
| 220 | + /** |
|
| 221 | + * @return int |
|
| 222 | + */ |
|
| 223 | + public function getOrder() |
|
| 224 | + { |
|
| 225 | + return $this->order; |
|
| 226 | + } |
|
| 227 | + |
|
| 228 | + /** |
|
| 229 | + * @param int $order |
|
| 230 | + */ |
|
| 231 | + public function setOrder($order) |
|
| 232 | + { |
|
| 233 | + $this->order = $order; |
|
| 234 | + } |
|
| 235 | + |
|
| 236 | + /** |
|
| 237 | + * @return int |
|
| 238 | + */ |
|
| 239 | + public function getDisplayed() |
|
| 240 | + { |
|
| 241 | + return $this->displayed; |
|
| 242 | + } |
|
| 243 | + |
|
| 244 | + /** |
|
| 245 | + * @param int $displayed |
|
| 246 | + */ |
|
| 247 | + public function setDisplayed($displayed) |
|
| 248 | + { |
|
| 249 | + $this->displayed = $displayed; |
|
| 250 | + } |
|
| 251 | + |
|
| 252 | + /** |
|
| 253 | + * @return \Page |
|
| 254 | + */ |
|
| 255 | + public function getParent() |
|
| 256 | + { |
|
| 257 | + return $this->parent; |
|
| 258 | + } |
|
| 259 | + |
|
| 260 | + /** |
|
| 261 | + * @param \Page $parent |
|
| 262 | + */ |
|
| 263 | + public function setParent($parent) |
|
| 264 | + { |
|
| 265 | + $this->parent = $parent; |
|
| 266 | + } |
|
| 267 | 267 | |
| 268 | 268 | /** |
| 269 | 269 | * @return \DateTime |
@@ -12,8 +12,7 @@ discard block |
||
| 12 | 12 | * @ORM\Entity |
| 13 | 13 | * @ORM\EntityListeners({"Ribs\RibsAdminBundle\EventListener\GuidAwareListener"}) |
| 14 | 14 | */ |
| 15 | -class Page |
|
| 16 | -{ |
|
| 15 | +class Page { |
|
| 17 | 16 | /** |
| 18 | 17 | * @var integer |
| 19 | 18 | * |
@@ -108,160 +107,140 @@ discard block |
||
| 108 | 107 | /** |
| 109 | 108 | * @return int |
| 110 | 109 | */ |
| 111 | - public function getId() |
|
| 112 | - { |
|
| 110 | + public function getId() { |
|
| 113 | 111 | return $this->id; |
| 114 | 112 | } |
| 115 | 113 | |
| 116 | 114 | /** |
| 117 | 115 | * @param int $id |
| 118 | 116 | */ |
| 119 | - public function setId($id) |
|
| 120 | - { |
|
| 117 | + public function setId($id) { |
|
| 121 | 118 | $this->id = $id; |
| 122 | 119 | } |
| 123 | 120 | |
| 124 | 121 | /** |
| 125 | 122 | * @return string |
| 126 | 123 | */ |
| 127 | - public function getGuid() |
|
| 128 | - { |
|
| 124 | + public function getGuid() { |
|
| 129 | 125 | return $this->guid; |
| 130 | 126 | } |
| 131 | 127 | |
| 132 | 128 | /** |
| 133 | 129 | * @param string $guid |
| 134 | 130 | */ |
| 135 | - public function setGuid($guid) |
|
| 136 | - { |
|
| 131 | + public function setGuid($guid) { |
|
| 137 | 132 | $this->guid = $guid; |
| 138 | 133 | } |
| 139 | 134 | |
| 140 | 135 | /** |
| 141 | 136 | * @return string |
| 142 | 137 | */ |
| 143 | - public function getTitleTag() |
|
| 144 | - { |
|
| 138 | + public function getTitleTag() { |
|
| 145 | 139 | return $this->titleTag; |
| 146 | 140 | } |
| 147 | 141 | |
| 148 | 142 | /** |
| 149 | 143 | * @param string $titleTag |
| 150 | 144 | */ |
| 151 | - public function setTitleTag($titleTag) |
|
| 152 | - { |
|
| 145 | + public function setTitleTag($titleTag) { |
|
| 153 | 146 | $this->titleTag = $titleTag; |
| 154 | 147 | } |
| 155 | 148 | |
| 156 | 149 | /** |
| 157 | 150 | * @return string |
| 158 | 151 | */ |
| 159 | - public function getDescriptionTag() |
|
| 160 | - { |
|
| 152 | + public function getDescriptionTag() { |
|
| 161 | 153 | return $this->descriptionTag; |
| 162 | 154 | } |
| 163 | 155 | |
| 164 | 156 | /** |
| 165 | 157 | * @param string $descriptionTag |
| 166 | 158 | */ |
| 167 | - public function setDescriptionTag($descriptionTag) |
|
| 168 | - { |
|
| 159 | + public function setDescriptionTag($descriptionTag) { |
|
| 169 | 160 | $this->descriptionTag = $descriptionTag; |
| 170 | 161 | } |
| 171 | 162 | |
| 172 | 163 | /** |
| 173 | 164 | * @return string |
| 174 | 165 | */ |
| 175 | - public function getTitle() |
|
| 176 | - { |
|
| 166 | + public function getTitle() { |
|
| 177 | 167 | return $this->title; |
| 178 | 168 | } |
| 179 | 169 | |
| 180 | 170 | /** |
| 181 | 171 | * @param string $title |
| 182 | 172 | */ |
| 183 | - public function setTitle($title) |
|
| 184 | - { |
|
| 173 | + public function setTitle($title) { |
|
| 185 | 174 | $this->title = $title; |
| 186 | 175 | } |
| 187 | 176 | |
| 188 | 177 | /** |
| 189 | 178 | * @return string |
| 190 | 179 | */ |
| 191 | - public function getContent() |
|
| 192 | - { |
|
| 180 | + public function getContent() { |
|
| 193 | 181 | return $this->content; |
| 194 | 182 | } |
| 195 | 183 | |
| 196 | 184 | /** |
| 197 | 185 | * @param string $content |
| 198 | 186 | */ |
| 199 | - public function setContent($content) |
|
| 200 | - { |
|
| 187 | + public function setContent($content) { |
|
| 201 | 188 | $this->content = $content; |
| 202 | 189 | } |
| 203 | 190 | |
| 204 | 191 | /** |
| 205 | 192 | * @return int |
| 206 | 193 | */ |
| 207 | - public function getActive() |
|
| 208 | - { |
|
| 194 | + public function getActive() { |
|
| 209 | 195 | return $this->active; |
| 210 | 196 | } |
| 211 | 197 | |
| 212 | 198 | /** |
| 213 | 199 | * @param int $active |
| 214 | 200 | */ |
| 215 | - public function setActive($active) |
|
| 216 | - { |
|
| 201 | + public function setActive($active) { |
|
| 217 | 202 | $this->active = $active; |
| 218 | 203 | } |
| 219 | 204 | |
| 220 | 205 | /** |
| 221 | 206 | * @return int |
| 222 | 207 | */ |
| 223 | - public function getOrder() |
|
| 224 | - { |
|
| 208 | + public function getOrder() { |
|
| 225 | 209 | return $this->order; |
| 226 | 210 | } |
| 227 | 211 | |
| 228 | 212 | /** |
| 229 | 213 | * @param int $order |
| 230 | 214 | */ |
| 231 | - public function setOrder($order) |
|
| 232 | - { |
|
| 215 | + public function setOrder($order) { |
|
| 233 | 216 | $this->order = $order; |
| 234 | 217 | } |
| 235 | 218 | |
| 236 | 219 | /** |
| 237 | 220 | * @return int |
| 238 | 221 | */ |
| 239 | - public function getDisplayed() |
|
| 240 | - { |
|
| 222 | + public function getDisplayed() { |
|
| 241 | 223 | return $this->displayed; |
| 242 | 224 | } |
| 243 | 225 | |
| 244 | 226 | /** |
| 245 | 227 | * @param int $displayed |
| 246 | 228 | */ |
| 247 | - public function setDisplayed($displayed) |
|
| 248 | - { |
|
| 229 | + public function setDisplayed($displayed) { |
|
| 249 | 230 | $this->displayed = $displayed; |
| 250 | 231 | } |
| 251 | 232 | |
| 252 | 233 | /** |
| 253 | 234 | * @return \Page |
| 254 | 235 | */ |
| 255 | - public function getParent() |
|
| 256 | - { |
|
| 236 | + public function getParent() { |
|
| 257 | 237 | return $this->parent; |
| 258 | 238 | } |
| 259 | 239 | |
| 260 | 240 | /** |
| 261 | 241 | * @param \Page $parent |
| 262 | 242 | */ |
| 263 | - public function setParent($parent) |
|
| 264 | - { |
|
| 243 | + public function setParent($parent) { |
|
| 265 | 244 | $this->parent = $parent; |
| 266 | 245 | } |
| 267 | 246 | |
@@ -276,8 +255,7 @@ discard block |
||
| 276 | 255 | /** |
| 277 | 256 | * @param \DateTime $creationDate |
| 278 | 257 | */ |
| 279 | - public function setCreationDate(\DateTime $creationDate) |
|
| 280 | - { |
|
| 258 | + public function setCreationDate(\DateTime $creationDate) { |
|
| 281 | 259 | $this->creationDate = $creationDate; |
| 282 | 260 | } |
| 283 | 261 | |
@@ -292,8 +270,7 @@ discard block |
||
| 292 | 270 | /** |
| 293 | 271 | * @param \DateTime $updateDate |
| 294 | 272 | */ |
| 295 | - public function setUpdateDate(\DateTime $updateDate) |
|
| 296 | - { |
|
| 273 | + public function setUpdateDate(\DateTime $updateDate) { |
|
| 297 | 274 | $this->updateDate = $updateDate; |
| 298 | 275 | } |
| 299 | 276 | } |
@@ -14,8 +14,7 @@ discard block |
||
| 14 | 14 | * @ORM\Entity |
| 15 | 15 | * @ORM\EntityListeners({"Ribs\RibsAdminBundle\EventListener\GuidAwareListener"}) |
| 16 | 16 | */ |
| 17 | -class AccessRight |
|
| 18 | -{ |
|
| 17 | +class AccessRight { |
|
| 19 | 18 | /** |
| 20 | 19 | * @var integer |
| 21 | 20 | * |
@@ -72,8 +71,7 @@ discard block |
||
| 72 | 71 | /** |
| 73 | 72 | * AccessRight constructor. |
| 74 | 73 | */ |
| 75 | - public function __construct() |
|
| 76 | - { |
|
| 74 | + public function __construct() { |
|
| 77 | 75 | $this->users = new ArrayCollection(); |
| 78 | 76 | } |
| 79 | 77 | |
@@ -88,96 +86,84 @@ discard block |
||
| 88 | 86 | /** |
| 89 | 87 | * @param int $id |
| 90 | 88 | */ |
| 91 | - public function setId(int $id) |
|
| 92 | - { |
|
| 89 | + public function setId(int $id) { |
|
| 93 | 90 | $this->id = $id; |
| 94 | 91 | } |
| 95 | 92 | |
| 96 | 93 | /** |
| 97 | 94 | * @return string |
| 98 | 95 | */ |
| 99 | - public function getGuid() |
|
| 100 | - { |
|
| 96 | + public function getGuid() { |
|
| 101 | 97 | return $this->guid; |
| 102 | 98 | } |
| 103 | 99 | |
| 104 | 100 | /** |
| 105 | 101 | * @param string $guid |
| 106 | 102 | */ |
| 107 | - public function setGuid(string $guid) |
|
| 108 | - { |
|
| 103 | + public function setGuid(string $guid) { |
|
| 109 | 104 | $this->guid = $guid; |
| 110 | 105 | } |
| 111 | 106 | |
| 112 | 107 | /** |
| 113 | 108 | * @return string |
| 114 | 109 | */ |
| 115 | - public function getName() |
|
| 116 | - { |
|
| 110 | + public function getName() { |
|
| 117 | 111 | return $this->name; |
| 118 | 112 | } |
| 119 | 113 | |
| 120 | 114 | /** |
| 121 | 115 | * @param string $name |
| 122 | 116 | */ |
| 123 | - public function setName(string $name) |
|
| 124 | - { |
|
| 117 | + public function setName(string $name) { |
|
| 125 | 118 | $this->name = $name; |
| 126 | 119 | } |
| 127 | 120 | |
| 128 | 121 | /** |
| 129 | 122 | * @return string |
| 130 | 123 | */ |
| 131 | - public function getAccessRights() |
|
| 132 | - { |
|
| 124 | + public function getAccessRights() { |
|
| 133 | 125 | return $this->accessRights; |
| 134 | 126 | } |
| 135 | 127 | |
| 136 | 128 | /** |
| 137 | 129 | * @param string $accessRights |
| 138 | 130 | */ |
| 139 | - public function setAccessRights(string $accessRights) |
|
| 140 | - { |
|
| 131 | + public function setAccessRights(string $accessRights) { |
|
| 141 | 132 | $this->accessRights = $accessRights; |
| 142 | 133 | } |
| 143 | 134 | |
| 144 | 135 | /** |
| 145 | 136 | * @return \DateTime |
| 146 | 137 | */ |
| 147 | - public function getCreationDate() |
|
| 148 | - { |
|
| 138 | + public function getCreationDate() { |
|
| 149 | 139 | return $this->creationDate; |
| 150 | 140 | } |
| 151 | 141 | |
| 152 | 142 | /** |
| 153 | 143 | * @param \DateTime $creationDate |
| 154 | 144 | */ |
| 155 | - public function setCreationDate(\DateTime $creationDate) |
|
| 156 | - { |
|
| 145 | + public function setCreationDate(\DateTime $creationDate) { |
|
| 157 | 146 | $this->creationDate = $creationDate; |
| 158 | 147 | } |
| 159 | 148 | |
| 160 | 149 | /** |
| 161 | 150 | * @return \DateTime |
| 162 | 151 | */ |
| 163 | - public function getUpdateDate() |
|
| 164 | - { |
|
| 152 | + public function getUpdateDate() { |
|
| 165 | 153 | return $this->updateDate; |
| 166 | 154 | } |
| 167 | 155 | |
| 168 | 156 | /** |
| 169 | 157 | * @param \DateTime $updateDate |
| 170 | 158 | */ |
| 171 | - public function setUpdateDate(\DateTime $updateDate) |
|
| 172 | - { |
|
| 159 | + public function setUpdateDate(\DateTime $updateDate) { |
|
| 173 | 160 | $this->updateDate = $updateDate; |
| 174 | 161 | } |
| 175 | 162 | |
| 176 | 163 | /** |
| 177 | 164 | * @return ArrayCollection |
| 178 | 165 | */ |
| 179 | - public function getUsers() |
|
| 180 | - { |
|
| 166 | + public function getUsers() { |
|
| 181 | 167 | return $this->users; |
| 182 | 168 | } |
| 183 | 169 | |
@@ -185,8 +171,7 @@ discard block |
||
| 185 | 171 | * @param User $user |
| 186 | 172 | * @return $this |
| 187 | 173 | */ |
| 188 | - public function addUser(User $user) |
|
| 189 | - { |
|
| 174 | + public function addUser(User $user) { |
|
| 190 | 175 | $this->users[] = $user; |
| 191 | 176 | |
| 192 | 177 | return $this; |
@@ -195,8 +180,7 @@ discard block |
||
| 195 | 180 | /** |
| 196 | 181 | * @param User $user |
| 197 | 182 | */ |
| 198 | - public function removeUser(User $user) |
|
| 199 | - { |
|
| 183 | + public function removeUser(User $user) { |
|
| 200 | 184 | $this->users->removeElement($user); |
| 201 | 185 | } |
| 202 | 186 | } |
| 203 | 187 | \ No newline at end of file |
@@ -13,26 +13,26 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | class UserLogs |
| 15 | 15 | { |
| 16 | - /** |
|
| 17 | - * @var integer |
|
| 18 | - * |
|
| 19 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true}) |
|
| 20 | - * @ORM\Id |
|
| 21 | - * @ORM\GeneratedValue(strategy="NONE") |
|
| 22 | - */ |
|
| 23 | - private $id; |
|
| 16 | + /** |
|
| 17 | + * @var integer |
|
| 18 | + * |
|
| 19 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true}) |
|
| 20 | + * @ORM\Id |
|
| 21 | + * @ORM\GeneratedValue(strategy="NONE") |
|
| 22 | + */ |
|
| 23 | + private $id; |
|
| 24 | 24 | |
| 25 | - /** |
|
| 26 | - * @var \User |
|
| 27 | - * |
|
| 28 | - * @ORM\Id |
|
| 29 | - * @ORM\GeneratedValue(strategy="NONE") |
|
| 30 | - * @ORM\OneToOne(targetEntity="User") |
|
| 31 | - * @ORM\JoinColumns({ |
|
| 32 | - * @ORM\JoinColumn(name="user_id", referencedColumnName="id") |
|
| 33 | - * }) |
|
| 34 | - */ |
|
| 35 | - private $user; |
|
| 25 | + /** |
|
| 26 | + * @var \User |
|
| 27 | + * |
|
| 28 | + * @ORM\Id |
|
| 29 | + * @ORM\GeneratedValue(strategy="NONE") |
|
| 30 | + * @ORM\OneToOne(targetEntity="User") |
|
| 31 | + * @ORM\JoinColumns({ |
|
| 32 | + * @ORM\JoinColumn(name="user_id", referencedColumnName="id") |
|
| 33 | + * }) |
|
| 34 | + */ |
|
| 35 | + private $user; |
|
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * @var \DateTime |
@@ -50,37 +50,37 @@ discard block |
||
| 50 | 50 | */ |
| 51 | 51 | private $updateDate; |
| 52 | 52 | |
| 53 | - /** |
|
| 54 | - * @return int |
|
| 55 | - */ |
|
| 56 | - public function getId() |
|
| 57 | - { |
|
| 58 | - return $this->id; |
|
| 59 | - } |
|
| 53 | + /** |
|
| 54 | + * @return int |
|
| 55 | + */ |
|
| 56 | + public function getId() |
|
| 57 | + { |
|
| 58 | + return $this->id; |
|
| 59 | + } |
|
| 60 | 60 | |
| 61 | - /** |
|
| 62 | - * @param int $id |
|
| 63 | - */ |
|
| 64 | - public function setId($id) |
|
| 65 | - { |
|
| 66 | - $this->id = $id; |
|
| 67 | - } |
|
| 61 | + /** |
|
| 62 | + * @param int $id |
|
| 63 | + */ |
|
| 64 | + public function setId($id) |
|
| 65 | + { |
|
| 66 | + $this->id = $id; |
|
| 67 | + } |
|
| 68 | 68 | |
| 69 | - /** |
|
| 70 | - * @return \User |
|
| 71 | - */ |
|
| 72 | - public function getUser() |
|
| 73 | - { |
|
| 74 | - return $this->user; |
|
| 75 | - } |
|
| 69 | + /** |
|
| 70 | + * @return \User |
|
| 71 | + */ |
|
| 72 | + public function getUser() |
|
| 73 | + { |
|
| 74 | + return $this->user; |
|
| 75 | + } |
|
| 76 | 76 | |
| 77 | - /** |
|
| 78 | - * @param \User $user |
|
| 79 | - */ |
|
| 80 | - public function setUser($user) |
|
| 81 | - { |
|
| 82 | - $this->user = $user; |
|
| 83 | - } |
|
| 77 | + /** |
|
| 78 | + * @param \User $user |
|
| 79 | + */ |
|
| 80 | + public function setUser($user) |
|
| 81 | + { |
|
| 82 | + $this->user = $user; |
|
| 83 | + } |
|
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * @return \DateTime |
@@ -11,8 +11,7 @@ discard block |
||
| 11 | 11 | * @ORM\Table(name="user_logs", indexes={@ORM\Index(name="fk_user_infos_user_idx", columns={"user_id"})}) |
| 12 | 12 | * @ORM\Entity |
| 13 | 13 | */ |
| 14 | -class UserLogs |
|
| 15 | -{ |
|
| 14 | +class UserLogs { |
|
| 16 | 15 | /** |
| 17 | 16 | * @var integer |
| 18 | 17 | * |
@@ -53,32 +52,28 @@ discard block |
||
| 53 | 52 | /** |
| 54 | 53 | * @return int |
| 55 | 54 | */ |
| 56 | - public function getId() |
|
| 57 | - { |
|
| 55 | + public function getId() { |
|
| 58 | 56 | return $this->id; |
| 59 | 57 | } |
| 60 | 58 | |
| 61 | 59 | /** |
| 62 | 60 | * @param int $id |
| 63 | 61 | */ |
| 64 | - public function setId($id) |
|
| 65 | - { |
|
| 62 | + public function setId($id) { |
|
| 66 | 63 | $this->id = $id; |
| 67 | 64 | } |
| 68 | 65 | |
| 69 | 66 | /** |
| 70 | 67 | * @return \User |
| 71 | 68 | */ |
| 72 | - public function getUser() |
|
| 73 | - { |
|
| 69 | + public function getUser() { |
|
| 74 | 70 | return $this->user; |
| 75 | 71 | } |
| 76 | 72 | |
| 77 | 73 | /** |
| 78 | 74 | * @param \User $user |
| 79 | 75 | */ |
| 80 | - public function setUser($user) |
|
| 81 | - { |
|
| 76 | + public function setUser($user) { |
|
| 82 | 77 | $this->user = $user; |
| 83 | 78 | } |
| 84 | 79 | |
@@ -93,8 +88,7 @@ discard block |
||
| 93 | 88 | /** |
| 94 | 89 | * @param \DateTime $creationDate |
| 95 | 90 | */ |
| 96 | - public function setCreationDate(\DateTime $creationDate) |
|
| 97 | - { |
|
| 91 | + public function setCreationDate(\DateTime $creationDate) { |
|
| 98 | 92 | $this->creationDate = $creationDate; |
| 99 | 93 | } |
| 100 | 94 | |
@@ -109,8 +103,7 @@ discard block |
||
| 109 | 103 | /** |
| 110 | 104 | * @param \DateTime $updateDate |
| 111 | 105 | */ |
| 112 | - public function setUpdateDate(\DateTime $updateDate) |
|
| 113 | - { |
|
| 106 | + public function setUpdateDate(\DateTime $updateDate) { |
|
| 114 | 107 | $this->updateDate = $updateDate; |
| 115 | 108 | } |
| 116 | 109 | } |
@@ -14,21 +14,21 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | class User |
| 16 | 16 | { |
| 17 | - /** |
|
| 18 | - * @var integer |
|
| 19 | - * |
|
| 20 | - * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true}) |
|
| 21 | - * @ORM\Id |
|
| 22 | - * @ORM\GeneratedValue(strategy="IDENTITY") |
|
| 23 | - */ |
|
| 24 | - private $id; |
|
| 25 | - |
|
| 26 | - /** |
|
| 27 | - * @var string |
|
| 28 | - * |
|
| 29 | - * @ORM\Column(name="guid", type="string", length=255, nullable=false) |
|
| 30 | - */ |
|
| 31 | - private $guid; |
|
| 17 | + /** |
|
| 18 | + * @var integer |
|
| 19 | + * |
|
| 20 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true}) |
|
| 21 | + * @ORM\Id |
|
| 22 | + * @ORM\GeneratedValue(strategy="IDENTITY") |
|
| 23 | + */ |
|
| 24 | + private $id; |
|
| 25 | + |
|
| 26 | + /** |
|
| 27 | + * @var string |
|
| 28 | + * |
|
| 29 | + * @ORM\Column(name="guid", type="string", length=255, nullable=false) |
|
| 30 | + */ |
|
| 31 | + private $guid; |
|
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @var AccessRight |
@@ -36,56 +36,56 @@ discard block |
||
| 36 | 36 | * @ORM\ManyToOne(targetEntity="Ribs\RibsAdminBundle\Entity\AccessRight", inversedBy="users") |
| 37 | 37 | * @ORM\JoinColumn(name="id_access_right", referencedColumnName="id", nullable=true) |
| 38 | 38 | */ |
| 39 | - private $accessRightList; |
|
| 40 | - |
|
| 41 | - /** |
|
| 42 | - * @var string |
|
| 43 | - * |
|
| 44 | - * @ORM\Column(name="firstname", type="string", length=255, nullable=false) |
|
| 45 | - */ |
|
| 46 | - private $firstname; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @var string |
|
| 50 | - * |
|
| 51 | - * @ORM\Column(name="lastname", type="string", length=255, nullable=false) |
|
| 52 | - */ |
|
| 53 | - private $lastname; |
|
| 54 | - |
|
| 55 | - /** |
|
| 56 | - * @var string |
|
| 57 | - * |
|
| 58 | - * @ORM\Column(name="adress", type="string", length=255, nullable=true) |
|
| 59 | - */ |
|
| 60 | - private $adress; |
|
| 61 | - |
|
| 62 | - /** |
|
| 63 | - * @var string |
|
| 64 | - * |
|
| 65 | - * @ORM\Column(name="postal_code", type="string", length=100, nullable=true) |
|
| 66 | - */ |
|
| 67 | - private $postalCode; |
|
| 68 | - |
|
| 69 | - /** |
|
| 70 | - * @var string |
|
| 71 | - * |
|
| 72 | - * @ORM\Column(name="country", type="string", length=100, nullable=true) |
|
| 73 | - */ |
|
| 74 | - private $country; |
|
| 75 | - |
|
| 76 | - /** |
|
| 77 | - * @var string |
|
| 78 | - * |
|
| 79 | - * @ORM\Column(name="state", type="string", length=255, nullable=true) |
|
| 80 | - */ |
|
| 81 | - private $state; |
|
| 82 | - |
|
| 83 | - /** |
|
| 84 | - * @var string |
|
| 85 | - * |
|
| 86 | - * @ORM\Column(name="access_rights", type="text", nullable=true) |
|
| 87 | - */ |
|
| 88 | - private $accessRights; |
|
| 39 | + private $accessRightList; |
|
| 40 | + |
|
| 41 | + /** |
|
| 42 | + * @var string |
|
| 43 | + * |
|
| 44 | + * @ORM\Column(name="firstname", type="string", length=255, nullable=false) |
|
| 45 | + */ |
|
| 46 | + private $firstname; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @var string |
|
| 50 | + * |
|
| 51 | + * @ORM\Column(name="lastname", type="string", length=255, nullable=false) |
|
| 52 | + */ |
|
| 53 | + private $lastname; |
|
| 54 | + |
|
| 55 | + /** |
|
| 56 | + * @var string |
|
| 57 | + * |
|
| 58 | + * @ORM\Column(name="adress", type="string", length=255, nullable=true) |
|
| 59 | + */ |
|
| 60 | + private $adress; |
|
| 61 | + |
|
| 62 | + /** |
|
| 63 | + * @var string |
|
| 64 | + * |
|
| 65 | + * @ORM\Column(name="postal_code", type="string", length=100, nullable=true) |
|
| 66 | + */ |
|
| 67 | + private $postalCode; |
|
| 68 | + |
|
| 69 | + /** |
|
| 70 | + * @var string |
|
| 71 | + * |
|
| 72 | + * @ORM\Column(name="country", type="string", length=100, nullable=true) |
|
| 73 | + */ |
|
| 74 | + private $country; |
|
| 75 | + |
|
| 76 | + /** |
|
| 77 | + * @var string |
|
| 78 | + * |
|
| 79 | + * @ORM\Column(name="state", type="string", length=255, nullable=true) |
|
| 80 | + */ |
|
| 81 | + private $state; |
|
| 82 | + |
|
| 83 | + /** |
|
| 84 | + * @var string |
|
| 85 | + * |
|
| 86 | + * @ORM\Column(name="access_rights", type="text", nullable=true) |
|
| 87 | + */ |
|
| 88 | + private $accessRights; |
|
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | 91 | * @var boolean |
@@ -110,37 +110,37 @@ discard block |
||
| 110 | 110 | */ |
| 111 | 111 | private $updateDate; |
| 112 | 112 | |
| 113 | - /** |
|
| 114 | - * @return int |
|
| 115 | - */ |
|
| 116 | - public function getId() |
|
| 117 | - { |
|
| 118 | - return $this->id; |
|
| 119 | - } |
|
| 120 | - |
|
| 121 | - /** |
|
| 122 | - * @param int $id |
|
| 123 | - */ |
|
| 124 | - public function setId($id) |
|
| 125 | - { |
|
| 126 | - $this->id = $id; |
|
| 127 | - } |
|
| 128 | - |
|
| 129 | - /** |
|
| 130 | - * @return string |
|
| 131 | - */ |
|
| 132 | - public function getGuid() |
|
| 133 | - { |
|
| 134 | - return $this->guid; |
|
| 135 | - } |
|
| 136 | - |
|
| 137 | - /** |
|
| 138 | - * @param string $guid |
|
| 139 | - */ |
|
| 140 | - public function setGuid($guid) |
|
| 141 | - { |
|
| 142 | - $this->guid = $guid; |
|
| 143 | - } |
|
| 113 | + /** |
|
| 114 | + * @return int |
|
| 115 | + */ |
|
| 116 | + public function getId() |
|
| 117 | + { |
|
| 118 | + return $this->id; |
|
| 119 | + } |
|
| 120 | + |
|
| 121 | + /** |
|
| 122 | + * @param int $id |
|
| 123 | + */ |
|
| 124 | + public function setId($id) |
|
| 125 | + { |
|
| 126 | + $this->id = $id; |
|
| 127 | + } |
|
| 128 | + |
|
| 129 | + /** |
|
| 130 | + * @return string |
|
| 131 | + */ |
|
| 132 | + public function getGuid() |
|
| 133 | + { |
|
| 134 | + return $this->guid; |
|
| 135 | + } |
|
| 136 | + |
|
| 137 | + /** |
|
| 138 | + * @param string $guid |
|
| 139 | + */ |
|
| 140 | + public function setGuid($guid) |
|
| 141 | + { |
|
| 142 | + $this->guid = $guid; |
|
| 143 | + } |
|
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | 146 | * @return AccessRight |
@@ -158,133 +158,133 @@ discard block |
||
| 158 | 158 | $this->accessRightList = $accessRightList; |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | - /** |
|
| 162 | - * @return string |
|
| 163 | - */ |
|
| 164 | - public function getFirstname() |
|
| 165 | - { |
|
| 166 | - return $this->firstname; |
|
| 167 | - } |
|
| 168 | - |
|
| 169 | - /** |
|
| 170 | - * @param string $firstname |
|
| 171 | - */ |
|
| 172 | - public function setFirstname($firstname) |
|
| 173 | - { |
|
| 174 | - $this->firstname = $firstname; |
|
| 175 | - } |
|
| 176 | - |
|
| 177 | - /** |
|
| 178 | - * @return string |
|
| 179 | - */ |
|
| 180 | - public function getLastname() |
|
| 181 | - { |
|
| 182 | - return $this->lastname; |
|
| 183 | - } |
|
| 184 | - |
|
| 185 | - /** |
|
| 186 | - * @param string $lastname |
|
| 187 | - */ |
|
| 188 | - public function setLastname($lastname) |
|
| 189 | - { |
|
| 190 | - $this->lastname = $lastname; |
|
| 191 | - } |
|
| 192 | - |
|
| 193 | - /** |
|
| 194 | - * @return string |
|
| 195 | - */ |
|
| 196 | - public function getAdress() |
|
| 197 | - { |
|
| 198 | - return $this->adress; |
|
| 199 | - } |
|
| 200 | - |
|
| 201 | - /** |
|
| 202 | - * @param string $adress |
|
| 203 | - */ |
|
| 204 | - public function setAdress($adress) |
|
| 205 | - { |
|
| 206 | - $this->adress = $adress; |
|
| 207 | - } |
|
| 208 | - |
|
| 209 | - /** |
|
| 210 | - * @return string |
|
| 211 | - */ |
|
| 212 | - public function getPostalCode() |
|
| 213 | - { |
|
| 214 | - return $this->postalCode; |
|
| 215 | - } |
|
| 216 | - |
|
| 217 | - /** |
|
| 218 | - * @param string $postalCode |
|
| 219 | - */ |
|
| 220 | - public function setPostalCode($postalCode) |
|
| 221 | - { |
|
| 222 | - $this->postalCode = $postalCode; |
|
| 223 | - } |
|
| 224 | - |
|
| 225 | - /** |
|
| 226 | - * @return string |
|
| 227 | - */ |
|
| 228 | - public function getCountry() |
|
| 229 | - { |
|
| 230 | - return $this->country; |
|
| 231 | - } |
|
| 232 | - |
|
| 233 | - /** |
|
| 234 | - * @param string $country |
|
| 235 | - */ |
|
| 236 | - public function setCountry($country) |
|
| 237 | - { |
|
| 238 | - $this->country = $country; |
|
| 239 | - } |
|
| 240 | - |
|
| 241 | - /** |
|
| 242 | - * @return string |
|
| 243 | - */ |
|
| 244 | - public function getState() |
|
| 245 | - { |
|
| 246 | - return $this->state; |
|
| 247 | - } |
|
| 248 | - |
|
| 249 | - /** |
|
| 250 | - * @param string $state |
|
| 251 | - */ |
|
| 252 | - public function setState($state) |
|
| 253 | - { |
|
| 254 | - $this->state = $state; |
|
| 255 | - } |
|
| 256 | - |
|
| 257 | - /** |
|
| 258 | - * @return string |
|
| 259 | - */ |
|
| 260 | - public function getAccessRights() |
|
| 261 | - { |
|
| 262 | - return $this->accessRights; |
|
| 263 | - } |
|
| 264 | - |
|
| 265 | - /** |
|
| 266 | - * @param string $accessRights |
|
| 267 | - */ |
|
| 268 | - public function setAccessRights($accessRights) |
|
| 269 | - { |
|
| 270 | - $this->accessRights = $accessRights; |
|
| 271 | - } |
|
| 272 | - |
|
| 273 | - /** |
|
| 274 | - * @return \DateTime |
|
| 275 | - */ |
|
| 276 | - public function getCreationDate() |
|
| 277 | - { |
|
| 278 | - return $this->creationDate; |
|
| 279 | - } |
|
| 280 | - |
|
| 281 | - /** |
|
| 282 | - * @param \DateTime $creationDate |
|
| 283 | - */ |
|
| 284 | - public function setCreationDate($creationDate) |
|
| 285 | - { |
|
| 286 | - $this->creationDate = $creationDate; |
|
| 287 | - } |
|
| 161 | + /** |
|
| 162 | + * @return string |
|
| 163 | + */ |
|
| 164 | + public function getFirstname() |
|
| 165 | + { |
|
| 166 | + return $this->firstname; |
|
| 167 | + } |
|
| 168 | + |
|
| 169 | + /** |
|
| 170 | + * @param string $firstname |
|
| 171 | + */ |
|
| 172 | + public function setFirstname($firstname) |
|
| 173 | + { |
|
| 174 | + $this->firstname = $firstname; |
|
| 175 | + } |
|
| 176 | + |
|
| 177 | + /** |
|
| 178 | + * @return string |
|
| 179 | + */ |
|
| 180 | + public function getLastname() |
|
| 181 | + { |
|
| 182 | + return $this->lastname; |
|
| 183 | + } |
|
| 184 | + |
|
| 185 | + /** |
|
| 186 | + * @param string $lastname |
|
| 187 | + */ |
|
| 188 | + public function setLastname($lastname) |
|
| 189 | + { |
|
| 190 | + $this->lastname = $lastname; |
|
| 191 | + } |
|
| 192 | + |
|
| 193 | + /** |
|
| 194 | + * @return string |
|
| 195 | + */ |
|
| 196 | + public function getAdress() |
|
| 197 | + { |
|
| 198 | + return $this->adress; |
|
| 199 | + } |
|
| 200 | + |
|
| 201 | + /** |
|
| 202 | + * @param string $adress |
|
| 203 | + */ |
|
| 204 | + public function setAdress($adress) |
|
| 205 | + { |
|
| 206 | + $this->adress = $adress; |
|
| 207 | + } |
|
| 208 | + |
|
| 209 | + /** |
|
| 210 | + * @return string |
|
| 211 | + */ |
|
| 212 | + public function getPostalCode() |
|
| 213 | + { |
|
| 214 | + return $this->postalCode; |
|
| 215 | + } |
|
| 216 | + |
|
| 217 | + /** |
|
| 218 | + * @param string $postalCode |
|
| 219 | + */ |
|
| 220 | + public function setPostalCode($postalCode) |
|
| 221 | + { |
|
| 222 | + $this->postalCode = $postalCode; |
|
| 223 | + } |
|
| 224 | + |
|
| 225 | + /** |
|
| 226 | + * @return string |
|
| 227 | + */ |
|
| 228 | + public function getCountry() |
|
| 229 | + { |
|
| 230 | + return $this->country; |
|
| 231 | + } |
|
| 232 | + |
|
| 233 | + /** |
|
| 234 | + * @param string $country |
|
| 235 | + */ |
|
| 236 | + public function setCountry($country) |
|
| 237 | + { |
|
| 238 | + $this->country = $country; |
|
| 239 | + } |
|
| 240 | + |
|
| 241 | + /** |
|
| 242 | + * @return string |
|
| 243 | + */ |
|
| 244 | + public function getState() |
|
| 245 | + { |
|
| 246 | + return $this->state; |
|
| 247 | + } |
|
| 248 | + |
|
| 249 | + /** |
|
| 250 | + * @param string $state |
|
| 251 | + */ |
|
| 252 | + public function setState($state) |
|
| 253 | + { |
|
| 254 | + $this->state = $state; |
|
| 255 | + } |
|
| 256 | + |
|
| 257 | + /** |
|
| 258 | + * @return string |
|
| 259 | + */ |
|
| 260 | + public function getAccessRights() |
|
| 261 | + { |
|
| 262 | + return $this->accessRights; |
|
| 263 | + } |
|
| 264 | + |
|
| 265 | + /** |
|
| 266 | + * @param string $accessRights |
|
| 267 | + */ |
|
| 268 | + public function setAccessRights($accessRights) |
|
| 269 | + { |
|
| 270 | + $this->accessRights = $accessRights; |
|
| 271 | + } |
|
| 272 | + |
|
| 273 | + /** |
|
| 274 | + * @return \DateTime |
|
| 275 | + */ |
|
| 276 | + public function getCreationDate() |
|
| 277 | + { |
|
| 278 | + return $this->creationDate; |
|
| 279 | + } |
|
| 280 | + |
|
| 281 | + /** |
|
| 282 | + * @param \DateTime $creationDate |
|
| 283 | + */ |
|
| 284 | + public function setCreationDate($creationDate) |
|
| 285 | + { |
|
| 286 | + $this->creationDate = $creationDate; |
|
| 287 | + } |
|
| 288 | 288 | |
| 289 | 289 | /** |
| 290 | 290 | * @return boolean |
@@ -302,21 +302,21 @@ discard block |
||
| 302 | 302 | $this->archived = $archived; |
| 303 | 303 | } |
| 304 | 304 | |
| 305 | - /** |
|
| 306 | - * @return \DateTime |
|
| 307 | - */ |
|
| 308 | - public function getUpdateDate() |
|
| 309 | - { |
|
| 310 | - return $this->updateDate; |
|
| 311 | - } |
|
| 312 | - |
|
| 313 | - /** |
|
| 314 | - * @param \DateTime $updateDate |
|
| 315 | - */ |
|
| 316 | - public function setUpdateDate($updateDate) |
|
| 317 | - { |
|
| 318 | - $this->updateDate = $updateDate; |
|
| 319 | - } |
|
| 305 | + /** |
|
| 306 | + * @return \DateTime |
|
| 307 | + */ |
|
| 308 | + public function getUpdateDate() |
|
| 309 | + { |
|
| 310 | + return $this->updateDate; |
|
| 311 | + } |
|
| 312 | + |
|
| 313 | + /** |
|
| 314 | + * @param \DateTime $updateDate |
|
| 315 | + */ |
|
| 316 | + public function setUpdateDate($updateDate) |
|
| 317 | + { |
|
| 318 | + $this->updateDate = $updateDate; |
|
| 319 | + } |
|
| 320 | 320 | |
| 321 | 321 | |
| 322 | 322 | } |