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 | |
/* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License as published by the * | |
* Free Software Foundation, either version 3 of the License, or (at your * | |
* option) any later version. * | |
* * | |
* This script is distributed in the hope that it will be useful, but * | |
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * | |
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser * |
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:format.date(date: '@{newsdate}', format: 'd.')} <f:translate key="monthNames.{f:format.date(date: '@{newsdate}', format: 'n')}" /> {f:format.date(date: '@{newsdate}', format: 'Y')} |
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
$electronicAddresses = $person->getElectronicAddresses(); | |
$electronicAddressIndex = $electronicAddresses->indexOf($modifiedElectronicAddress); | |
$electronicAddresses->set($electronicAddressIndex, $modifiedElectronicAddress); |
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 AbstractBaseController extends ActionController { | |
/** | |
* Redirect to specific controller if current subdomain is not equal to the current controller name | |
* Note: initializeAction() is called before every action by default | |
* | |
* @return void | |
*/ | |
protected function initializeAction() { |
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
Fluid_TemplateCache: | |
backend: TYPO3\FLOW3\Cache\Backend\NullBackend |
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 Your\Package\ViewHelpers; | |
use TYPO3\FLOW3\Annotations as FLOW3; | |
class ImageViewHelper extends \TYPO3\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper { | |
/** | |
* @FLOW3\Inject | |
* @var \TYPO3\FLOW3\Resource\Publishing\ResourcePublisher |
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 Tx_BlogExample_Controller_AbstractController extends Tx_Extbase_MVC_Controller_ActionController { | |
protected $defaultViewObjectName = 'Tx_BlogExample_View_TemplateView'; | |
// ... | |
} | |
?> |
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 | |
// ... | |
$closureFinisher = new \TYPO3\Form\Finishers\ClosureFinisher(); | |
$closureFinisher->setOption('closure', function($formRuntime) { | |
// $formRuntime->getFormState()->getFormValues(); | |
}); | |
$formDefinition->addFinisher($closureFinisher); | |
// ... | |
?> |
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\TYPO3\Setup\Step; | |
/* * | |
* This script belongs to the FLOW3 package "TYPO3.Setup". * | |
* * | |
* 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
<?php | |
class MyFormFactory extends \TYPO3\Form\Factory\AbstractFormFactory { | |
public function build(array $factorySpecificConfiguration, $presetName) { | |
$formConfiguration = $this->getPresetConfiguration($presetName); | |
$form = new FormDefinition('myForm', $formConfiguration); | |
$page1 = $form->createPage('page1'); | |
$actionSelect = $page1->createElement('actionSelector', 'TYPO3.Form:SingleSelectDropdown'); |
OlderNewer