This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
_defaults: | |
autowire: true | |
autoconfigure: true | |
public: false | |
BasisWeb\TagContentObject\: | |
resource: '../Classes/*' | |
BasisWeb\TagContentObject\ContentObject\TagContentObject: | |
tags: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function tsfe(ServerRequestInterface $request): TypoScriptFrontendController | |
{ | |
/** @var Site $site */ | |
$site = $request->getAttribute('site'); | |
$language = $request->getAttribute('language') ?? $site->getDefaultLanguage(); | |
$context = clone GeneralUtility::makeInstance(Context::class); | |
$languageAspect = LanguageAspectFactory::createFromSiteLanguage($language); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace UniversityOfCopenhagen\Mirror\Middleware; | |
use Psr\Http\Message\ResponseInterface; | |
use Psr\Http\Message\ServerRequestInterface; | |
use Psr\Http\Message\UriInterface; | |
use Psr\Http\Server\MiddlewareInterface; | |
use Psr\Http\Server\RequestHandlerInterface; | |
use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<main> | |
<f:for each="{content.main.records}" as="record"> | |
<f:cObject typoscriptObjectPath="{record.fullType}" data="{record}" /> | |
</f:for> | |
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<f:layout name="Default" /> | |
<f:section name="Body"> | |
<f:for each="{posts}" as="post"> | |
<div class="post bg-white rounded-md shadow-sm mb-4 p-4 grid grid-cols-6 gap-4" id="post-{post.data.uid}"> | |
<div> | |
<div class="flex items-center flex-col border p-4 rounded-lg"> | |
<span class="text-2xl"> | |
<f:format.date date="@{post.data.published_from}" format="d.m.Y" /> | |
</span> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Vendor\Solr\EventListener; | |
use ApacheSolrForTypo3\Solr\Event\Indexing\BeforeDocumentsAreIndexedEvent; | |
final class ModifyDocumentSiteHash | |
{ | |
public function __invoke(BeforeDocumentsAreIndexedEvent $event): void | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
_defaults: | |
autowire: true | |
autoconfigure: true | |
public: false | |
TagContentObject\: | |
resource: '../Classes/*' | |
TagContentObject\ContentObject\TagContentObject: | |
tags: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$queryResult = new QueryResult(); | |
foreach ($queryResult as $result) { | |
$data[] = $result; | |
} | |
return json_encode($result); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Dafis\Application\Middleware; | |
use Psr\Http\Message\ResponseInterface; | |
use Psr\Http\Server\MiddlewareInterface; | |
use Psr\Http\Message\ServerRequestInterface; | |
use Psr\Http\Server\RequestHandlerInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: app | |
type: php:7.4 | |
dependencies: | |
php: | |
composer/composer: '^2' | |
runtime: | |
extensions: |
NewerOlder