protected function getCustomisedViewSection($sectionName, $title = '', $data = [])
{
// Performs canView permission check by limiting visible projects
$project = $this->getCurrentProject();
if (!$project) {
return $this->project404Response();
}
$data[$sectionName] = 1;
if ($this !== '') {
$data['Title'] = $title;
}
return $this->render($data);
}