diff --git a/php/model/Article.php b/php/model/Article.php index 8f1e4a0..9afe99b 100644 --- a/php/model/Article.php +++ b/php/model/Article.php @@ -12,13 +12,17 @@ class Article private $content; private $author; private $date; + private $category; /** * @param $id integer ID des Beitrages - * @param $title - * @param $content - * @param $author + * @param $title string Titel des Beitrags + * @param $content string Inhalt des Beitrags + * @param $author string der Autor des des Beitrages NID + * @param $category string Kategorie des Beitrages * @param $date + * @param $tags string[] optionale Schlagworte für eine bessere Suche + * */ public function __construct($id, $title, $content, $author, $date) { diff --git a/php/model/ArticleManager.php b/php/model/ArticleManager.php index 24a2e92..3c2fba0 100644 --- a/php/model/ArticleManager.php +++ b/php/model/ArticleManager.php @@ -1,6 +1,6 @@