Add support for tag browsing and collection browsing

This commit is contained in:
Alex Cabal 2019-02-26 17:05:23 -06:00
parent f5d7d4e02a
commit cfa54122d6
8 changed files with 181 additions and 14 deletions

11
lib/Collection.php Normal file
View file

@ -0,0 +1,11 @@
<?
class Collection{
public $Name;
public $Url;
public function __construct(string $name){
$this->Name = $name;
$this->Url = '/collections/' . strtolower(str_replace(' ', '-', Formatter::ToPlainText($this->Name))) . '/';
}
}
?>