Nieuws filter op regio

This commit is contained in:
mischa.spelt committed 2017-09-05 19:44:10 +02:00
1 parent eb2710a302
commit a63080acc8
4 files changed
+37 -5

No files matched your search

+10
View File
@@ -2,6 +2,16 @@
namespace Model;
class NewsRegion {
public $title;
public $slug;
public function __construct($title, $slug = null) {
$this->title = $title;
$this->slug = $slug ? $slug : strtolower(str_replace(' ', '', $title));
}
}
class NewsSource {
public $title;
public $url;