protected function makeSecondSlidingPanelContent()
 {
     $layout = new PersonCardViewLayout($this->model);
     $content = $layout->renderContent();
     return PersonSlidingPanelsUtil::makeSecondSlidingPanelContent((int) $this->params['portletId'], $content);
 }
 protected function makeSecondSlidingPanelContent()
 {
     $layout = new UserCardViewLayout($this->model);
     $content = $layout->renderContent();
     return PersonSlidingPanelsUtil::makeSecondSlidingPanelContent('UserDetailsView', $content);
 }