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 extend(a, b) { | |
for (var i in b) { | |
a.prototype[i] = b[i]; | |
} | |
} | |
var MyClass = function() { | |
}; | |
extend(MyClass, { |
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
# currently | |
foo = NodeTypeCase | |
foo.'TYPO3.Text' = 'TYPO3.TextTypoScriptObject....' | |
# alternative: | |
foo = NodeTypeCase | |
foo.10 { | |
if.nodeType.is = 'TYPO3.Text' | |
then.use = 'TYPO3.TextTypoScriptObject...' |
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
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()} | |
} |
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
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%] |
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
- | |
name: 'default with action and format' | |
uriPattern: '{@package}/{@controller}/{@action}(.{@format})' | |
defaults: | |
'@format': 'html' | |
appendExceedingArguments: true # I think this is missing here |
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
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; |
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
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 |
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 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 |
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
type: dictionary | |
additionalProperties: false | |
properties: | |
'ignoredTags': | |
type: array | |
items: { type: string } | |
'logIncorrectDocCommentHints': { type: boolean } |
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
object: null, | |
property: null, | |
value: null, | |
_updateValueBindingIfObjectOrPropertyChanges: ((k, v)-> | |
Ember.bind(this, 'value', 'object.' + @get('property')) | |
).observes('object', 'property'), | |