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
58bfed2b
Commit
58bfed2b
authored
May 22, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
7e003d3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
Transaction.php
lib/Doctrine/Transaction.php
+12
-3
No files found.
lib/Doctrine/Transaction.php
View file @
58bfed2b
...
@@ -67,10 +67,16 @@ class Doctrine_Transaction extends Doctrine_Connection_Module
...
@@ -67,10 +67,16 @@ class Doctrine_Transaction extends Doctrine_Connection_Module
* @var array $_collections an array of Doctrine_Collection objects that were affected during the Transaction
* @var array $_collections an array of Doctrine_Collection objects that were affected during the Transaction
*/
*/
protected
$_collections
=
array
();
protected
$_collections
=
array
();
/**
/**
* addCollection
* addCollection
* adds a collection in the internal array of collections
*
* at the end of each commit this array is looped over and
* of every collection Doctrine then takes a snapshot in order
* to keep the collections up to date with the database
*
*
* @param Doctrine_Collection $coll
* @param Doctrine_Collection $coll a collection to be added
* @return void
*/
*/
public
function
addCollection
(
Doctrine_Collection
$coll
)
public
function
addCollection
(
Doctrine_Collection
$coll
)
{
{
...
@@ -97,8 +103,11 @@ class Doctrine_Transaction extends Doctrine_Connection_Module
...
@@ -97,8 +103,11 @@ class Doctrine_Transaction extends Doctrine_Connection_Module
}
}
}
}
/**
/**
* addDelete
* adds record into pending delete list
* adds record into pending delete list
* @param Doctrine_Record $record
*
* @param Doctrine_Record $record a record to be added
* @return void
*/
*/
public
function
addDelete
(
Doctrine_Record
$record
)
public
function
addDelete
(
Doctrine_Record
$record
)
{
{
...
...
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