Search
API Documentation
- Doctrine
- Doctrine-association
- Doctrine-association-manytomany
- Doctrine-association-onetomany
- Doctrine-association-onetoone
- Doctrine-classmetadata
- Doctrine-classmetadata-yamldriver
- Doctrine-configurable
- Doctrine-configuration
- Doctrine-connectionfactory
- Doctrine-connection-unitofwork
- Doctrine-entitymanager
- Doctrine-entitymanagerfactory
- Doctrine-entitypersister-abstract
- Doctrine-entitypersister-joinedsubclass
- Doctrine-eventmanager
- Doctrine-eventsubscriber
- Doctrine-internal-commitordercalculator
- Doctrine-internal-commitordernode
- Doctrine-query-parserresultdummy
- Abstract
- Access
- Adapter
- Auditlog
- Builder
- Cache
- Classmetadata
- Cli
- Collection
- Compiler
- Connection
- Data
- Datadict
- Entity
- Entityrepository
- Event
- Eventlistener
- Exception
- Export
- Expression
- File
- Filefinder
- Formatter
- Hook
- Hydrate
- Hydrator
- I18n
- Import
- Inflector
- Lib
- Locking
- Log
- Manager
- Migration
- Node
- Null
- Overloadable
- Pager
- Parser
- Plugin
-
Query
- Query
- Abstract
- AbstractResult
- CacheHandler
- Exception
- Filter
- Chain
- Interface
- Parser
- ParserResult
- Printer
- Production
- ProductionParamHolder
- AggregateExpression
- Atom
- BetweenExpression
- ComparisonExpression
- ComparisonOperator
- ConditionalExpression
- ConditionalFactor
- ConditionalPrimary
- ConditionalTerm
- DeleteClause
- DeleteStatement
- ExistsExpression
- Expression
- Factor
- FieldIdentificationVariable
- FromClause
- Function
- GroupByClause
- GroupByItem
- HavingClause
- IdentificationVariable
- IdentificationVariableDeclaration
- IndexBy
- InExpression
- Join
- LikeExpression
- LimitClause
- NullComparisonExpression
- OffsetClause
- OrderByClause
- OrderByItem
- PathExpression
- PathExpressionEndingWithAsterisk
- Primary
- QuantifiedExpression
- QueryLanguage
- RangeVariableDeclaration
- SelectClause
- SelectExpression
- SelectStatement
- SimpleConditionalExpression
- SimpleSelectClause
- Subselect
- Term
- UpdateClause
- UpdateItem
- UpdateStatement
- VariableDeclaration
- WhereClause
- QueryResult
- Registry
- Scanner
- SqlBuilder
- Abstract
- MultiTableUpdate
- Token
- Tokenizer
- Rawsql
- Record
- Relation
- Search
- Sequence
- Singletabledeleteupdate
- Spyc
- Task
- Template
- Transaction
- Tree
- Validator
- View
Development Doctrine_Internal_CommitOrderCalculator
- Home
- Documentation
- Development API Documentation
- Doctrine_Internal_CommitOrderCalculator
Doctrine Internal CommitOrderCalculator
The CommitOrderCalculator is used by the UnitOfWork to sort out the correct order in which changes to entities need to be persisted.
Method Summary
| Returns | Name | Description |
|---|---|---|
| addNode | ||
| addNodeWithItem | ||
| clear | ||
| array | getCommitOrder | Uses a depth-first search (DFS) to traverse the graph. The desired topological sorting is the reverse postorder of these searches. |
| getNextTime | ||
| getNodeForKey | ||
| hasNodeWithKey | ||
| prependNode |
Method Details
-
addNode($key, $node)
-
addNodeWithItem($key, $item)
-
clear()
-
$nodes The list of (unordered) CommitOrderNodes. (array) getCommitOrder($nodes)
Orders the given list of CommitOrderNodes based on their dependencies.
Uses a depth-first search (DFS) to traverse the graph. The desired topological sorting is the reverse postorder of these searches.
Doctrine_Internal_CommitOrderCalculator
-
getNextTime()
-
getNodeForKey($key)
-
hasNodeWithKey($key)
-
prependNode($node)




Comments (0) [ add comment ]
No Comments
Add Comment