‪TYPO3CMS  10.4
SiteInterface.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
20 use Psr\Http\Message\UriInterface;
24 
26 {
32  public function ‪getRootPageId(): int;
33 
39  public function ‪getIdentifier(): string;
40 
46  public function ‪getBase(): UriInterface;
47 
53  public function ‪getLanguages(): array;
54 
62  public function ‪getLanguageById(int $languageId): ‪SiteLanguage;
63 
70 
80  public function ‪getAvailableLanguages(‪BackendUserAuthentication $user, bool $includeAllLanguagesFlag = false, int $pageId = null): array;
81 
89  public function ‪getErrorHandler(int $statusCode): ‪PageErrorHandlerInterface;
90 }
‪TYPO3\CMS\Core\Site\Entity\SiteInterface
Definition: SiteInterface.php:26
‪TYPO3\CMS\Core\Site\Entity\SiteInterface\getRootPageId
‪int getRootPageId()
‪TYPO3\CMS\Core\Site\Entity\SiteInterface\getBase
‪UriInterface getBase()
‪TYPO3\CMS\Core\Error\PageErrorHandler\PageErrorHandlerNotConfiguredException
Definition: PageErrorHandlerNotConfiguredException.php:27
‪TYPO3\CMS\Core\Site\Entity\SiteInterface\getErrorHandler
‪PageErrorHandlerInterface getErrorHandler(int $statusCode)
‪TYPO3\CMS\Core\Site\Entity\SiteLanguage
Definition: SiteLanguage.php:26
‪TYPO3\CMS\Core\Site\Entity\SiteInterface\getDefaultLanguage
‪SiteLanguage getDefaultLanguage()
‪TYPO3\CMS\Core\Site\Entity\SiteInterface\getLanguageById
‪SiteLanguage getLanguageById(int $languageId)
‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
Definition: BackendUserAuthentication.php:62
‪TYPO3\CMS\Core\Site\Entity\SiteInterface\getIdentifier
‪string getIdentifier()
‪TYPO3\CMS\Core\Error\PageErrorHandler\PageErrorHandlerInterface
Definition: PageErrorHandlerInterface.php:29
‪TYPO3\CMS\Core\Site\Entity
Definition: NullSite.php:18
‪TYPO3\CMS\Core\Site\Entity\SiteInterface\getLanguages
‪SiteLanguage[] getLanguages()
‪TYPO3\CMS\Core\Site\Entity\SiteInterface\getAvailableLanguages
‪SiteLanguage[] getAvailableLanguages(BackendUserAuthentication $user, bool $includeAllLanguagesFlag=false, int $pageId=null)