Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/themes/themes_tag_processor.php
Show All 22 Lines | |||||
return ''; | return ''; | ||||
} | } | ||||
function SelectedTheme($params) | function SelectedTheme($params) | ||||
{ | { | ||||
$object = $this->getObject($params); | $object = $this->getObject($params); | ||||
/** @var kThemesHelper $themes_helper */ | |||||
$themes_helper = $this->Application->recallObject('ThemesHelper'); | $themes_helper = $this->Application->recallObject('ThemesHelper'); | ||||
/* @var $themes_helper kThemesHelper */ | |||||
return $object->GetDBField('ThemeId') == $themes_helper->getCurrentThemeId(); | return $object->GetDBField('ThemeId') == $themes_helper->getCurrentThemeId(); | ||||
} | } | ||||
} | } |