Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
46e5a0d2
Commit
46e5a0d2
authored
Aug 04, 2007
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed multiple-root setup with new syntax (actAs/loadTemplate). Forgot to pass the parameters.
parent
7ad2c77a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
NestedSet.php
lib/Doctrine/Node/NestedSet.php
+1
-1
NestedSet.php
lib/Doctrine/Template/NestedSet.php
+6
-1
No files found.
lib/Doctrine/Node/NestedSet.php
View file @
46e5a0d2
...
@@ -471,7 +471,7 @@ class Doctrine_Node_NestedSet extends Doctrine_Node implements Doctrine_Node_Int
...
@@ -471,7 +471,7 @@ class Doctrine_Node_NestedSet extends Doctrine_Node implements Doctrine_Node_Int
/**
/**
* Accomplishes moving of nodes between different trees.
* Accomplishes moving of nodes between different trees.
* Used by the move* methods if the root value of the two nodes are different.
* Used by the move* methods if the root value
s
of the two nodes are different.
*
*
* @param Doctrine_Record $dest
* @param Doctrine_Record $dest
* @param unknown_type $newLeftValue
* @param unknown_type $newLeftValue
...
...
lib/Doctrine/Template/NestedSet.php
View file @
46e5a0d2
...
@@ -31,11 +31,16 @@
...
@@ -31,11 +31,16 @@
*/
*/
class
Doctrine_Template_NestedSet
extends
Doctrine_Template
class
Doctrine_Template_NestedSet
extends
Doctrine_Template
{
{
private
$_options
;
public
function
__construct
(
array
$options
)
public
function
__construct
(
array
$options
)
{}
{
$this
->
_options
=
$options
;
}
public
function
setUp
()
public
function
setUp
()
{
{
$this
->
_table
->
setOption
(
'treeOptions'
,
$this
->
_options
);
$this
->
_table
->
setOption
(
'treeImpl'
,
'NestedSet'
);
$this
->
_table
->
setOption
(
'treeImpl'
,
'NestedSet'
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment