Skip to content

Instantly share code, notes, and snippets.

View skurfuerst's full-sized avatar
☀️

Sebastian Kurfürst skurfuerst

☀️
View GitHub Profile
function extend(a, b) {
for (var i in b) {
a.prototype[i] = b[i];
}
}
var MyClass = function() {
};
extend(MyClass, {
# currently
foo = NodeTypeCase
foo.'TYPO3.Text' = 'TYPO3.TextTypoScriptObject....'
# alternative:
foo = NodeTypeCase
foo.10 {
if.nodeType.is = 'TYPO3.Text'
then.use = 'TYPO3.TextTypoScriptObject...'
prototype(TYPO3.Flow3Org:TwoColumn) < prototype(TYPO3.TypoScript:FluidRenderer)
prototype(TYPO3.Flow3Org:TwoColumn) {
templatePath = 'resource://TYPO3.Flow3Org/Private/Templates/TypoScriptObjects/TwoColumn.html'
left = TYPO3.TypoScript:CollectionRenderer
left.collection = ${context.children("left").children()}
right = TYPO3.TypoScript:CollectionRenderer
right.collection = ${context.children("right").children()}
}
TYPO3:
FLOW3:
error:
exceptionHandler:
className: 'MyPackageKey\MorePackageKey\Exception\ProductionExceptionHandler'
errorHandler:
exceptionalErrors: [%E_USER_ERROR%, %E_RECOVERABLE_ERROR%, %E_WARNING%, %E_NOTICE%, %E_USER_WARNING%, %E_USER_NOTICE%, %E_STRICT%]
-
name: 'default with action and format'
uriPattern: '{@package}/{@controller}/{@action}(.{@format})'
defaults:
'@format': 'html'
appendExceedingArguments: true # I think this is missing here
protected function renderCellCSSClass($fieldSet, Tx_PtExtlist_Domain_Configuration_ColumnConfigInterface $columnConfig) {
$cellCSSConfig = $columnConfig->getCellCSSClass();
if(is_array($cellCSSConfig)) {
$renderObj = array_key_exists('renderObj', $cellCSSConfig) ? Tx_Extbase_Utility_TypoScript::convertPlainArrayToTypoScriptArray(array('renderObj' => $cellCSSConfig['renderObj'])) : NULL;
$renderUserFunction = array_key_exists('renderUserFunction', $cellCSSConfig) ? $cellCSSConfig['renderUserFunction'] : NULL;
return Tx_PtExtlist_Utility_RenderValue::render($fieldSet, $renderObj, $renderUserFunction);
} else {
return $cellCSSConfig;
TYPO3:
FLOW3:
security:
cryptography:
RSAWalletServicePHP:
keystorePath: '/var/www/t3con12-quebec.typo3.org/releases/current/Data/Persistent/RsaWalletKeyStore'
authentication:
authenticationStrategy: atLeastOneToken
providers:
# redirect to login page when trying to access restricted pages
<?php
class ImageController {
public function newProfilePictureAction() {
}
/**
* @param \TYPO3\Media\Domain\Model\Image $newImage
* @FLOW3\Validate("$newImage", type="\TYPO3\Media\Validator\ImageSizeValidator", options={ "minimumWidth"=180, "minimumHeight"=180 })
* @FLOW3\Validate("$newImage", type="\TYPO3\Media\Validator\ImageTypeValidator", options={ "allowedTypes"={"jpeg","png","gif"} })
* @return void
@skurfuerst
skurfuerst / TYPO3.FLOW3.reflection.schema.yaml
Created May 30, 2012 07:24
TYPO3.FLOW3.persistence.schema.yaml
type: dictionary
additionalProperties: false
properties:
'ignoredTags':
type: array
items: { type: string }
'logIncorrectDocCommentHints': { type: boolean }
object: null,
property: null,
value: null,
_updateValueBindingIfObjectOrPropertyChanges: ((k, v)->
Ember.bind(this, 'value', 'object.' + @get('property'))
).observes('object', 'property'),