$userId = LegacyHelper::getUserId(); $isAdmin = ($userId && LegacyHelper::isAdminUser($userId)); $isGroupManager = $this->isGroupManager; $isFranchiseManager = $this->isFranchiseManager ?>