Beitrag erstellen #13

Merged
niklas.ortmann merged 164 commits from Beitrag-erstellen into dev 2026-05-29 13:22:11 +02:00
Showing only changes of commit ec0148bb86 - Show all commits
+1 -6
View File
@@ -32,16 +32,11 @@ class LocalArticleManager implements ArticleManagerDAO {
*/ */
public function saveArticle($articles) public function saveArticle($articles)
{ {
/*file_put_contents( file_put_contents(
$this->file, $this->file,
json_encode($articles, JSON_PRETTY_PRINT) json_encode($articles, JSON_PRETTY_PRINT)
); );
*/
foreach ($articles as $article){
echo $article;
echo "<br>";
}
} }
public function addArticle($title, $content, $author, $category, array $tags) public function addArticle($title, $content, $author, $category, array $tags)