UID\" ORDER BY Date DESC" ); } function archiveLists() : array { return Table::_get_all( 'ArchiveLists', 'Database\ArchiveList', "WHERE AuthorUID = \"$this->UID\"" ); } function icon() { global $VIEWS_DIR; // https://tabler.io/icons if ($this->Role === 'User') { include $VIEWS_DIR . '/img/user.svg'; } else { include $VIEWS_DIR . '/img/user-star.svg'; } } }