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
/** | |
* A special action which is called if the originally intended action could | |
* not be called, for example if the arguments were not valid. | |
* | |
* The default implementation sets a flash message, request errors and forwards back | |
* to the originating action. This is suitable for most actions dealing with form input. | |
* | |
* We clear the page cache by default on an error as well, as we need to make sure the | |
* data is re-evaluated when the user changes something. | |
* |
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
/* | |
Accessing the current node or page (documentNde) | |
*/ | |
/** @var \TYPO3\TYPO3CR\Domain\Model\Node $currentNode */ | |
$currentNode = $request->getInternalArgument('__node'); | |
/** @var \TYPO3\TYPO3CR\Domain\Model\Node $currentNode */ | |
$currentPage = $request->getInternalArgument('__documentNode'); | |
/* |
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
TYPO3: | |
Flow: | |
# disable reflection for non psr-0 compliant 3rd party packages | |
object: | |
excludeClasses: | |
'gedmo.doctrineextensions' : ['Gedmo\\.*'] | |
# register soft deletable filter & event listeners | |
persistence: | |
doctrine: |
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 | |
abstract class AbstractMyController extends extends \TYPO3\Flow\Mvc\Controller\ActionController { | |
/** | |
* @Flow\Inject | |
* @var \TYPO3\Flow\I18n\Service | |
*/ | |
protected $i18nService; |
NewerOlder