public function getThumbnailURL() { $folder = \FelixOnline\Core\Settings::get('archive_url_location'); $url = $folder . '/thumbs/' . $this->getThumbnail(); return $url; }
private function getFilename($file, $type, $version = 'url') { $theme = new Theme(Settings::get('current_theme')); if ($version == 'url') { $root = $theme->getURL(); } else { if ($version == 'dir') { $root = $theme->getDirectory(); } } switch ($type) { case 'css': return $root . $this->cssPath . $file; break; case 'js': return $root . $this->jsPath . $file; break; } }