Переглянути джерело

Link Model Getters/Setters

Loadblogs_alternative
Ruben De Baets 2 роки тому
джерело
коміт
728f292499
1 змінених файлів з 55 додано та 0 видалено
  1. 55
    0
      src/Model/Link.php

+ 55
- 0
src/Model/Link.php Переглянути файл

@@ -9,4 +9,59 @@ class Link
protected $url;
protected $type;
protected $parent;

public function setID($value)
{
$this->id = $value;
return;
}

public function getOD()
{
return $this->id;
}

public function setName($value)
{
$this->name = $value;
return;
}

public function getName()
{
return $this->name;
}

public function setUrl($value)
{
$this->url = $value;
return;
}

public function getUrl()
{
return $this->url;
}

public function setType($value)
{
$this->type = $value;
return;
}

public function getType()
{
return $this->type;
}

public function setParent($value)
{
$this->parent = $value;
return;
}

public function getParent()
{
return $this->parent;
}
}

Завантаження…
Відмінити
Зберегти