This file contains hidden or 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
{{view SC.TextField valueBinding="_imageWidth" }} | |
{{view SC.TextField valueBinding="_imageHeight" }} | |
This file contains hidden or 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
require( | |
[ | |
'order!Library/jquery-1.6.4.min.js', | |
'order!Library/sproutcore-2.0.beta.3.js' | |
], | |
function() { | |
jQuery('document').ready(function() { | |
require( | |
[], | |
function() { |
This file contains hidden or 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 | |
/** | |
* @test | |
*/ | |
public function renderSetsControllerActionInformationOnRequestObjectIfThePluginHasNoNode() { | |
$plugin = $this->getAccessibleMock('TYPO3\TYPO3\TypoScript\Plugin', array('getPluginNamespace')); | |
$plugin->expects($this->any())->method('getPluginNamespace')->will($this->returnValue('typo3_plugin_namespace')); | |
$plugin->setRenderingContext($this->mockRenderingContext); | |
$plugin->_set('subRequestBuilder', $this->mockSubRequestBuilder); |
This file contains hidden or 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: | |
aop: | |
globalObjects: | |
securityContext: TYPO3\FLOW3\Security\Context | |
configuration: | |
compileConfigurationFiles: true | |
core: | |
context: Production | |
phpBinaryPathAndFilename: /opt/local/bin/php |
This file contains hidden or 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
_cropWidth:null, | |
_cropHeight:null, | |
_cropX:null, | |
_cropY:null, | |
_cropOptions: function(key, value) { | |
if (arguments.length === 1) { | |
return { | |
w: this.get('_cropWidth'), | |
h: this.get('_cropHeight'), |
This file contains hidden or 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
class test { | |
protected $methodRegex = <<<EOF | |
/^ | |
\s* | |
(?P<visibility>public|protected|private)? | |
\s* | |
function | |
\s* | |
(?P<methodName>\w*) |
This file contains hidden or 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
public function collectionValidatorValidatesNestedObjectStructuresWithoutEndlessLooping() { | |
$classNameA = 'A' . md5(uniqid(mt_rand(), TRUE)); | |
eval('class ' . $classNameA . '{ public $b = array(); public $integer = 5; }'); | |
$classNameB = 'B' . md5(uniqid(mt_rand(), TRUE)); | |
eval('class ' . $classNameB . '{ public $a; public $c; public $integer = "Not an integer"; }'); | |
$A = new $classNameA(); | |
$B = new $classNameB(); | |
$A->b = array($B); | |
$B->a = $A; | |
$B->c = array($A); |
This file contains hidden or 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
page = PAGE | |
page { | |
10 = FLUIDTEMPLATE | |
10 { | |
file.cObject = CASE | |
file.cObject { | |
key { | |
field = backend_layout | |
ifEmpty.data = levelfield:-2, backend_layout_next_level, slide | |
} |
This file contains hidden or 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\FLOW3\Utility\Exception; | |
/* * | |
* This script belongs to the FLOW3 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 hidden or 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
public function compile() { | |
// "driver" is used only for Doctrine, thus we (mis-)use it here | |
// additionally, when no path is set, skip this step, assuming no DB is needed | |
if ($this->settings['backendOptions']['driver'] !== NULL && $this->settings['backendOptions']['path'] !== NULL) { | |
$schemaTool = new \Doctrine\ORM\Tools\SchemaTool($this->entityManager); | |
///// Why this check? | |
if ($this->settings['backendOptions']['driver'] === 'pdo_sqlite') { | |
$schemaTool->createSchema($this->entityManager->getMetadataFactory()->getAllMetadata()); |
OlderNewer