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
class Foo < ActiveRecord::Base | |
acts_as_nested_set | |
extend NestedSet::Helper | |
# Return a nested array | |
# representation of foo objects | |
def self.as_tree | |
result_to_array(find(:all, :order => quoted_left_column_name)) | |
end | |
end |
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
rubel = Rubel::Evaluator.new | |
result = rubel.evaluate 'firstname == 'Charly' or age > 16', | |
:with => {'user' => {'firstname' => 'Charly', 'age' => 15} |
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
<link rel="stylesheet" type="text/css" href="/_Resources/Static/Packages/FLOW3/Error/Debugger.css" /> | |
<div class="F3-FLOW3-Error-Debugger-VarDump"> | |
<div class="F3-FLOW3-Error-Debugger-VarDump-Top"> | |
FLOW3 Variable Dump | |
</div> | |
<div class="F3-FLOW3-Error-Debugger-VarDump-Center"> | |
<pre dir="ltr"><span class="debug-object" title="0000000016ff63a0000000006f312c94">F3\TYPO3\Domain\Model\Content\Page</span><span class="debug-scope">prototype<a id="0000000016ff63a0000000006f312c94"></a></span><span class="debug-ptype" title="a42fc274-78e6-47e2-a5f6-6d886d03fd5e">entity</span><span class="debug-proxy">proxy</span> | |
<span class="debug-property">title</span> => '<span class="debug-string">Updated title</span>' (13) | |
<span class="debug-property">hidden</span> => FALSE |
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
Index: Tests/Unit/Reflection/ObjectAccessTest.php | |
=================================================================== | |
--- Tests/Unit/Reflection/ObjectAccessTest.php (Revision 4470) | |
+++ Tests/Unit/Reflection/ObjectAccessTest.php (Arbeitskopie) | |
@@ -216,6 +216,20 @@ | |
/** | |
* @test | |
+ * @author Christopher Hlubek <hlubek@networkteam.com> | |
+ */ |
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) 2009 Jochen Rau <jochen.rau@typoplanet.de> | |
* All rights reserved | |
* | |
* This class is a backport of the corresponding class of FLOW3. | |
* All credits go to the v5 team. | |
* |
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 | |
declare(ENCODING = 'utf-8'); | |
namespace Networkteam\MyProject\Security\Authentication\Token; | |
/* * | |
* This script belongs to the FLOW3 package "MyProject". * | |
* * | |
* @copyright Copyright 2011, networkteam GmbH * | |
* */ |
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
Uncaught Exception in FLOW3 | |
#1: Catchable Fatal Error: Argument 3 passed to TYPO3\FLOW3\Error\Message_Original::__construct() must be an array, string given in /Users/work/FLOW3/MyProject-New/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/TYPO3_FLOW3_Error_Message_Original.php line 71 (More information) | |
TYPO3\FLOW3\Error\Exception thrown in file | |
Packages/Framework/TYPO3.FLOW3/Classes/Error/ErrorHandler.php in line 77. | |
Reference code: 201110121829267199af | |
Go to the FORGE issue tracker and report the issue - if you think it is a bug! | |
26 TYPO3\FLOW3\Error\ErrorHandler::handleError(4096, "Argument 3 passed to TYPO3\FLOW3\Error\Message_Ori…inal::__construct() must be an array, string given", "/Users/work/FLOW3/MyProject-New/Data/Temporary/De…ect_Classes/TYPO3_FLOW3_Error_Message_Original.php", 71, array) |
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
#!/usr/bin/env node | |
/* | |
Copyright (c) 2010 Benjamin Schmaus | |
Copyright (c) 2010 Jonathan Lee | |
Permission is hereby granted, free of charge, to any person | |
obtaining a copy of this software and associated documentation | |
files (the "Software"), to deal in the Software without | |
restriction, including without limitation the rights to use, | |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
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
<Directory "/Users/hlubek/Sites/"> | |
Options ExecCGI Indexes MultiViews FollowSymLinks Includes | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
DirectoryIndex index.php | |
UseCanonicalName off | |
</Directory> |
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
diff --git a/Classes/TYPO3/Neos/Service/ContentElementWrappingService.php b/Classes/TYPO3/Neos/Service/ContentElementWrappingService.php | |
index 3b5937f..60f0843 100644 | |
--- a/Classes/TYPO3/Neos/Service/ContentElementWrappingService.php | |
+++ b/Classes/TYPO3/Neos/Service/ContentElementWrappingService.php | |
@@ -67,7 +67,12 @@ class ContentElementWrappingService { | |
* @return \TYPO3\Fluid\Core\ViewHelper\TagBuilder | |
*/ | |
public function wrapContentObjectAndReturnTagBuilder(\TYPO3\TYPO3CR\Domain\Model\Node $node, $typoscriptPath, $content, $isPage = FALSE) { | |
- $nodeType = $node->getNodeType(); | |
+ |
OlderNewer