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; |
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
<trans-unit id="error.1238108069"> | |
<source>This text may not exceed {0} characters</source> | |
<target>Darf maximal {0} Zeichen beinhalten</target> | |
</trans-unit> | |
error.code is 1238108069: | |
<f:translate id="error.{error.code}" arguments="{error.arguments}">{error}</f:translate> | |
but it allways prints not the xliff stuff but the __toString of error :( |
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. | |
* | |
* @return string | |
* @api | |
*/ |
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 TYPO3\Flow\Property\TypeConverter; | |
/* * | |
* 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. * | |
* * |
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
{ | |
"resource":{ | |
"title":"Kunstwerk XYZ", | |
"properties":[ | |
{ | |
"type":{ | |
"title":"Artist" | |
}, | |
"abstractValueObjects":[ | |
{"__type":"\\BLEICKER\\Product\\Domain\\Model\\PersonNameValueObject","alias":"Fischli/Weiss","abstractValueObjects":[ |
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 TYPO3\Units\UnitType; | |
use TYPO3\Units\Error\UnitConstantException; | |
/** | |
* Class to convert distance unit values into others | |
* For example it converts meter to inch and backwards | |
* or Megameter in mile |
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
I would like to enable uuid support in typo3. | |
I would like also backport the uuid generation of flow wich has a php script to generate uuid. | |
This could be used in Generic Backend on insert to generate the uuid. | |
But what about the backend? there is no extbase persistence. | |
So what about switching the uid fields from integer to varchar. | |
Removing auto increment and put a trigger on any typo3 tables like this one: | |
DELIMITER // | |
CREATE TRIGGER `tt_content_uuid` BEFORE INSERT ON `tt_content` | |
FOR EACH ROW begin |
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 | |
/** | |
* Contains translation tools | |
* | |
* @author Kasper Skaarhoj <[email protected]> | |
* @package TYPO3 | |
* @subpackage tx_l10nmgr | |
*/ | |
class tx_l10nmgr_tools { |
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 BLEICKER\Mailer\Services; | |
/* * | |
* This script belongs to the FLOW3 package "BLEICKER.Mailer". * | |
* * | |
* */ | |
use TYPO3\FLOW3\Annotations as FLOW3; |
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 neos=TYPO3\Neos\ViewHelpers} | |
<neos:contentElement node="{node}"> | |
<neos:contentElement.editable property="title">{title -> f:format.raw()}</neos:contentElement.editable> | |
</neos:contentElement> |
OlderNewer