public function single($contentGroup) { $item = Data::loadCurrent($contentGroup); if (isset($item)) { $tpl = new Util\Template(Util\Template::MODULE, ['app', 'Standard']); $tpl->set('item', $item); $tpl->set('filter', self::hasFilter()); return $tpl->render('single'); } else { Util\Log::log(Util\Code::CONTENT_NOT_FOUND, 'Standard contentGroup: ' . $contentGroup, __FILE__, __LINE__); return ''; } }