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
/** | |
* @var Tx_Acme_Repository_AcmeRepository | |
*/ | |
protected $repository; | |
/** | |
* @return void | |
*/ | |
public function initializeObject() { |
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
/** | |
* Compare Date Intervals | |
* | |
* @param DateInterval $dateInterval1 | |
* @param DateInterval $dateInterval2 | |
* @param string $operator | |
* @return boolean | |
*/ | |
private function compareDateIntervals(DateInterval $dateInterval1, DateInterval $dateInterval2, $operator) { | |
$newDate = new DateTime(); |
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 | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2012 Benjamin Rau <[email protected]>, codearts | |
* | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is |
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
/** | |
* action update | |
* | |
* @param Tx_Hcbookings_Domain_Model_Item | |
* @dontverifyrequesthash | |
* @return void | |
*/ | |
public function updateAction(Tx_Hcbookings_Domain_Model_Item $item) { | |
// Empty storage if no got submitted by form / last one has been removed |
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
Model: | |
----- | |
Item | |
Property: availabilityRanges | |
@var ObjectStorage<availabilityRanges> | |
Annotations on the updateAction: | |
-------------------------------- |
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
Core Patch i applied: | |
--------------------- | |
https://review.typo3.org/#/c/17159/ | |
(only change on core that differs from 6.0.2 release) | |
Example Backend HTML Source: | |
--------------------------- | |
<select id="tceforms-multiselect-5131163e80d21" size="5" class="formField tceforms-multiselect" | |
multiple="multiple" name="data[tt_content][13][pi_flexform][data][options][lDEF][sliderImages][vDEF]_list" | |
style="width:310px;"> |
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 v=Tx_Vhs_ViewHelpers} | |
<f:if condition="{showRelated}"> | |
<f:if condition="{v:iterator.explode(glue:',',content:relatedPageUid)->f:count()}>0"> | |
<v:page.menu.list pages="{relatedPageUid}"></v:page.menu.list> | |
</f:if> | |
</f:if> |
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
function genitive($name) { | |
$suffix = 's'; | |
$name = trim($name); | |
if('ce' == substr($name, -2)) { | |
$suffix = '’'; | |
} | |
elseif (in_array(substr($name, -1), array('s', 'ß', 'x', 'z'))) { | |
$suffix = '’'; |
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 | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2013 Björn Fromme <[email protected]>, dreipunktnull | |
* | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify |
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
RewriteCond %{REQUEST_URI} ^/tonstudio/sprecher_liste\.html | |
RewriteCond %{QUERY_STRING} ^tx_speakerdb_pi1\[showUid\]=([0-9]+) | |
RewriteRule ^(.*)$ http://www.domain.com/tonstudio/sprecher-liste.html?tx_speakerdb2_speakers[speaker]=%1&tx_speakerdb2_speakers[action]=show [L,R=301] |
OlderNewer