@@ -14,49 +14,49 @@ 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; |
|
| 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 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * @var string |
| 56 | 56 | * |
| 57 | 57 | * @ORM\Column(name="template", type="string", length=255, nullable=false) |
| 58 | 58 | */ |
| 59 | - private $template; |
|
| 59 | + private $template; |
|
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | 62 | * @var string |
@@ -65,43 +65,43 @@ discard block |
||
| 65 | 65 | */ |
| 66 | 66 | private $url; |
| 67 | 67 | |
| 68 | - /** |
|
| 69 | - * @var string |
|
| 70 | - * |
|
| 71 | - * @ORM\Column(name="content", type="text", nullable=true) |
|
| 72 | - */ |
|
| 73 | - private $content; |
|
| 74 | - |
|
| 75 | - /** |
|
| 76 | - * @var integer |
|
| 77 | - * |
|
| 78 | - * @ORM\Column(name="active", type="integer", nullable=false) |
|
| 79 | - */ |
|
| 80 | - private $active; |
|
| 81 | - |
|
| 82 | - /** |
|
| 83 | - * @var integer |
|
| 84 | - * |
|
| 85 | - * @ORM\Column(name="order", type="integer", nullable=false) |
|
| 86 | - */ |
|
| 87 | - private $order; |
|
| 88 | - |
|
| 89 | - /** |
|
| 90 | - * @var integer |
|
| 91 | - * |
|
| 92 | - * @ORM\Column(name="displayed", type="integer", nullable=false) |
|
| 93 | - */ |
|
| 94 | - private $displayed; |
|
| 95 | - |
|
| 96 | - /** |
|
| 97 | - * @var \Page |
|
| 98 | - * |
|
| 99 | - * @ORM\ManyToOne(targetEntity="Page") |
|
| 100 | - * @ORM\JoinColumns({ |
|
| 101 | - * @ORM\JoinColumn(name="parent", referencedColumnName="id") |
|
| 102 | - * }) |
|
| 103 | - */ |
|
| 104 | - private $parent; |
|
| 68 | + /** |
|
| 69 | + * @var string |
|
| 70 | + * |
|
| 71 | + * @ORM\Column(name="content", type="text", nullable=true) |
|
| 72 | + */ |
|
| 73 | + private $content; |
|
| 74 | + |
|
| 75 | + /** |
|
| 76 | + * @var integer |
|
| 77 | + * |
|
| 78 | + * @ORM\Column(name="active", type="integer", nullable=false) |
|
| 79 | + */ |
|
| 80 | + private $active; |
|
| 81 | + |
|
| 82 | + /** |
|
| 83 | + * @var integer |
|
| 84 | + * |
|
| 85 | + * @ORM\Column(name="order", type="integer", nullable=false) |
|
| 86 | + */ |
|
| 87 | + private $order; |
|
| 88 | + |
|
| 89 | + /** |
|
| 90 | + * @var integer |
|
| 91 | + * |
|
| 92 | + * @ORM\Column(name="displayed", type="integer", nullable=false) |
|
| 93 | + */ |
|
| 94 | + private $displayed; |
|
| 95 | + |
|
| 96 | + /** |
|
| 97 | + * @var \Page |
|
| 98 | + * |
|
| 99 | + * @ORM\ManyToOne(targetEntity="Page") |
|
| 100 | + * @ORM\JoinColumns({ |
|
| 101 | + * @ORM\JoinColumn(name="parent", referencedColumnName="id") |
|
| 102 | + * }) |
|
| 103 | + */ |
|
| 104 | + private $parent; |
|
| 105 | 105 | |
| 106 | 106 | /** |
| 107 | 107 | * @var \DateTime |
@@ -119,85 +119,85 @@ discard block |
||
| 119 | 119 | */ |
| 120 | 120 | private $updateDate; |
| 121 | 121 | |
| 122 | - /** |
|
| 123 | - * @return int |
|
| 124 | - */ |
|
| 125 | - public function getId() |
|
| 126 | - { |
|
| 127 | - return $this->id; |
|
| 128 | - } |
|
| 129 | - |
|
| 130 | - /** |
|
| 131 | - * @param int $id |
|
| 132 | - */ |
|
| 133 | - public function setId($id) |
|
| 134 | - { |
|
| 135 | - $this->id = $id; |
|
| 136 | - } |
|
| 137 | - |
|
| 138 | - /** |
|
| 139 | - * @return string |
|
| 140 | - */ |
|
| 141 | - public function getGuid() |
|
| 142 | - { |
|
| 143 | - return $this->guid; |
|
| 144 | - } |
|
| 145 | - |
|
| 146 | - /** |
|
| 147 | - * @param string $guid |
|
| 148 | - */ |
|
| 149 | - public function setGuid($guid) |
|
| 150 | - { |
|
| 151 | - $this->guid = $guid; |
|
| 152 | - } |
|
| 153 | - |
|
| 154 | - /** |
|
| 155 | - * @return string |
|
| 156 | - */ |
|
| 157 | - public function getTitleTag() |
|
| 158 | - { |
|
| 159 | - return $this->titleTag; |
|
| 160 | - } |
|
| 161 | - |
|
| 162 | - /** |
|
| 163 | - * @param string $titleTag |
|
| 164 | - */ |
|
| 165 | - public function setTitleTag($titleTag) |
|
| 166 | - { |
|
| 167 | - $this->titleTag = $titleTag; |
|
| 168 | - } |
|
| 169 | - |
|
| 170 | - /** |
|
| 171 | - * @return string |
|
| 172 | - */ |
|
| 173 | - public function getDescriptionTag() |
|
| 174 | - { |
|
| 175 | - return $this->descriptionTag; |
|
| 176 | - } |
|
| 177 | - |
|
| 178 | - /** |
|
| 179 | - * @param string $descriptionTag |
|
| 180 | - */ |
|
| 181 | - public function setDescriptionTag($descriptionTag) |
|
| 182 | - { |
|
| 183 | - $this->descriptionTag = $descriptionTag; |
|
| 184 | - } |
|
| 185 | - |
|
| 186 | - /** |
|
| 187 | - * @return string |
|
| 188 | - */ |
|
| 189 | - public function getTitle() |
|
| 190 | - { |
|
| 191 | - return $this->title; |
|
| 192 | - } |
|
| 193 | - |
|
| 194 | - /** |
|
| 195 | - * @param string $title |
|
| 196 | - */ |
|
| 197 | - public function setTitle($title) |
|
| 198 | - { |
|
| 199 | - $this->title = $title; |
|
| 200 | - } |
|
| 122 | + /** |
|
| 123 | + * @return int |
|
| 124 | + */ |
|
| 125 | + public function getId() |
|
| 126 | + { |
|
| 127 | + return $this->id; |
|
| 128 | + } |
|
| 129 | + |
|
| 130 | + /** |
|
| 131 | + * @param int $id |
|
| 132 | + */ |
|
| 133 | + public function setId($id) |
|
| 134 | + { |
|
| 135 | + $this->id = $id; |
|
| 136 | + } |
|
| 137 | + |
|
| 138 | + /** |
|
| 139 | + * @return string |
|
| 140 | + */ |
|
| 141 | + public function getGuid() |
|
| 142 | + { |
|
| 143 | + return $this->guid; |
|
| 144 | + } |
|
| 145 | + |
|
| 146 | + /** |
|
| 147 | + * @param string $guid |
|
| 148 | + */ |
|
| 149 | + public function setGuid($guid) |
|
| 150 | + { |
|
| 151 | + $this->guid = $guid; |
|
| 152 | + } |
|
| 153 | + |
|
| 154 | + /** |
|
| 155 | + * @return string |
|
| 156 | + */ |
|
| 157 | + public function getTitleTag() |
|
| 158 | + { |
|
| 159 | + return $this->titleTag; |
|
| 160 | + } |
|
| 161 | + |
|
| 162 | + /** |
|
| 163 | + * @param string $titleTag |
|
| 164 | + */ |
|
| 165 | + public function setTitleTag($titleTag) |
|
| 166 | + { |
|
| 167 | + $this->titleTag = $titleTag; |
|
| 168 | + } |
|
| 169 | + |
|
| 170 | + /** |
|
| 171 | + * @return string |
|
| 172 | + */ |
|
| 173 | + public function getDescriptionTag() |
|
| 174 | + { |
|
| 175 | + return $this->descriptionTag; |
|
| 176 | + } |
|
| 177 | + |
|
| 178 | + /** |
|
| 179 | + * @param string $descriptionTag |
|
| 180 | + */ |
|
| 181 | + public function setDescriptionTag($descriptionTag) |
|
| 182 | + { |
|
| 183 | + $this->descriptionTag = $descriptionTag; |
|
| 184 | + } |
|
| 185 | + |
|
| 186 | + /** |
|
| 187 | + * @return string |
|
| 188 | + */ |
|
| 189 | + public function getTitle() |
|
| 190 | + { |
|
| 191 | + return $this->title; |
|
| 192 | + } |
|
| 193 | + |
|
| 194 | + /** |
|
| 195 | + * @param string $title |
|
| 196 | + */ |
|
| 197 | + public function setTitle($title) |
|
| 198 | + { |
|
| 199 | + $this->title = $title; |
|
| 200 | + } |
|
| 201 | 201 | |
| 202 | 202 | /** |
| 203 | 203 | * @return string |
@@ -231,85 +231,85 @@ discard block |
||
| 231 | 231 | $this->url = $url; |
| 232 | 232 | } |
| 233 | 233 | |
| 234 | - /** |
|
| 235 | - * @return string |
|
| 236 | - */ |
|
| 237 | - public function getContent() |
|
| 238 | - { |
|
| 239 | - return $this->content; |
|
| 240 | - } |
|
| 241 | - |
|
| 242 | - /** |
|
| 243 | - * @param string $content |
|
| 244 | - */ |
|
| 245 | - public function setContent($content) |
|
| 246 | - { |
|
| 247 | - $this->content = $content; |
|
| 248 | - } |
|
| 249 | - |
|
| 250 | - /** |
|
| 251 | - * @return int |
|
| 252 | - */ |
|
| 253 | - public function getActive() |
|
| 254 | - { |
|
| 255 | - return $this->active; |
|
| 256 | - } |
|
| 257 | - |
|
| 258 | - /** |
|
| 259 | - * @param int $active |
|
| 260 | - */ |
|
| 261 | - public function setActive($active) |
|
| 262 | - { |
|
| 263 | - $this->active = $active; |
|
| 264 | - } |
|
| 265 | - |
|
| 266 | - /** |
|
| 267 | - * @return int |
|
| 268 | - */ |
|
| 269 | - public function getOrder() |
|
| 270 | - { |
|
| 271 | - return $this->order; |
|
| 272 | - } |
|
| 273 | - |
|
| 274 | - /** |
|
| 275 | - * @param int $order |
|
| 276 | - */ |
|
| 277 | - public function setOrder($order) |
|
| 278 | - { |
|
| 279 | - $this->order = $order; |
|
| 280 | - } |
|
| 281 | - |
|
| 282 | - /** |
|
| 283 | - * @return int |
|
| 284 | - */ |
|
| 285 | - public function getDisplayed() |
|
| 286 | - { |
|
| 287 | - return $this->displayed; |
|
| 288 | - } |
|
| 289 | - |
|
| 290 | - /** |
|
| 291 | - * @param int $displayed |
|
| 292 | - */ |
|
| 293 | - public function setDisplayed($displayed) |
|
| 294 | - { |
|
| 295 | - $this->displayed = $displayed; |
|
| 296 | - } |
|
| 297 | - |
|
| 298 | - /** |
|
| 299 | - * @return \Page |
|
| 300 | - */ |
|
| 301 | - public function getParent() |
|
| 302 | - { |
|
| 303 | - return $this->parent; |
|
| 304 | - } |
|
| 305 | - |
|
| 306 | - /** |
|
| 307 | - * @param \Page $parent |
|
| 308 | - */ |
|
| 309 | - public function setParent($parent) |
|
| 310 | - { |
|
| 311 | - $this->parent = $parent; |
|
| 312 | - } |
|
| 234 | + /** |
|
| 235 | + * @return string |
|
| 236 | + */ |
|
| 237 | + public function getContent() |
|
| 238 | + { |
|
| 239 | + return $this->content; |
|
| 240 | + } |
|
| 241 | + |
|
| 242 | + /** |
|
| 243 | + * @param string $content |
|
| 244 | + */ |
|
| 245 | + public function setContent($content) |
|
| 246 | + { |
|
| 247 | + $this->content = $content; |
|
| 248 | + } |
|
| 249 | + |
|
| 250 | + /** |
|
| 251 | + * @return int |
|
| 252 | + */ |
|
| 253 | + public function getActive() |
|
| 254 | + { |
|
| 255 | + return $this->active; |
|
| 256 | + } |
|
| 257 | + |
|
| 258 | + /** |
|
| 259 | + * @param int $active |
|
| 260 | + */ |
|
| 261 | + public function setActive($active) |
|
| 262 | + { |
|
| 263 | + $this->active = $active; |
|
| 264 | + } |
|
| 265 | + |
|
| 266 | + /** |
|
| 267 | + * @return int |
|
| 268 | + */ |
|
| 269 | + public function getOrder() |
|
| 270 | + { |
|
| 271 | + return $this->order; |
|
| 272 | + } |
|
| 273 | + |
|
| 274 | + /** |
|
| 275 | + * @param int $order |
|
| 276 | + */ |
|
| 277 | + public function setOrder($order) |
|
| 278 | + { |
|
| 279 | + $this->order = $order; |
|
| 280 | + } |
|
| 281 | + |
|
| 282 | + /** |
|
| 283 | + * @return int |
|
| 284 | + */ |
|
| 285 | + public function getDisplayed() |
|
| 286 | + { |
|
| 287 | + return $this->displayed; |
|
| 288 | + } |
|
| 289 | + |
|
| 290 | + /** |
|
| 291 | + * @param int $displayed |
|
| 292 | + */ |
|
| 293 | + public function setDisplayed($displayed) |
|
| 294 | + { |
|
| 295 | + $this->displayed = $displayed; |
|
| 296 | + } |
|
| 297 | + |
|
| 298 | + /** |
|
| 299 | + * @return \Page |
|
| 300 | + */ |
|
| 301 | + public function getParent() |
|
| 302 | + { |
|
| 303 | + return $this->parent; |
|
| 304 | + } |
|
| 305 | + |
|
| 306 | + /** |
|
| 307 | + * @param \Page $parent |
|
| 308 | + */ |
|
| 309 | + public function setParent($parent) |
|
| 310 | + { |
|
| 311 | + $this->parent = $parent; |
|
| 312 | + } |
|
| 313 | 313 | |
| 314 | 314 | /** |
| 315 | 315 | * @return \DateTime |