var/cache/website/dev/sulu/websiteWebspaceCollectionCache.php line 41
<?php
use Sulu\Component\Localization\Localization;
use Sulu\Component\Webspace\Manager\WebspaceCollection;
use Sulu\Component\Webspace\Portal;
use Sulu\Component\Webspace\PortalInformation;
use Sulu\Component\Webspace\Environment;
use Sulu\Component\Webspace\Security;
use Sulu\Component\Webspace\Segment;
use Sulu\Component\Webspace\Url;
use Sulu\Component\Webspace\CustomUrl;
use Sulu\Component\Webspace\Webspace;
use Sulu\Component\Webspace\Navigation;
use Sulu\Component\Webspace\NavigationContext;
/**
* websiteWebspaceCollectionCache
*
* DO NOT EDIT
* This file is autogenerated by the Sulu Webspace component
*/
class websiteWebspaceCollectionCache extends WebspaceCollection
{
public function __construct()
{
$webspaceRefs = array();
$portalRefs = array();
$localizationRefs = array();
$segmentRefs = array();
$portalInformationRefs = array();
// new webspace
$webspace = new Webspace();
$webspace->setKey('galilea-website');
$webspace->setName("galilea.ai");
// add localization to webspace
$localization0 = new Localization();
$localization0->setLanguage('de');
$localization0->setCountry('');
$localization0->setShadow('');
$localization0->setDefault(true);
$localization0->setXDefault('');
$localizationRefs['galilea-website_de'] = $localization0;
$webspace->addLocalization($localization0);
// add localization to webspace
$localization0 = new Localization();
$localization0->setLanguage('en');
$localization0->setCountry('');
$localization0->setShadow('');
$localization0->setDefault(false);
$localization0->setXDefault('');
$localizationRefs['galilea-website_en'] = $localization0;
$webspace->addLocalization($localization0);
// add theme
$webspace->addTemplate('search', 'galilea/search/search');
$webspace->addTemplate('error', 'galilea/error/error');
$webspace->addDefaultTemplate('page', 'galilea_default');
$webspace->addDefaultTemplate('home', 'galilea_homepage');
$webspace->addExcludedTemplate('default');
$webspace->addExcludedTemplate('homepage');
// add navigation
$navigation = new Navigation();
$navigation->addContext(new NavigationContext('main', array(
'title' => array(
'en' => 'Main Navigation',
'de' => 'Hauptnavigation',
)
,
)
));
$navigation->addContext(new NavigationContext('header_right', array(
'title' => array(
'en' => 'Header Right',
'de' => 'Kopfnavigation Rechts',
)
,
)
));
$navigation->addContext(new NavigationContext('footer_left', array(
'title' => array(
'en' => 'Footernavigation Left',
'de' => 'Footernavigation Links',
)
,
)
));
$navigation->addContext(new NavigationContext('footer_middle', array(
'title' => array(
'en' => 'Footernavigation Middle',
'de' => 'Footernavigation Mitte',
)
,
)
));
$navigation->addContext(new NavigationContext('footer_right', array(
'title' => array(
'en' => 'Footernavigation Right',
'de' => 'Footernavigation Rechts',
)
,
)
));
$navigation->addContext(new NavigationContext('footer_bottom', array(
'title' => array(
'en' => 'Footernavigation Bottom',
'de' => 'Footernavigation Boden',
)
,
)
));
$webspace->setNavigation($navigation);
$webspace->setResourceLocatorStrategy('tree_leaf_edit');
// new portal
$portal = new Portal();
$portal->setName('galilea.ai');
$portal->setKey('galilea-website');
$portal->setWebspace($webspace);
// add localization
$localization = new Localization();
$localization->setLanguage('de');
$localization->setCountry('');
$localization->setDefault('1');
$localization->setXDefault('');
$portal->addLocalization($localization);
// add localization
$localization = new Localization();
$localization->setLanguage('en');
$localization->setCountry('');
$localization->setDefault('');
$localization->setXDefault('');
$portal->addLocalization($localization);
// add environment
$environment = new Environment();
$environment->setType('prod');
// add environment url
$url = new Url();
$url->setUrl('www.galilea.ai/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(true);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('www.galilea.ai/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
$portal->addEnvironment($environment);
// add environment
$environment = new Environment();
$environment->setType('stage');
// add environment url
$url = new Url();
$url->setUrl('preprod-galilea-website.plan-d.cloud/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(true);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('preprod-galilea-website.plan-d.cloud/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
$portal->addEnvironment($environment);
// add environment
$environment = new Environment();
$environment->setType('test');
// add environment url
$url = new Url();
$url->setUrl('test-galilea-website.plan-d.cloud/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(true);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('test-galilea-website.plan-d.cloud/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
$portal->addEnvironment($environment);
// add environment
$environment = new Environment();
$environment->setType('dev');
// add environment url
$url = new Url();
$url->setUrl('galilea_website.localhost/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(true);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('galilea_website.localhost/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('test-galilea-website.plan-d.cloud/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('test-galilea-website.plan-d.cloud/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
$portal->addEnvironment($environment);
$portalRefs['galilea-website'] = $portal;
$webspace->addPortal($portal);
$webspaceRefs['galilea-website'] = $webspace;
// new webspace
$webspace = new Webspace();
$webspace->setKey('plan-d-berechtigungen');
$webspace->setName("plan-d.com");
// add localization to webspace
$localization0 = new Localization();
$localization0->setLanguage('en');
$localization0->setCountry('');
$localization0->setShadow('');
$localization0->setDefault(false);
$localization0->setXDefault('');
$localizationRefs['plan-d-berechtigungen_en'] = $localization0;
$webspace->addLocalization($localization0);
// add localization to webspace
$localization0 = new Localization();
$localization0->setLanguage('de');
$localization0->setCountry('');
$localization0->setShadow('');
$localization0->setDefault(true);
$localization0->setXDefault('');
$localizationRefs['plan-d-berechtigungen_de'] = $localization0;
$webspace->addLocalization($localization0);
// add theme
$webspace->addTemplate('search', 'search/search');
$webspace->addTemplate('error', 'error/error');
$webspace->addDefaultTemplate('page', 'default');
$webspace->addDefaultTemplate('home', 'homepage');
$webspace->addExcludedTemplate('galilea_default');
$webspace->addExcludedTemplate('galilea_homepage');
// add navigation
$navigation = new Navigation();
$navigation->addContext(new NavigationContext('main', array(
'title' => array(
'en' => 'Main Navigation',
'de' => 'Hauptnavigation',
)
,
)
));
$navigation->addContext(new NavigationContext('footer_left', array(
'title' => array(
'en' => 'Footernavigation Left',
'de' => 'Footernavigation Links',
)
,
)
));
$navigation->addContext(new NavigationContext('footer_middle', array(
'title' => array(
'en' => 'Footernavigation Middle',
'de' => 'Footernavigation Mitte',
)
,
)
));
$navigation->addContext(new NavigationContext('footer_right', array(
'title' => array(
'en' => 'Footernavigation Right',
'de' => 'Footernavigation Rechts',
)
,
)
));
$navigation->addContext(new NavigationContext('footer_bottom', array(
'title' => array(
'en' => 'Footernavigation Bottom',
'de' => 'Footernavigation Boden',
)
,
)
));
$webspace->setNavigation($navigation);
$webspace->setResourceLocatorStrategy('tree_leaf_edit');
// new portal
$portal = new Portal();
$portal->setName('plan-d.com');
$portal->setKey('plan-d-berechtigungen');
$portal->setWebspace($webspace);
// add localization
$localization = new Localization();
$localization->setLanguage('en');
$localization->setCountry('');
$localization->setDefault('');
$localization->setXDefault('');
$portal->addLocalization($localization);
// add localization
$localization = new Localization();
$localization->setLanguage('de');
$localization->setCountry('');
$localization->setDefault('1');
$localization->setXDefault('');
$portal->addLocalization($localization);
// add environment
$environment = new Environment();
$environment->setType('prod');
// add environment url
$url = new Url();
$url->setUrl('{host}/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(true);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('{host}/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
$portal->addEnvironment($environment);
// add environment
$environment = new Environment();
$environment->setType('stage');
// add environment url
$url = new Url();
$url->setUrl('preprod-website.plan-d.cloud/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(true);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('preprod-website.plan-d.cloud/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
$portal->addEnvironment($environment);
// add environment
$environment = new Environment();
$environment->setType('test');
// add environment url
$url = new Url();
$url->setUrl('dmz-test-pdwebsite.plan-d.cloud/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(true);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('dmz-test-pdwebsite.plan-d.cloud/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
$portal->addEnvironment($environment);
// add environment
$environment = new Environment();
$environment->setType('dev');
// add environment url
$url = new Url();
$url->setUrl('pland_website.localhost/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(true);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('pland_website.localhost/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('dmz-test-pdwebsite.plan-d.cloud/{localization}');
$url->setLanguage('de');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
// add environment url
$url = new Url();
$url->setUrl('dmz-test-pdwebsite.plan-d.cloud/{localization}');
$url->setLanguage('en');
$url->setCountry('');
$url->setSegment('');
$url->setRedirect('');
$url->setMain(false);
$environment->addUrl($url);
$portal->addEnvironment($environment);
$portalRefs['plan-d-berechtigungen'] = $portal;
$webspace->addPortal($portal);
$webspaceRefs['plan-d-berechtigungen'] = $webspace;
$portalInformationRefs['prod']['www.galilea.ai/de'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_de'],
'www.galilea.ai/de',
null,
null,
true,
'www.galilea.ai/{localization}',
10
);
$portalInformationRefs['prod']['www.galilea.ai/en'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_en'],
'www.galilea.ai/en',
null,
null,
false,
'www.galilea.ai/{localization}',
10
);
$portalInformationRefs['prod']['www.galilea.ai'] = new PortalInformation(
2,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
null,
'www.galilea.ai',
null,
'www.galilea.ai/{localization}',
false,
'www.galilea.ai/{localization}',
9
);
$portalInformationRefs['prod']['{host}/de'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_de'],
'{host}/de',
null,
null,
true,
'{host}/{localization}',
5
);
$portalInformationRefs['prod']['{host}/en'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_en'],
'{host}/en',
null,
null,
false,
'{host}/{localization}',
5
);
$portalInformationRefs['prod']['{host}'] = new PortalInformation(
2,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
null,
'{host}',
null,
'{host}/{localization}',
false,
'{host}/{localization}',
4
);
$portalInformationRefs['stage']['preprod-galilea-website.plan-d.cloud/de'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_de'],
'preprod-galilea-website.plan-d.cloud/de',
null,
null,
true,
'preprod-galilea-website.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['stage']['preprod-galilea-website.plan-d.cloud/en'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_en'],
'preprod-galilea-website.plan-d.cloud/en',
null,
null,
false,
'preprod-galilea-website.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['stage']['preprod-galilea-website.plan-d.cloud'] = new PortalInformation(
2,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
null,
'preprod-galilea-website.plan-d.cloud',
null,
'preprod-galilea-website.plan-d.cloud/{localization}',
false,
'preprod-galilea-website.plan-d.cloud/{localization}',
9
);
$portalInformationRefs['stage']['preprod-website.plan-d.cloud/de'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_de'],
'preprod-website.plan-d.cloud/de',
null,
null,
true,
'preprod-website.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['stage']['preprod-website.plan-d.cloud/en'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_en'],
'preprod-website.plan-d.cloud/en',
null,
null,
false,
'preprod-website.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['stage']['preprod-website.plan-d.cloud'] = new PortalInformation(
2,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
null,
'preprod-website.plan-d.cloud',
null,
'preprod-website.plan-d.cloud/{localization}',
false,
'preprod-website.plan-d.cloud/{localization}',
9
);
$portalInformationRefs['test']['test-galilea-website.plan-d.cloud/de'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_de'],
'test-galilea-website.plan-d.cloud/de',
null,
null,
true,
'test-galilea-website.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['test']['test-galilea-website.plan-d.cloud/en'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_en'],
'test-galilea-website.plan-d.cloud/en',
null,
null,
false,
'test-galilea-website.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['test']['dmz-test-pdwebsite.plan-d.cloud/de'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_de'],
'dmz-test-pdwebsite.plan-d.cloud/de',
null,
null,
true,
'dmz-test-pdwebsite.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['test']['dmz-test-pdwebsite.plan-d.cloud/en'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_en'],
'dmz-test-pdwebsite.plan-d.cloud/en',
null,
null,
false,
'dmz-test-pdwebsite.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['test']['test-galilea-website.plan-d.cloud'] = new PortalInformation(
2,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
null,
'test-galilea-website.plan-d.cloud',
null,
'test-galilea-website.plan-d.cloud/{localization}',
false,
'test-galilea-website.plan-d.cloud/{localization}',
9
);
$portalInformationRefs['test']['dmz-test-pdwebsite.plan-d.cloud'] = new PortalInformation(
2,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
null,
'dmz-test-pdwebsite.plan-d.cloud',
null,
'dmz-test-pdwebsite.plan-d.cloud/{localization}',
false,
'dmz-test-pdwebsite.plan-d.cloud/{localization}',
9
);
$portalInformationRefs['dev']['test-galilea-website.plan-d.cloud/de'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_de'],
'test-galilea-website.plan-d.cloud/de',
null,
null,
false,
'test-galilea-website.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['dev']['test-galilea-website.plan-d.cloud/en'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_en'],
'test-galilea-website.plan-d.cloud/en',
null,
null,
false,
'test-galilea-website.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['dev']['dmz-test-pdwebsite.plan-d.cloud/de'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_de'],
'dmz-test-pdwebsite.plan-d.cloud/de',
null,
null,
false,
'dmz-test-pdwebsite.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['dev']['dmz-test-pdwebsite.plan-d.cloud/en'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_en'],
'dmz-test-pdwebsite.plan-d.cloud/en',
null,
null,
false,
'dmz-test-pdwebsite.plan-d.cloud/{localization}',
10
);
$portalInformationRefs['dev']['test-galilea-website.plan-d.cloud'] = new PortalInformation(
2,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
null,
'test-galilea-website.plan-d.cloud',
null,
'test-galilea-website.plan-d.cloud/{localization}',
false,
'test-galilea-website.plan-d.cloud/{localization}',
9
);
$portalInformationRefs['dev']['dmz-test-pdwebsite.plan-d.cloud'] = new PortalInformation(
2,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
null,
'dmz-test-pdwebsite.plan-d.cloud',
null,
'dmz-test-pdwebsite.plan-d.cloud/{localization}',
false,
'dmz-test-pdwebsite.plan-d.cloud/{localization}',
9
);
$portalInformationRefs['dev']['galilea_website.localhost/de'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_de'],
'galilea_website.localhost/de',
null,
null,
true,
'galilea_website.localhost/{localization}',
10
);
$portalInformationRefs['dev']['galilea_website.localhost/en'] = new PortalInformation(
1,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
$localizationRefs['galilea-website_en'],
'galilea_website.localhost/en',
null,
null,
false,
'galilea_website.localhost/{localization}',
10
);
$portalInformationRefs['dev']['pland_website.localhost/de'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_de'],
'pland_website.localhost/de',
null,
null,
true,
'pland_website.localhost/{localization}',
10
);
$portalInformationRefs['dev']['pland_website.localhost/en'] = new PortalInformation(
1,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
$localizationRefs['plan-d-berechtigungen_en'],
'pland_website.localhost/en',
null,
null,
false,
'pland_website.localhost/{localization}',
10
);
$portalInformationRefs['dev']['galilea_website.localhost'] = new PortalInformation(
2,
$webspaceRefs['galilea-website'],
$portalRefs['galilea-website'],
null,
'galilea_website.localhost',
null,
'galilea_website.localhost/{localization}',
false,
'galilea_website.localhost/{localization}',
9
);
$portalInformationRefs['dev']['pland_website.localhost'] = new PortalInformation(
2,
$webspaceRefs['plan-d-berechtigungen'],
$portalRefs['plan-d-berechtigungen'],
null,
'pland_website.localhost',
null,
'pland_website.localhost/{localization}',
false,
'pland_website.localhost/{localization}',
9
);
$this->setWebspaces($webspaceRefs);
$this->setPortals($portalRefs);
$this->setPortalInformations($portalInformationRefs);
}
}