<?php /* * This file is part of Anis Server. * * (c) Laboratoire d'Astrophysique de Marseille / CNRS * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; /** * @author François Agneray <francois.agneray@lam.fr> * @package App\Entity * * @Entity * @Table(name="instance") */ class Instance implements \JsonSerializable { /** * @var string * * @Id * @Column(type="string", nullable=false) */ protected $name; /** * @var string * * @Column(type="string", nullable=false) */ protected $label; /** * @var string * * @Column(type="text", nullable=true) */ protected $description; /** * @var string * * @Column(type="string", name="scientific_manager", nullable=true) */ protected $scientificManager; /** * @var string * * @Column(type="string", name="instrument", nullable=true) */ protected $instrument; /** * @var string * * @Column(type="string", name="wavelength_domain", nullable=true) */ protected $wavelengthDomain; /** * @var int * * @Column(type="integer", nullable=false) */ protected $display; /** * @var string * * @Column(type="string", name="data_path", nullable=true) */ protected $dataPath; /** * @var string * * @Column(type="string", name="files_path", nullable=true) */ protected $filesPath; /** * @var bool * * @Column(type="boolean", nullable=false) */ protected $public; /** * @var string * * @Column(type="string", name="portal_logo", nullable=true) */ protected $portalLogo; /** * @var string * * @Column(type="string", name="design_color", nullable=true) */ protected $designColor; /** * @var string * * @Column(type="string", name="design_background_color", nullable=true) */ protected $designBackgroundColor; /** * @var string * * @Column(type="string", name="design_logo", nullable=true) */ protected $designLogo; /** * @var string * * @Column(type="string", name="design_favicon", nullable=true) */ protected $designFavicon; /** * @var string * * @Column(type="string", name="navbar_background_color", nullable=false, options={"default" : "#F8F9FA"}) */ protected $navbarBackgroundColor; /** * @var string * * @Column(type="string", name="navbar_border_bottom_color", nullable=false, options={"default" : "#DEE2E6"}) */ protected $navbarBorderBottomColor; /** * @var string * * @Column(type="string", name="navbar_color_href", nullable=false, options={"default" : "#000000"}) */ protected $navbarColorHref; /** * @var string * * @Column(type="string", name="navbar_font_family", nullable=false, options={"default" : "Roboto, sans-serif"}) */ protected $navbarFontFamily; /** * @var string * * @Column(type="string", name="navbar_sign_in_btn_color", nullable=false, options={"default" : "#28A745"}) */ protected $navbarSignInBtnColor; /** * @var string * * @Column(type="string", name="navbar_user_btn_color", nullable=false, options={"default" : "#7AC29A"}) */ protected $navbarUserBtnColor; /** * @var string * * @Column(type="string", name="footer_background_color", nullable=false, options={"default" : "#F8F9FA"}) */ protected $footerBackgroundColor; /** * @var string * * @Column(type="string", name="footer_border_top_color", nullable=false, options={"default" : "#DEE2E6"}) */ protected $footerBorderTopColor; /** * @var string * * @Column(type="string", name="footer_text_color", nullable=false, options={"default" : "#000000"}) */ protected $footerTextColor; /** * @var string * * @Column(type="json", name="footer_logos", nullable=true) */ protected $footerLogos; /** * @var string * * @Column(type="string", name="family_border_color", nullable=false, options={"default" : "#DFDFDF"}) */ protected $familyBorderColor; /** * @var string * * @Column(type="string", name="family_header_background_color", nullable=false, options={"default" : "#F7F7F7"}) */ protected $familyHeaderBackgroundColor; /** * @var string * * @Column(type="string", name="family_title_color", nullable=false, options={"default" : "#007bff"}) */ protected $familyTitleColor; /** * @var bool * * @Column(type="boolean", name="family_title_bold", nullable=false, options={"default" : false}) */ protected $familyTitleBold; /** * @var string * * @Column(type="string", name="family_background_color", nullable=false, options={"default" : "#FFFFFF"}) */ protected $familyBackgroundColor; /** * @var string * * @Column(type="string", name="family_color", nullable=false, options={"default" : "#212529"}) */ protected $familyColor; /** * @var string * * @Column(type="string", name="progress_bar_title", nullable=false, options={"default" : "Dataset search"}) */ protected $progressBarTitle; /** * @var string * * @Column(type="string", name="progress_bar_title_color", nullable=false, options={"default" : "#000000"}) */ protected $progressBarTitleColor; /** * @var string * * @Column(type="string", name="progress_bar_subtitle", nullable=false, options={ * "default" : "Select a dataset, add criteria, select output columns and display the result." * }) */ protected $progressBarSubtitle; /** * @var string * * @Column(type="string", name="progress_bar_subtitle_color", nullable=false, options={"default" : "#6C757D"}) */ protected $progressBarSubtitleColor; /** * @var string * * @Column(type="string", name="progress_bar_step_dataset_title", nullable=false, options={ * "default" : "Dataset selection" * }) */ protected $progressBarStepDatasetTitle; /** * @var string * * @Column(type="string", name="progress_bar_step_criteria_title", nullable=false, options={ * "default" : "Search criteria" * }) */ protected $progressBarStepCriteriaTitle; /** * @var string * * @Column(type="string", name="progress_bar_step_output_title", nullable=false, options={ * "default" : "Output columns" * }) */ protected $progressBarStepOutputTitle; /** * @var string * * @Column(type="string", name="progress_bar_step_result_title", nullable=false, options={ * "default" : "Result table" * }) */ protected $progressBarStepResultTitle; /** * @var string * * @Column(type="string", name="progress_bar_color", nullable=false, options={"default" : "#E9ECEF"}) */ protected $progressBarColor; /** * @var string * * @Column(type="string", name="progress_bar_active_color", nullable=false, options={"default" : "#7AC29A"}) */ protected $progressBarActiveColor; /** * @var string * * @Column(type="string", name="progress_bar_circle_color", nullable=false, options={"default" : "#FFFFFF"}) */ protected $progressBarCircleColor; /** * @var string * * @Column(type="string", name="progress_bar_circle_icon_color", nullable=false, options={"default" : "#CCCCCC"}) */ protected $progressBarCircleIconColor; /** * @var string * * @Column(type="string", name="progress_bar_circle_icon_active_color", nullable=false, options={ * "default" : "#FFFFFF" * }) */ protected $progressBarCircleIconActiveColor; /** * @var string * * @Column(type="string", name="progress_bar_text_color", nullable=false, options={"default" : "#91B2BF"}) */ protected $progressBarTextColor; /** * @var string * * @Column(type="string", name="result_header_background_color", nullable=false, options={"default" : "#E9ECEF"}) */ protected $resultHeaderBackgroundColor; /** * @var string * * @Column(type="string", name="result_header_text_color", nullable=false, options={"default" : "#000000"}) */ protected $resultHeaderTextColor; /** * @var string * * @Column(type="string", name="result_header_btn_color", nullable=false, options={"default" : "#007BFF"}) */ protected $resultHeaderBtnColor; /** * @var string * * @Column(type="string", name="result_header_btn_hover_color", nullable=false, options={"default" : "#0069D9"}) */ protected $resultHeaderBtnHoverColor; /** * @var string * * @Column(type="string", name="result_header_btn_text_color", nullable=false, options={"default" : "#FFFFFF"}) */ protected $resultHeaderBtnTextColor; /** * @var bool * * @Column(type="boolean", name="result_datatable_bordered", nullable=false, options={"default" : true}) */ protected $resultDatatableBordered; /** * @var string * * @Column(type="string", name="result_datatable_border_color", nullable=false, options={ * "default" : "#DEE2E6" * }) */ protected $resultDatatableBorderColor; /** * @var string * * @Column(type="string", name="result_datatable_header_background_color", nullable=false, options={ * "default" : "#FFFFFF" * }) */ protected $resultDatatableHeaderBackgroundColor; /** * @var string * * @Column(type="string", name="result_datatable_header_text_color", nullable=false, options={ * "default" : "#000000" * }) */ protected $resultDatatableHeaderTextColor; /** * @var string * * @Column(type="string", name="result_datatable_rows_background_color", nullable=false, options={ * "default" : "#FFFFFF" * }) */ protected $resultDatatableRowsBackgroundColor; /** * @var string * * @Column(type="string", name="result_datatable_rows_text_color", nullable=false, options={"default" : "#000000"}) */ protected $resultDatatableRowsTextColor; /** * @var string * * @Column(type="string", name="result_datatable_sorted_color", nullable=false, options={"default" : "#C5C5C5"}) */ protected $resultDatatableSortedColor; /** * @var string * * @Column(type="string", name="result_datatable_sorted_active_color", nullable=false, options={ * "default" : "#000000" * }) */ protected $resultDatatableSortedActiveColor; /** * @var string * * @Column(type="string", name="result_datatable_link_color", nullable=false, options={"default" : "#007BFF"}) */ protected $resultDatatableLinkColor; /** * @var string * * @Column(type="string", name="result_datatable_link_hover_color", nullable=false, options={ * "default" : "#0056B3" * }) */ protected $resultDatatableLinkHoverColor; /** * @var string * * @Column(type="string", name="result_datatable_rows_selected_color", nullable=false, options={ * "default" : "#7AC29A" * }) */ protected $resultDatatableRowsSelectedColor; /** * @var bool * * @Column(type="boolean", name="samp_enabled", nullable=false) */ protected $sampEnabled; /** * @var bool * * @Column(type="boolean", name="back_to_portal", nullable=false) */ protected $backToPortal; /** * @var bool * * @Column(type="boolean", name="user_menu_enabled", nullable=false, options={"default" : true}) */ protected $userMenuEnabled; /** * @var bool * * @Column(type="boolean", name="search_by_criteria_allowed", nullable=false) */ protected $searchByCriteriaAllowed; /** * @var string * * @Column(type="string", name="search_by_criteria_label", nullable=false) */ protected $searchByCriteriaLabel; /** * @var bool * * @Column(type="boolean", name="search_multiple_allowed", nullable=false) */ protected $searchMultipleAllowed; /** * @var string * * @Column(type="string", name="search_multiple_label", nullable=false) */ protected $searchMultipleLabel; /** * @var bool * * @Column(type="boolean", name="search_multiple_all_datasets_selected", nullable=false) */ protected $searchMultipleAllDatasetsSelected; /** * @var bool * * @Column(type="boolean", name="documentation_allowed", nullable=false) */ protected $documentationAllowed; /** * @var string * * @Column(type="string", name="documentation_label", nullable=false) */ protected $documentationLabel; /** * @var DatasetFamily[] * * @OneToMany(targetEntity="DatasetFamily", mappedBy="instance") */ protected $datasetFamilies; public function __construct(string $name, string $label) { $this->name = $name; $this->label = $label; $this->datasetFamilies = new ArrayCollection(); } public function getName() { return $this->name; } public function getLabel() { return $this->label; } public function setLabel(string $label) { $this->label = $label; } public function getDescription() { return $this->description; } public function setDescription($description) { $this->description = $description; } public function getScientificManager() { return $this->scientificManager; } public function setScientificManager($scientificManager) { $this->scientificManager = $scientificManager; } public function getInstrument() { return $this->instrument; } public function setInstrument($instrument) { $this->instrument = $instrument; } public function getWavelengthDomain() { return $this->wavelengthDomain; } public function setWavelengthDomain($wavelengthDomain) { $this->wavelengthDomain = $wavelengthDomain; } public function getDisplay() { return $this->display; } public function setDisplay($display) { $this->display = $display; } public function getDataPath() { return $this->dataPath; } public function setDataPath($dataPath) { $this->dataPath = $dataPath; } public function getFilesPath() { return $this->filesPath; } public function setFilesPath($filesPath) { $this->filesPath = $filesPath; } public function getPublic() { return $this->public; } public function setPublic($public) { $this->public = $public; } public function getPortalLogo() { return $this->portalLogo; } public function setPortalLogo($portalLogo) { $this->portalLogo = $portalLogo; } public function getDesignColor() { return $this->designColor; } public function setDesignColor($designColor) { $this->designColor = $designColor; } public function getDesignBackgroundColor() { return $this->designBackgroundColor; } public function setDesignBackgroundColor($designBackgroundColor) { $this->designBackgroundColor = $designBackgroundColor; } public function getDesignLogo() { return $this->designLogo; } public function setDesignLogo($designLogo) { $this->designLogo = $designLogo; } public function getDesignFavicon() { return $this->designFavicon; } public function setDesignFavicon($designFavicon) { $this->designFavicon = $designFavicon; } public function getNavbarBackgroundColor() { return $this->navbarBackgroundColor; } public function setNavbarBackgroundColor($navbarBackgroundColor) { $this->navbarBackgroundColor = $navbarBackgroundColor; } public function getNavbarBorderBottomColor() { return $this->navbarBorderBottomColor; } public function setNavbarBorderBottomColor($navbarBorderBottomColor) { $this->navbarBorderBottomColor = $navbarBorderBottomColor; } public function getNavbarColorHref() { return $this->navbarColorHref; } public function setNavbarColorHref($navbarColorHref) { $this->navbarColorHref = $navbarColorHref; } public function getNavbarFontFamily() { return $this->navbarFontFamily; } public function setNavbarFontFamily($navbarFontFamily) { $this->navbarFontFamily = $navbarFontFamily; } public function getNavbarSignInBtnColor() { return $this->navbarSignInBtnColor; } public function setNavbarSignInBtnColor($navbarSignInBtnColor) { $this->navbarSignInBtnColor = $navbarSignInBtnColor; } public function getNavbarUserBtnColor() { return $this->navbarUserBtnColor; } public function setNavbarUserBtnColor($navbarUserBtnColor) { $this->navbarUserBtnColor = $navbarUserBtnColor; } public function getFooterBackgroundColor() { return $this->footerBackgroundColor; } public function setFooterBackgroundColor($footerBackgroundColor) { $this->footerBackgroundColor = $footerBackgroundColor; } public function getFooterBorderTopColor() { return $this->footerBorderTopColor; } public function setFooterBorderTopColor($footerBorderTopColor) { $this->footerBorderTopColor = $footerBorderTopColor; } public function getFooterTextColor() { return $this->footerTextColor; } public function setFooterTextColor($footerTextColor) { $this->footerTextColor = $footerTextColor; } public function getFooterLogos() { return $this->footerLogos; } public function setFooterLogos($footerLogos) { $this->footerLogos = $footerLogos; } public function getFamilyBorderColor() { return $this->familyBorderColor; } public function setFamilyBorderColor($familyBorderColor) { $this->familyBorderColor = $familyBorderColor; } public function getFamilyHeaderBackgroundColor() { return $this->familyHeaderBackgroundColor; } public function setFamilyHeaderBackgroundColor($familyHeaderBackgroundColor) { $this->familyHeaderBackgroundColor = $familyHeaderBackgroundColor; } public function getFamilyTitleColor() { return $this->familyTitleColor; } public function setFamilyTitleColor($familyTitleColor) { $this->familyTitleColor = $familyTitleColor; } public function getFamilyTitleBold() { return $this->familyTitleBold; } public function setFamilyTitleBold($familyTitleBold) { $this->familyTitleBold = $familyTitleBold; } public function getFamilyBackgroundColor() { return $this->familyBackgroundColor; } public function setFamilyBackgroundColor($familyBackgroundColor) { $this->familyBackgroundColor = $familyBackgroundColor; } public function getFamilyColor() { return $this->familyColor; } public function setFamilyColor($familyColor) { $this->familyColor = $familyColor; } public function getProgressBarTitle() { return $this->progressBarTitle; } public function setProgressBarTitle($progressBarTitle) { $this->progressBarTitle = $progressBarTitle; } public function getProgressBarTitleColor() { return $this->progressBarTitleColor; } public function setProgressBarTitleColor($progressBarTitleColor) { $this->progressBarTitleColor = $progressBarTitleColor; } public function getProgressBarSubtitle() { return $this->progressBarSubtitle; } public function setProgressBarSubtitle($progressBarSubtitle) { $this->progressBarSubtitle = $progressBarSubtitle; } public function getProgressBarSubtitleColor() { return $this->progressBarSubtitleColor; } public function setProgressBarSubtitleColor($progressBarSubtitleColor) { $this->progressBarSubtitleColor = $progressBarSubtitleColor; } public function getProgressBarStepDatasetTitle() { return $this->progressBarStepDatasetTitle; } public function setProgressBarStepDatasetTitle($progressBarStepDatasetTitle) { $this->progressBarStepDatasetTitle = $progressBarStepDatasetTitle; } public function getProgressBarStepCriteriaTitle() { return $this->progressBarStepCriteriaTitle; } public function setProgressBarStepCriteriaTitle($progressBarStepCriteriaTitle) { $this->progressBarStepCriteriaTitle = $progressBarStepCriteriaTitle; } public function getProgressBarStepOutputTitle() { return $this->progressBarStepOutputTitle; } public function setProgressBarStepOutputTitle($progressBarStepOutputTitle) { $this->progressBarStepOutputTitle = $progressBarStepOutputTitle; } public function getProgressBarStepResultTitle() { return $this->progressBarStepResultTitle; } public function setProgressBarStepResultTitle($progressBarStepResultTitle) { $this->progressBarStepResultTitle = $progressBarStepResultTitle; } public function getProgressBarColor() { return $this->progressBarColor; } public function setProgressBarColor($progressBarColor) { $this->progressBarColor = $progressBarColor; } public function getProgressBarActiveColor() { return $this->progressBarActiveColor; } public function setProgressBarActiveColor($progressBarActiveColor) { $this->progressBarActiveColor = $progressBarActiveColor; } public function getProgressBarCircleColor() { return $this->progressBarCircleColor; } public function setProgressBarCircleColor($progressBarCircleColor) { $this->progressBarCircleColor = $progressBarCircleColor; } public function getProgressBarCircleIconColor() { return $this->progressBarCircleIconColor; } public function setProgressBarCircleIconColor($progressBarCircleIconColor) { $this->progressBarCircleIconColor = $progressBarCircleIconColor; } public function getProgressBarCircleIconActiveColor() { return $this->progressBarCircleIconActiveColor; } public function setProgressBarCircleIconActiveColor($progressBarCircleIconActiveColor) { $this->progressBarCircleIconActiveColor = $progressBarCircleIconActiveColor; } public function getProgressBarTextColor() { return $this->progressBarTextColor; } public function setProgressBarTextColor($progressBarTextColor) { $this->progressBarTextColor = $progressBarTextColor; } public function getResultHeaderBackgroundColor() { return $this->resultHeaderBackgroundColor; } public function setResultHeaderBackgroundColor($resultHeaderBackgroundColor) { $this->resultHeaderBackgroundColor = $resultHeaderBackgroundColor; } public function getResultHeaderTextColor() { return $this->resultHeaderTextColor; } public function setResultHeaderTextColor($resultHeaderTextColor) { $this->resultHeaderTextColor = $resultHeaderTextColor; } public function getResultHeaderBtnColor() { return $this->resultHeaderBtnColor; } public function setResultHeaderBtnColor($resultHeaderBtnColor) { $this->resultHeaderBtnColor = $resultHeaderBtnColor; } public function getResultHeaderBtnHoverColor() { return $this->resultHeaderBtnHoverColor; } public function setResultHeaderBtnHoverColor($resultHeaderBtnHoverColor) { $this->resultHeaderBtnHoverColor = $resultHeaderBtnHoverColor; } public function getResultHeaderBtnTextColor() { return $this->resultHeaderBtnTextColor; } public function setResultHeaderBtnTextColor($resultHeaderBtnTextColor) { $this->resultHeaderBtnTextColor = $resultHeaderBtnTextColor; } public function getResultDatatableBordered() { return $this->resultDatatableBordered; } public function setResultDatatableBordered($resultDatatableBordered) { $this->resultDatatableBordered = $resultDatatableBordered; } public function getResultDatatableBorderColor() { return $this->resultDatatableBorderColor; } public function setResultDatatableBorderColor($resultDatatableBorderColor) { $this->resultDatatableBorderColor = $resultDatatableBorderColor; } public function getResultDatatableHeaderBackgroundColor() { return $this->resultDatatableHeaderBackgroundColor; } public function setResultDatatableHeaderBackgroundColor($resultDatatableHeaderBackgroundColor) { $this->resultDatatableHeaderBackgroundColor = $resultDatatableHeaderBackgroundColor; } public function getResultDatatableHeaderTextColor() { return $this->resultDatatableHeaderTextColor; } public function setResultDatatableHeaderTextColor($resultDatatableHeaderTextColor) { $this->resultDatatableHeaderTextColor = $resultDatatableHeaderTextColor; } public function getResultDatatableRowsBackgroundColor() { return $this->resultDatatableRowsBackgroundColor; } public function setResultDatatableRowsBackgroundColor($resultDatatableRowsBackgroundColor) { $this->resultDatatableRowsBackgroundColor = $resultDatatableRowsBackgroundColor; } public function getResultDatatableRowsTextColor() { return $this->resultDatatableRowsTextColor; } public function setResultDatatableRowsTextColor($resultDatatableRowsTextColor) { $this->resultDatatableRowsTextColor = $resultDatatableRowsTextColor; } public function getResultDatatableSortedColor() { return $this->resultDatatableSortedColor; } public function setResultDatatableSortedColor($resultDatatableSortedColor) { $this->resultDatatableSortedColor = $resultDatatableSortedColor; } public function getResultDatatableSortedActiveColor() { return $this->resultDatatableSortedActiveColor; } public function setResultDatatableSortedActiveColor($resultDatatableSortedActiveColor) { $this->resultDatatableSortedActiveColor = $resultDatatableSortedActiveColor; } public function getResultDatatableLinkColor() { return $this->resultDatatableLinkColor; } public function setResultDatatableLinkColor($resultDatatableLinkColor) { $this->resultDatatableLinkColor = $resultDatatableLinkColor; } public function getResultDatatableLinkHoverColor() { return $this->resultDatatableLinkHoverColor; } public function setResultDatatableLinkHoverColor($resultDatatableLinkHoverColor) { $this->resultDatatableLinkHoverColor = $resultDatatableLinkHoverColor; } public function getResultDatatableRowsSelectedColor() { return $this->resultDatatableRowsSelectedColor; } public function setResultDatatableRowsSelectedColor($resultDatatableRowsSelectedColor) { $this->resultDatatableRowsSelectedColor = $resultDatatableRowsSelectedColor; } public function getSampEnabled() { return $this->sampEnabled; } public function setSampEnabled($sampEnabled) { $this->sampEnabled = $sampEnabled; } public function getBackToPortal() { return $this->backToPortal; } public function setBackToPortal($backToPortal) { $this->backToPortal = $backToPortal; } public function getUserMenuEnabled() { return $this->userMenuEnabled; } public function setUserMenuEnabled($userMenuEnabled) { $this->userMenuEnabled = $userMenuEnabled; } public function getSearchByCriteriaAllowed() { return $this->searchByCriteriaAllowed; } public function setSearchByCriteriaAllowed($searchByCriteriaAllowed) { $this->searchByCriteriaAllowed = $searchByCriteriaAllowed; } public function getSearchByCriteriaLabel() { return $this->searchByCriteriaLabel; } public function setSearchByCriteriaLabel($searchByCriteriaLabel) { $this->searchByCriteriaLabel = $searchByCriteriaLabel; } public function getSearchMultipleAllowed() { return $this->searchMultipleAllowed; } public function setSearchMultipleAllowed($searchMultipleAllowed) { $this->searchMultipleAllowed = $searchMultipleAllowed; } public function getSearchMultipleLabel() { return $this->searchMultipleLabel; } public function setSearchMultipleLabel($searchMultipleLabel) { $this->searchMultipleLabel = $searchMultipleLabel; } public function getSearchMultipleAllDatasetsSelected() { return $this->searchMultipleAllDatasetsSelected; } public function setSearchMultipleAllDatasetsSelected($searchMultipleAllDatasetsSelected) { $this->searchMultipleAllDatasetsSelected = $searchMultipleAllDatasetsSelected; } public function getDocumentationAllowed() { return $this->documentationAllowed; } public function setDocumentationAllowed($documentationAllowed) { $this->documentationAllowed = $documentationAllowed; } public function getDocumentationLabel() { return $this->documentationLabel; } public function setDocumentationLabel($documentationLabel) { $this->documentationLabel = $documentationLabel; } public function getDatasetFamilies() { return $this->datasetFamilies; } public function getNbDatasets() { $nbDatasets = 0; foreach ($this->datasetFamilies as $family) { $nbDatasets += count($family->getDatasets()); } return $nbDatasets; } public function jsonSerialize(): array { return [ 'name' => $this->getName(), 'label' => $this->getLabel(), 'description' => $this->getDescription(), 'scientific_manager' => $this->getScientificManager(), 'instrument' => $this->getInstrument(), 'wavelength_domain' => $this->getWavelengthDomain(), 'display' => $this->getDisplay(), 'data_path' => $this->getDataPath(), 'files_path' => $this->getFilesPath(), 'public' => $this->getPublic(), 'portal_logo' => $this->getPortalLogo(), 'design_color' => $this->getDesignColor(), 'design_background_color' => $this->getDesignBackgroundColor(), 'design_logo' => $this->getDesignLogo(), 'design_favicon' => $this->getDesignFavicon(), 'navbar_background_color' => $this->getNavbarBackgroundColor(), 'navbar_border_bottom_color' => $this->getNavbarBorderBottomColor(), 'navbar_color_href' => $this->getNavbarColorHref(), 'navbar_font_family' => $this->getNavbarFontFamily(), 'navbar_sign_in_btn_color' => $this->getNavbarSignInBtnColor(), 'navbar_user_btn_color' => $this->getNavbarUserBtnColor(), 'footer_background_color' => $this->getFooterBackgroundColor(), 'footer_border_top_color' => $this->getFooterBorderTopColor(), 'footer_text_color' => $this->getFooterTextColor(), 'footer_logos' => $this->getFooterLogos(), 'family_border_color' => $this->getFamilyBorderColor(), 'family_header_background_color' => $this->getFamilyHeaderBackgroundColor(), 'family_title_color' => $this->getFamilyTitleColor(), 'family_title_bold' => $this->getFamilyTitleBold(), 'family_background_color' => $this->getFamilyBackgroundColor(), 'family_color' => $this->getFamilyColor(), 'progress_bar_title' => $this->getProgressBarTitle(), 'progress_bar_title_color' => $this->getProgressBarTitleColor(), 'progress_bar_subtitle' => $this->getProgressBarSubtitle(), 'progress_bar_subtitle_color' => $this->getProgressBarSubtitleColor(), 'progress_bar_step_dataset_title' => $this->getProgressBarStepDatasetTitle(), 'progress_bar_step_criteria_title' => $this->getProgressBarStepCriteriaTitle(), 'progress_bar_step_output_title' => $this->getProgressBarStepOutputTitle(), 'progress_bar_step_result_title' => $this->getProgressBarStepResultTitle(), 'progress_bar_color' => $this->getProgressBarColor(), 'progress_bar_active_color' => $this->getProgressBarActiveColor(), 'progress_bar_circle_color' => $this->getProgressBarCircleColor(), 'progress_bar_circle_icon_color' => $this->getProgressBarCircleIconColor(), 'progress_bar_circle_icon_active_color' => $this->getProgressBarCircleIconActiveColor(), 'progress_bar_text_color' => $this->getProgressBarTextColor(), 'result_header_background_color' => $this->getResultHeaderBackgroundColor(), 'result_header_text_color' => $this->getResultHeaderTextColor(), 'result_header_btn_color' => $this->getResultHeaderBtnColor(), 'result_header_btn_hover_color' => $this->getResultHeaderBtnHoverColor(), 'result_header_btn_text_color' => $this->getResultHeaderBtnTextColor(), 'result_datatable_bordered' => $this->getResultDatatableBordered(), 'result_datatable_border_color' => $this->getResultDatatableBorderColor(), 'result_datatable_header_background_color' => $this->getResultDatatableHeaderBackgroundColor(), 'result_datatable_header_text_color' => $this->getResultDatatableHeaderTextColor(), 'result_datatable_rows_background_color' => $this->getResultDatatableRowsBackgroundColor(), 'result_datatable_rows_text_color' => $this->getResultDatatableRowsTextColor(), 'result_datatable_sorted_color' => $this->getResultDatatableSortedColor(), 'result_datatable_sorted_active_color' => $this->getResultDatatableSortedActiveColor(), 'result_datatable_link_color' => $this->getResultDatatableLinkColor(), 'result_datatable_link_hover_color' => $this->getResultDatatableLinkHoverColor(), 'result_datatable_rows_selected_color' => $this->getResultDatatableRowsSelectedColor(), 'samp_enabled' => $this->getSampEnabled(), 'back_to_portal' => $this->getBackToPortal(), 'user_menu_enabled' => $this->getUserMenuEnabled(), 'search_by_criteria_allowed' => $this->getSearchByCriteriaAllowed(), 'search_by_criteria_label' => $this->getSearchByCriteriaLabel(), 'search_multiple_allowed' => $this->getSearchMultipleAllowed(), 'search_multiple_label' => $this->getSearchMultipleLabel(), 'search_multiple_all_datasets_selected' => $this->getSearchMultipleAllDatasetsSelected(), 'documentation_allowed' => $this->getDocumentationAllowed(), 'documentation_label' => $this->getDocumentationLabel(), 'nb_dataset_families' => count($this->getDatasetFamilies()), 'nb_datasets' => $this->getNbDatasets() ]; } }