Skip to content

Instantly share code, notes, and snippets.

<?php
namespace ......;
/* *
* This script belongs to the TYPO3 Flow package '........'. *
* *
* */
use TYPO3\Flow\Annotations as Flow;
@RafaelKa
RafaelKa / ConfirmationDialogCommandController.php
Created November 19, 2012 15:53
issue 43104 : Add Confirm- Radio- CheckBoxDialog to CommandController(CLI)
<?php
namespace ...........;
/* *
* This script belongs to the TYPO3 Flow package '.........'. *
* *
* */
use TYPO3\Flow\Annotations as Flow;
<?php
namespace Flows\IdentityValidation\Domain\Model;
/* *
* This script belongs to the TYPO3 Flow package "Flows.IdentityValidation".*
* *
* */
use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;
@RafaelKa
RafaelKa / UniqueEntityValidator.php
Last active December 11, 2015 07:19
only isTrustedProperty() method to implement
<?php
namespace TYPO3\Flow\Validation\Validator;
/* *
* This script belongs to the TYPO3 Flow framework. *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License, either version 3 *
* of the License, or (at your option) any later version. *
* *
<?php
namespace Flows\IdentityValidation\Controller;
/* *
* This script belongs to the TYPO3 Flow package "Flows.IdentityValidation".*
* *
* */
use TYPO3\Flow\Annotations as Flow;
<?php
namespace TYPO3\Flow\Validation\Validator;
/* *
* This script belongs to the TYPO3 Flow framework. *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License, either version 3 *
* of the License, or (at your option) any later version. *
* *
<?php
namespace TYPO3\Fluid\Core\Parser;
/* *
* This script belongs to the TYPO3 Flow package "Fluid". *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License, either version 3 *
* of the License, or (at your option) any later version. *
* *
@RafaelKa
RafaelKa / TemplateParser.php
Last active December 15, 2015 08:39
Patch for escape sequence support by Fluid list of characters to be escaped added [ ] { } < > \ so kickstarter will not break following use TYPO3\Flow\Annotations as Flow; to use TYPO3FlowAnnotations as Flow; see rows 54 and 121
<?php
namespace TYPO3\Fluid\Core\Parser;
/* *
* This script belongs to the TYPO3 Flow package "Fluid". *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License, either version 3 *
* of the License, or (at your option) any later version. *
* *
@RafaelKa
RafaelKa / ProxyClassBuilder.php
Created April 15, 2013 16:47
Patch for http://forge.typo3.org/issues/39413 Property introduction seems to be broken -> by ORM
<?php
...
/**
* Builds methods for a single AOP proxy class for the specified class.
*
* @param string $targetClassName Name of the class to create a proxy class file for
* @param array &$aspectContainers The array of aspect containers from the AOP Framework
* @return boolean TRUE if the proxy class could be built, FALSE otherwise.
*/
public function buildProxyClass($targetClassName, array &$aspectContainers) {
@RafaelKa
RafaelKa / SomeAspect.php
Last active December 16, 2015 12:19
Possible solution for ORM issue by property introduction
<?php
namespace ..........
use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;
/**
*
* @Flow\Scope("singleton")
* @Flow\Aspect