You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Link.php 975B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. namespace Blog\Model;
  3. class Link
  4. {
  5. protected $id;
  6. protected $name;
  7. protected $url;
  8. protected $type;
  9. protected $parent;
  10. public function setID($value)
  11. {
  12. $this->id = $value;
  13. return;
  14. }
  15. public function getOD()
  16. {
  17. return $this->id;
  18. }
  19. public function setName($value)
  20. {
  21. $this->name = $value;
  22. return;
  23. }
  24. public function getName()
  25. {
  26. return $this->name;
  27. }
  28. public function setUrl($value)
  29. {
  30. $this->url = $value;
  31. return;
  32. }
  33. public function getUrl()
  34. {
  35. return $this->url;
  36. }
  37. public function setType($value)
  38. {
  39. $this->type = $value;
  40. return;
  41. }
  42. public function getType()
  43. {
  44. return $this->type;
  45. }
  46. public function setParent($value)
  47. {
  48. $this->parent = $value;
  49. return;
  50. }
  51. public function getParent()
  52. {
  53. return $this->parent;
  54. }
  55. }