1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/api_documentation/trunk/Doctrine/Doctrine_Connection_UnitOfWork.html

992 lines
55 KiB
HTML
Raw Normal View History

<div id="right">
<b>Classes:</b><br />
<div class="package">
<a href="../Doctrine/Doctrine.html">Doctrine</a> <br />
<a href="../Doctrine/Doctrine_Access.html">Doctrine_Access</a> <br />
<a href="../Doctrine/Doctrine_Adapter.html">Doctrine_Adapter</a> <br />
<a href="../Doctrine/Doctrine_Adapter_Db2_Exception.html">Doctrine_Adapter_Db2_Exception</a> <br />
<a href="../Doctrine/Doctrine_Adapter_Exception.html">Doctrine_Adapter_Exception</a> <br />
<a href="../Doctrine/Doctrine_Adapter_Statement.html">Doctrine_Adapter_Statement</a> <br />
<a href="../Doctrine/Doctrine_AuditLog.html">Doctrine_AuditLog</a> <br />
<a href="../Doctrine/Doctrine_AuditLog_Listener.html">Doctrine_AuditLog_Listener</a> <br />
<a href="../Doctrine/Doctrine_Collection.html">Doctrine_Collection</a> <br />
<a href="../Doctrine/Doctrine_Collection_Exception.html">Doctrine_Collection_Exception</a> <br />
<a href="../Doctrine/Doctrine_Collection_Iterator.html">Doctrine_Collection_Iterator</a> <br />
<a href="../Doctrine/Doctrine_Collection_Iterator_Expandable.html">Doctrine_Collection_Iterator_Expandable</a> <br />
<a href="../Doctrine/Doctrine_Collection_Iterator_Normal.html">Doctrine_Collection_Iterator_Normal</a> <br />
<a href="../Doctrine/Doctrine_Collection_Iterator_Offset.html">Doctrine_Collection_Iterator_Offset</a> <br />
<a href="../Doctrine/Doctrine_Collection_Offset.html">Doctrine_Collection_Offset</a> <br />
<a href="../Doctrine/Doctrine_Column.html">Doctrine_Column</a> <br />
<a href="../Doctrine/Doctrine_Compiler.html">Doctrine_Compiler</a> <br />
<a href="../Doctrine/Doctrine_Compiler_Exception.html">Doctrine_Compiler_Exception</a> <br />
<a href="../Doctrine/Doctrine_Configurable.html">Doctrine_Configurable</a> <br />
<a href="../Doctrine/Doctrine_Connection.html">Doctrine_Connection</a> <br />
<a href="../Doctrine/Doctrine_Connection_Common.html">Doctrine_Connection_Common</a> <br />
<a href="../Doctrine/Doctrine_Connection_Db2.html">Doctrine_Connection_Db2</a> <br />
<a href="../Doctrine/Doctrine_Connection_Exception.html">Doctrine_Connection_Exception</a> <br />
<a href="../Doctrine/Doctrine_Connection_Firebird.html">Doctrine_Connection_Firebird</a> <br />
<a href="../Doctrine/Doctrine_Connection_Firebird_Exception.html">Doctrine_Connection_Firebird_Exception</a> <br />
<a href="../Doctrine/Doctrine_Connection_Informix.html">Doctrine_Connection_Informix</a> <br />
<a href="../Doctrine/Doctrine_Connection_Informix_Exception.html">Doctrine_Connection_Informix_Exception</a> <br />
<a href="../Doctrine/Doctrine_Connection_Mock.html">Doctrine_Connection_Mock</a> <br />
<a href="../Doctrine/Doctrine_Connection_Module.html">Doctrine_Connection_Module</a> <br />
<a href="../Doctrine/Doctrine_Connection_Mssql.html">Doctrine_Connection_Mssql</a> <br />
<a href="../Doctrine/Doctrine_Connection_Mssql_Exception.html">Doctrine_Connection_Mssql_Exception</a> <br />
<a href="../Doctrine/Doctrine_Connection_Mysql.html">Doctrine_Connection_Mysql</a> <br />
<a href="../Doctrine/Doctrine_Connection_Mysql_Exception.html">Doctrine_Connection_Mysql_Exception</a> <br />
<a href="../Doctrine/Doctrine_Connection_Oracle.html">Doctrine_Connection_Oracle</a> <br />
<a href="../Doctrine/Doctrine_Connection_Oracle_Exception.html">Doctrine_Connection_Oracle_Exception</a> <br />
<a href="../Doctrine/Doctrine_Connection_Pgsql.html">Doctrine_Connection_Pgsql</a> <br />
<a href="../Doctrine/Doctrine_Connection_Pgsql_Exception.html">Doctrine_Connection_Pgsql_Exception</a> <br />
<a href="../Doctrine/Doctrine_Connection_Profiler.html">Doctrine_Connection_Profiler</a> <br />
<a href="../Doctrine/Doctrine_Connection_Profiler_Exception.html">Doctrine_Connection_Profiler_Exception</a> <br />
<a href="../Doctrine/Doctrine_Connection_Sqlite.html">Doctrine_Connection_Sqlite</a> <br />
<a href="../Doctrine/Doctrine_Connection_Sqlite_Exception.html">Doctrine_Connection_Sqlite_Exception</a> <br />
<a href="../Doctrine/Doctrine_Connection_Statement.html">Doctrine_Connection_Statement</a> <br />
<a href="../Doctrine/Doctrine_Connection_UnitOfWork.html">Doctrine_Connection_UnitOfWork</a> <br />
<a href="../Doctrine/Doctrine_DataDict.html">Doctrine_DataDict</a> <br />
<a href="../Doctrine/Doctrine_DataDict_Exception.html">Doctrine_DataDict_Exception</a> <br />
<a href="../Doctrine/Doctrine_DataDict_Informix.html">Doctrine_DataDict_Informix</a> <br />
<a href="../Doctrine/Doctrine_DataType.html">Doctrine_DataType</a> <br />
<a href="../Doctrine/Doctrine_Db.html">Doctrine_Db</a> <br />
<a href="../Doctrine/Doctrine_Event.html">Doctrine_Event</a> <br />
<a href="../Doctrine/Doctrine_EventListener.html">Doctrine_EventListener</a> <br />
<a href="../Doctrine/Doctrine_EventListener_Chain.html">Doctrine_EventListener_Chain</a> <br />
<a href="../Doctrine/Doctrine_EventListener_Exception.html">Doctrine_EventListener_Exception</a> <br />
<a href="../Doctrine/Doctrine_Exception.html">Doctrine_Exception</a> <br />
<a href="../Doctrine/Doctrine_Export.html">Doctrine_Export</a> <br />
<a href="../Doctrine/Doctrine_Export_Exception.html">Doctrine_Export_Exception</a> <br />
<a href="../Doctrine/Doctrine_Export_Firebird.html">Doctrine_Export_Firebird</a> <br />
<a href="../Doctrine/Doctrine_Export_Frontbase.html">Doctrine_Export_Frontbase</a> <br />
<a href="../Doctrine/Doctrine_Export_Mssql.html">Doctrine_Export_Mssql</a> <br />
<a href="../Doctrine/Doctrine_Export_Mysql.html">Doctrine_Export_Mysql</a> <br />
<a href="../Doctrine/Doctrine_Export_Oracle.html">Doctrine_Export_Oracle</a> <br />
<a href="../Doctrine/Doctrine_Export_Pgsql.html">Doctrine_Export_Pgsql</a> <br />
<a href="../Doctrine/Doctrine_Export_Reporter.html">Doctrine_Export_Reporter</a> <br />
<a href="../Doctrine/Doctrine_Export_Schema.html">Doctrine_Export_Schema</a> <br />
<a href="../Doctrine/Doctrine_Export_Schema_Xml.html">Doctrine_Export_Schema_Xml</a> <br />
<a href="../Doctrine/Doctrine_Export_Schema_Yml.html">Doctrine_Export_Schema_Yml</a> <br />
<a href="../Doctrine/Doctrine_Export_Sqlite.html">Doctrine_Export_Sqlite</a> <br />
<a href="../Doctrine/Doctrine_Expression.html">Doctrine_Expression</a> <br />
<a href="../Doctrine/Doctrine_Expression_Driver.html">Doctrine_Expression_Driver</a> <br />
<a href="../Doctrine/Doctrine_Expression_Exception.html">Doctrine_Expression_Exception</a> <br />
<a href="../Doctrine/Doctrine_Expression_Firebird.html">Doctrine_Expression_Firebird</a> <br />
<a href="../Doctrine/Doctrine_Expression_Informix.html">Doctrine_Expression_Informix</a> <br />
<a href="../Doctrine/Doctrine_Expression_Mock.html">Doctrine_Expression_Mock</a> <br />
<a href="../Doctrine/Doctrine_Expression_Mssql.html">Doctrine_Expression_Mssql</a> <br />
<a href="../Doctrine/Doctrine_Expression_Mysql.html">Doctrine_Expression_Mysql</a> <br />
<a href="../Doctrine/Doctrine_Expression_Oracle.html">Doctrine_Expression_Oracle</a> <br />
<a href="../Doctrine/Doctrine_Expression_Pgsql.html">Doctrine_Expression_Pgsql</a> <br />
<a href="../Doctrine/Doctrine_Expression_Sqlite.html">Doctrine_Expression_Sqlite</a> <br />
<a href="../Doctrine/Doctrine_File.html">Doctrine_File</a> <br />
<a href="../Doctrine/Doctrine_File_Index.html">Doctrine_File_Index</a> <br />
<a href="../Doctrine/Doctrine_Formatter.html">Doctrine_Formatter</a> <br />
<a href="../Doctrine/Doctrine_Hook.html">Doctrine_Hook</a> <br />
<a href="../Doctrine/Doctrine_Hook_Equal.html">Doctrine_Hook_Equal</a> <br />
<a href="../Doctrine/Doctrine_Hook_Integer.html">Doctrine_Hook_Integer</a> <br />
<a href="../Doctrine/Doctrine_Hook_Parser.html">Doctrine_Hook_Parser</a> <br />
<a href="../Doctrine/Doctrine_Hook_Parser_Complex.html">Doctrine_Hook_Parser_Complex</a> <br />
<a href="../Doctrine/Doctrine_Hook_WordLike.html">Doctrine_Hook_WordLike</a> <br />
<a href="../Doctrine/Doctrine_Hydrate.html">Doctrine_Hydrate</a> <br />
<a href="../Doctrine/Doctrine_Hydrate_Array.html">Doctrine_Hydrate_Array</a> <br />
<a href="../Doctrine/Doctrine_Hydrate_Exception.html">Doctrine_Hydrate_Exception</a> <br />
<a href="../Doctrine/Doctrine_Hydrate_Record.html">Doctrine_Hydrate_Record</a> <br />
<a href="../Doctrine/Doctrine_Import.html">Doctrine_Import</a> <br />
<a href="../Doctrine/Doctrine_Import_Builder.html">Doctrine_Import_Builder</a> <br />
<a href="../Doctrine/Doctrine_Import_Builder_BaseClass.html">Doctrine_Import_Builder_BaseClass</a> <br />
<a href="../Doctrine/Doctrine_Import_Builder_Exception.html">Doctrine_Import_Builder_Exception</a> <br />
<a href="../Doctrine/Doctrine_Import_Exception.html">Doctrine_Import_Exception</a> <br />
<a href="../Doctrine/Doctrine_Import_Firebird.html">Doctrine_Import_Firebird</a> <br />
<a href="../Doctrine/Doctrine_Import_Informix.html">Doctrine_Import_Informix</a> <br />
<a href="../Doctrine/Doctrine_Import_Mssql.html">Doctrine_Import_Mssql</a> <br />
<a href="../Doctrine/Doctrine_Import_Mysql.html">Doctrine_Import_Mysql</a> <br />
<a href="../Doctrine/Doctrine_Import_Oracle.html">Doctrine_Import_Oracle</a> <br />
<a href="../Doctrine/Doctrine_Import_Pgsql.html">Doctrine_Import_Pgsql</a> <br />
<a href="../Doctrine/Doctrine_Import_Reader.html">Doctrine_Import_Reader</a> <br />
<a href="../Doctrine/Doctrine_Import_Reader_Db.html">Doctrine_Import_Reader_Db</a> <br />
<a href="../Doctrine/Doctrine_Import_Reader_Exception.html">Doctrine_Import_Reader_Exception</a> <br />
<a href="../Doctrine/Doctrine_Import_Reader_Xml_Propel.html">Doctrine_Import_Reader_Xml_Propel</a> <br />
<a href="../Doctrine/Doctrine_Import_Schema.html">Doctrine_Import_Schema</a> <br />
<a href="../Doctrine/Doctrine_Import_Schema_Xml.html">Doctrine_Import_Schema_Xml</a> <br />
<a href="../Doctrine/Doctrine_Import_Schema_Yml.html">Doctrine_Import_Schema_Yml</a> <br />
<a href="../Doctrine/Doctrine_Import_Sqlite.html">Doctrine_Import_Sqlite</a> <br />
<a href="../Doctrine/Doctrine_IntegrityMapper.html">Doctrine_IntegrityMapper</a> <br />
<a href="../Doctrine/Doctrine_Lib.html">Doctrine_Lib</a> <br />
<a href="../Doctrine/Doctrine_Locking_Exception.html">Doctrine_Locking_Exception</a> <br />
<a href="../Doctrine/Doctrine_Locking_Manager_Pessimistic.html">Doctrine_Locking_Manager_Pessimistic</a> <br />
<a href="../Doctrine/Doctrine_Manager.html">Doctrine_Manager</a> <br />
<a href="../Doctrine/Doctrine_Manager_Exception.html">Doctrine_Manager_Exception</a> <br />
<a href="../Doctrine/Doctrine_Node.html">Doctrine_Node</a> <br />
<a href="../Doctrine/Doctrine_Node_AdjacencyList.html">Doctrine_Node_AdjacencyList</a> <br />
<a href="../Doctrine/Doctrine_Node_AdjacencyList_LevelOrderIterator.html">Doctrine_Node_AdjacencyList_LevelOrderIterator</a> <br />
<a href="../Doctrine/Doctrine_Node_AdjacencyList_PostOrderIterator.html">Doctrine_Node_AdjacencyList_PostOrderIterator</a> <br />
<a href="../Doctrine/Doctrine_Node_AdjacencyList_PreOrderIterator.html">Doctrine_Node_AdjacencyList_PreOrderIterator</a> <br />
<a href="../Doctrine/Doctrine_Node_Exception.html">Doctrine_Node_Exception</a> <br />
<a href="../Doctrine/Doctrine_Node_MaterializedPath.html">Doctrine_Node_MaterializedPath</a> <br />
<a href="../Doctrine/Doctrine_Node_MaterializedPath_LevelOrderIterator.html">Doctrine_Node_MaterializedPath_LevelOrderIterator</a> <br />
<a href="../Doctrine/Doctrine_Node_MaterializedPath_PostOrderIterator.html">Doctrine_Node_MaterializedPath_PostOrderIterator</a> <br />
<a href="../Doctrine/Doctrine_Node_MaterializedPath_PreOrderIterator.html">Doctrine_Node_MaterializedPath_PreOrderIterator</a> <br />
<a href="../Doctrine/Doctrine_Node_NestedSet.html">Doctrine_Node_NestedSet</a> <br />
<a href="../Doctrine/Doctrine_Node_NestedSet_LevelOrderIterator.html">Doctrine_Node_NestedSet_LevelOrderIterator</a> <br />
<a href="../Doctrine/Doctrine_Node_NestedSet_PostOrderIterator.html">Doctrine_Node_NestedSet_PostOrderIterator</a> <br />
<a href="../Doctrine/Doctrine_Node_NestedSet_PreOrderIterator.html">Doctrine_Node_NestedSet_PreOrderIterator</a> <br />
<a href="../Doctrine/Doctrine_Null.html">Doctrine_Null</a> <br />
<a href="../Doctrine/Doctrine_Object.html">Doctrine_Object</a> <br />
<a href="../Doctrine/Doctrine_Plugin.html">Doctrine_Plugin</a> <br />
<a href="../Doctrine/Doctrine_Query.html">Doctrine_Query</a> <br />
<a href="../Doctrine/Doctrine_Query_Abstract.html">Doctrine_Query_Abstract</a> <br />
<a href="../Doctrine/Doctrine_Query_Check.html">Doctrine_Query_Check</a> <br />
<a href="../Doctrine/Doctrine_Query_Condition.html">Doctrine_Query_Condition</a> <br />
<a href="../Doctrine/Doctrine_Query_Exception.html">Doctrine_Query_Exception</a> <br />
<a href="../Doctrine/Doctrine_Query_Filter.html">Doctrine_Query_Filter</a> <br />
<a href="../Doctrine/Doctrine_Query_Filter_Chain.html">Doctrine_Query_Filter_Chain</a> <br />
<a href="../Doctrine/Doctrine_Query_From.html">Doctrine_Query_From</a> <br />
<a href="../Doctrine/Doctrine_Query_Groupby.html">Doctrine_Query_Groupby</a> <br />
<a href="../Doctrine/Doctrine_Query_Having.html">Doctrine_Query_Having</a> <br />
<a href="../Doctrine/Doctrine_Query_JoinCondition.html">Doctrine_Query_JoinCondition</a> <br />
<a href="../Doctrine/Doctrine_Query_Limit.html">Doctrine_Query_Limit</a> <br />
<a href="../Doctrine/Doctrine_Query_Offset.html">Doctrine_Query_Offset</a> <br />
<a href="../Doctrine/Doctrine_Query_Orderby.html">Doctrine_Query_Orderby</a> <br />
<a href="../Doctrine/Doctrine_Query_Parser.html">Doctrine_Query_Parser</a> <br />
<a href="../Doctrine/Doctrine_Query_Part.html">Doctrine_Query_Part</a> <br />
<a href="../Doctrine/Doctrine_Query_Select.html">Doctrine_Query_Select</a> <br />
<a href="../Doctrine/Doctrine_Query_Set.html">Doctrine_Query_Set</a> <br />
<a href="../Doctrine/Doctrine_Query_Where.html">Doctrine_Query_Where</a> <br />
<a href="../Doctrine/Doctrine_RawSql.html">Doctrine_RawSql</a> <br />
<a href="../Doctrine/Doctrine_RawSql_Exception.html">Doctrine_RawSql_Exception</a> <br />
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a> <br />
<a href="../Doctrine/Doctrine_Record_Abstract.html">Doctrine_Record_Abstract</a> <br />
<a href="../Doctrine/Doctrine_Record_Exception.html">Doctrine_Record_Exception</a> <br />
<a href="../Doctrine/Doctrine_Record_Filter.html">Doctrine_Record_Filter</a> <br />
<a href="../Doctrine/Doctrine_Record_Iterator.html">Doctrine_Record_Iterator</a> <br />
<a href="../Doctrine/Doctrine_Record_Listener.html">Doctrine_Record_Listener</a> <br />
<a href="../Doctrine/Doctrine_Record_Listener_Chain.html">Doctrine_Record_Listener_Chain</a> <br />
<a href="../Doctrine/Doctrine_Record_State_Exception.html">Doctrine_Record_State_Exception</a> <br />
<a href="../Doctrine/Doctrine_Relation.html">Doctrine_Relation</a> <br />
<a href="../Doctrine/Doctrine_Relation_Association.html">Doctrine_Relation_Association</a> <br />
<a href="../Doctrine/Doctrine_Relation_Association_Self.html">Doctrine_Relation_Association_Self</a> <br />
<a href="../Doctrine/Doctrine_Relation_Exception.html">Doctrine_Relation_Exception</a> <br />
<a href="../Doctrine/Doctrine_Relation_ForeignKey.html">Doctrine_Relation_ForeignKey</a> <br />
<a href="../Doctrine/Doctrine_Relation_LocalKey.html">Doctrine_Relation_LocalKey</a> <br />
<a href="../Doctrine/Doctrine_Relation_Nest.html">Doctrine_Relation_Nest</a> <br />
<a href="../Doctrine/Doctrine_Relation_Parser.html">Doctrine_Relation_Parser</a> <br />
<a href="../Doctrine/Doctrine_Relation_Parser_Exception.html">Doctrine_Relation_Parser_Exception</a> <br />
<a href="../Doctrine/Doctrine_Schema.html">Doctrine_Schema</a> <br />
<a href="../Doctrine/Doctrine_Schema_Column.html">Doctrine_Schema_Column</a> <br />
<a href="../Doctrine/Doctrine_Schema_Database.html">Doctrine_Schema_Database</a> <br />
<a href="../Doctrine/Doctrine_Schema_Exception.html">Doctrine_Schema_Exception</a> <br />
<a href="../Doctrine/Doctrine_Schema_Object.html">Doctrine_Schema_Object</a> <br />
<a href="../Doctrine/Doctrine_Schema_Relation.html">Doctrine_Schema_Relation</a> <br />
<a href="../Doctrine/Doctrine_Schema_Table.html">Doctrine_Schema_Table</a> <br />
<a href="../Doctrine/Doctrine_Search.html">Doctrine_Search</a> <br />
<a href="../Doctrine/Doctrine_Search_Analyzer.html">Doctrine_Search_Analyzer</a> <br />
<a href="../Doctrine/Doctrine_Search_Analyzer_Exception.html">Doctrine_Search_Analyzer_Exception</a> <br />
<a href="../Doctrine/Doctrine_Search_Analyzer_Standard.html">Doctrine_Search_Analyzer_Standard</a> <br />
<a href="../Doctrine/Doctrine_Search_Exception.html">Doctrine_Search_Exception</a> <br />
<a href="../Doctrine/Doctrine_Search_Indexer.html">Doctrine_Search_Indexer</a> <br />
<a href="../Doctrine/Doctrine_Search_Indexer_Dir.html">Doctrine_Search_Indexer_Dir</a> <br />
<a href="../Doctrine/Doctrine_Search_Indexer_Exception.html">Doctrine_Search_Indexer_Exception</a> <br />
<a href="../Doctrine/Doctrine_Search_Listener.html">Doctrine_Search_Listener</a> <br />
<a href="../Doctrine/Doctrine_Search_Parser.html">Doctrine_Search_Parser</a> <br />
<a href="../Doctrine/Doctrine_Search_Query.html">Doctrine_Search_Query</a> <br />
<a href="../Doctrine/Doctrine_Search_Record.html">Doctrine_Search_Record</a> <br />
<a href="../Doctrine/Doctrine_Search_Scorer.html">Doctrine_Search_Scorer</a> <br />
<a href="../Doctrine/Doctrine_Search_Template.html">Doctrine_Search_Template</a> <br />
<a href="../Doctrine/Doctrine_Sequence.html">Doctrine_Sequence</a> <br />
<a href="../Doctrine/Doctrine_Sequence_Db2.html">Doctrine_Sequence_Db2</a> <br />
<a href="../Doctrine/Doctrine_Sequence_Exception.html">Doctrine_Sequence_Exception</a> <br />
<a href="../Doctrine/Doctrine_Sequence_Firebird.html">Doctrine_Sequence_Firebird</a> <br />
<a href="../Doctrine/Doctrine_Sequence_Informix.html">Doctrine_Sequence_Informix</a> <br />
<a href="../Doctrine/Doctrine_Sequence_Mssql.html">Doctrine_Sequence_Mssql</a> <br />
<a href="../Doctrine/Doctrine_Sequence_Mysql.html">Doctrine_Sequence_Mysql</a> <br />
<a href="../Doctrine/Doctrine_Sequence_Oracle.html">Doctrine_Sequence_Oracle</a> <br />
<a href="../Doctrine/Doctrine_Sequence_Pgsql.html">Doctrine_Sequence_Pgsql</a> <br />
<a href="../Doctrine/Doctrine_Sequence_Sqlite.html">Doctrine_Sequence_Sqlite</a> <br />
<a href="../Doctrine/Doctrine_Table.html">Doctrine_Table</a> <br />
<a href="../Doctrine/Doctrine_Table_Exception.html">Doctrine_Table_Exception</a> <br />
<a href="../Doctrine/Doctrine_Table_Repository.html">Doctrine_Table_Repository</a> <br />
<a href="../Doctrine/Doctrine_Table_Repository_Exception.html">Doctrine_Table_Repository_Exception</a> <br />
<a href="../Doctrine/Doctrine_Template.html">Doctrine_Template</a> <br />
<a href="../Doctrine/Doctrine_Template_NestedSet.html">Doctrine_Template_NestedSet</a> <br />
<a href="../Doctrine/Doctrine_Template_Searchable.html">Doctrine_Template_Searchable</a> <br />
<a href="../Doctrine/Doctrine_Template_Taggable.html">Doctrine_Template_Taggable</a> <br />
<a href="../Doctrine/Doctrine_Template_Versionable.html">Doctrine_Template_Versionable</a> <br />
<a href="../Doctrine/Doctrine_Tokenizer.html">Doctrine_Tokenizer</a> <br />
<a href="../Doctrine/Doctrine_Transaction.html">Doctrine_Transaction</a> <br />
<a href="../Doctrine/Doctrine_Transaction_Exception.html">Doctrine_Transaction_Exception</a> <br />
<a href="../Doctrine/Doctrine_Transaction_Firebird.html">Doctrine_Transaction_Firebird</a> <br />
<a href="../Doctrine/Doctrine_Transaction_Informix.html">Doctrine_Transaction_Informix</a> <br />
<a href="../Doctrine/Doctrine_Transaction_Mock.html">Doctrine_Transaction_Mock</a> <br />
<a href="../Doctrine/Doctrine_Transaction_Mssql.html">Doctrine_Transaction_Mssql</a> <br />
<a href="../Doctrine/Doctrine_Transaction_Mysql.html">Doctrine_Transaction_Mysql</a> <br />
<a href="../Doctrine/Doctrine_Transaction_Oracle.html">Doctrine_Transaction_Oracle</a> <br />
<a href="../Doctrine/Doctrine_Transaction_Pgsql.html">Doctrine_Transaction_Pgsql</a> <br />
<a href="../Doctrine/Doctrine_Transaction_Sqlite.html">Doctrine_Transaction_Sqlite</a> <br />
<a href="../Doctrine/Doctrine_Tree.html">Doctrine_Tree</a> <br />
<a href="../Doctrine/Doctrine_Tree_AdjacencyList.html">Doctrine_Tree_AdjacencyList</a> <br />
<a href="../Doctrine/Doctrine_Tree_Exception.html">Doctrine_Tree_Exception</a> <br />
<a href="../Doctrine/Doctrine_Tree_MaterializedPath.html">Doctrine_Tree_MaterializedPath</a> <br />
<a href="../Doctrine/Doctrine_Tree_NestedSet.html">Doctrine_Tree_NestedSet</a> <br />
<a href="../Doctrine/Doctrine_Util.html">Doctrine_Util</a> <br />
<a href="../Doctrine/Doctrine_Validator.html">Doctrine_Validator</a> <br />
<a href="../Doctrine/Doctrine_Validator_Country.html">Doctrine_Validator_Country</a> <br />
<a href="../Doctrine/Doctrine_Validator_Creditcard.html">Doctrine_Validator_Creditcard</a> <br />
<a href="../Doctrine/Doctrine_Validator_Date.html">Doctrine_Validator_Date</a> <br />
<a href="../Doctrine/Doctrine_Validator_Email.html">Doctrine_Validator_Email</a> <br />
<a href="../Doctrine/Doctrine_Validator_Enum.html">Doctrine_Validator_Enum</a> <br />
<a href="../Doctrine/Doctrine_Validator_ErrorStack.html">Doctrine_Validator_ErrorStack</a> <br />
<a href="../Doctrine/Doctrine_Validator_Exception.html">Doctrine_Validator_Exception</a> <br />
<a href="../Doctrine/Doctrine_Validator_HtmlColor.html">Doctrine_Validator_HtmlColor</a> <br />
<a href="../Doctrine/Doctrine_Validator_Ip.html">Doctrine_Validator_Ip</a> <br />
<a href="../Doctrine/Doctrine_Validator_Minlength.html">Doctrine_Validator_Minlength</a> <br />
<a href="../Doctrine/Doctrine_Validator_Nospace.html">Doctrine_Validator_Nospace</a> <br />
<a href="../Doctrine/Doctrine_Validator_Notblank.html">Doctrine_Validator_Notblank</a> <br />
<a href="../Doctrine/Doctrine_Validator_Notnull.html">Doctrine_Validator_Notnull</a> <br />
<a href="../Doctrine/Doctrine_Validator_Range.html">Doctrine_Validator_Range</a> <br />
<a href="../Doctrine/Doctrine_Validator_Regexp.html">Doctrine_Validator_Regexp</a> <br />
<a href="../Doctrine/Doctrine_Validator_Unique.html">Doctrine_Validator_Unique</a> <br />
<a href="../Doctrine/Doctrine_Validator_Unsigned.html">Doctrine_Validator_Unsigned</a> <br />
<a href="../Doctrine/Doctrine_Validator_Usstate.html">Doctrine_Validator_Usstate</a> <br />
<a href="../Doctrine/Doctrine_View.html">Doctrine_View</a> <br />
<a href="../Doctrine/Doctrine_View_Exception.html">Doctrine_View_Exception</a> <br />
</div>
<div class="package">
Doctrine_Cache<br /> <span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Cache/Doctrine_Cache.html">Doctrine_Cache</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Cache/Doctrine_Cache_Apc.html">Doctrine_Cache_Apc</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Cache/Doctrine_Cache_Array.html">Doctrine_Cache_Array</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Cache/Doctrine_Cache_Db.html">Doctrine_Cache_Db</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Cache/Doctrine_Cache_Driver.html">Doctrine_Cache_Driver</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Cache/Doctrine_Cache_Exception.html">Doctrine_Cache_Exception</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Cache/Doctrine_Cache_Memcache.html">Doctrine_Cache_Memcache</a> </span> <br />
</div>
<div class="package">
Doctrine_Adapter<br /> <span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Adapter/Doctrine_Adapter_Db2.html">Doctrine_Adapter_Db2</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Adapter/Doctrine_Adapter_Mock.html">Doctrine_Adapter_Mock</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Adapter/Doctrine_Adapter_Mysqli.html">Doctrine_Adapter_Mysqli</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Adapter/Doctrine_Adapter_Oracle.html">Doctrine_Adapter_Oracle</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_Adapter/Doctrine_Adapter_Statement_Mock.html">Doctrine_Adapter_Statement_Mock</a> </span> <br />
</div>
<div class="package">
Doctrine_DataDict<br /> <span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_DataDict/Doctrine_DataDict_Firebird.html">Doctrine_DataDict_Firebird</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_DataDict/Doctrine_DataDict_Mssql.html">Doctrine_DataDict_Mssql</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_DataDict/Doctrine_DataDict_Mysql.html">Doctrine_DataDict_Mysql</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_DataDict/Doctrine_DataDict_Oracle.html">Doctrine_DataDict_Oracle</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_DataDict/Doctrine_DataDict_Pgsql.html">Doctrine_DataDict_Pgsql</a> </span> <br />
<span style="padding-left: 1em;"> <a href="../Doctrine/Doctrine_DataDict/Doctrine_DataDict_Sqlite.html">Doctrine_DataDict_Sqlite</a> </span> <br />
</div>
</div>
<div id="content">
<h1>Class: Doctrine_Connection_UnitOfWork</h1>
Source Location: /Doctrine/Connection/UnitOfWork.php<br /><br />
<h2 class="class-name">Class Doctrine_Connection_UnitOfWork</h2>
<a name="sec-description"></a>
<div class="info-box">
<div class="info-box-title">Class Overview</div>
<div class="nav-bar">
<span class="disabled">Class Overview</span> |
<a href="#sec-inherited">Inherited Properties, Constants, and Methods</a>
| <a href="#sec-vars">Properties</a>
| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
</div>
<div class="info-box-body">
<table width="100%" border="0">
<tr><td valign="top" width="60%" class="class-overview">
<p align="center" class="short-description"><strong>Doctrine_Connection_UnitOfWork
</strong></p>
<p class="notes">
Located in <a class="field" href="_Doctrine---Connection---UnitOfWork.php.html">/Doctrine/Connection/UnitOfWork.php</a> [<span class="field">line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a33">33</a></span>]
</p>
<pre><a href="../Doctrine/Doctrine_Connection_Module.html">Doctrine_Connection_Module</a>
|
--Doctrine_Connection_UnitOfWork</pre>
<strong>Author(s):</strong>
<ul>
<li>Konsta Vesterinen &lt;<a href="mailto:kvesteri@cc.hut.fi">kvesteri@cc.hut.fi</a>&gt;</li>
</ul>
<strong>Information Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td><strong>Version:</strong>&nbsp;&nbsp;</td><td>$Revision: 2197 $</td></tr>
<tr><td><strong>Link:</strong>&nbsp;&nbsp;</td><td>www.phpdoctrine.com</td></tr>
<tr><td><strong>Since:</strong>&nbsp;&nbsp;</td><td>1.0</td></tr>
<tr><td><strong>License:</strong>&nbsp;&nbsp;</td><td><a href="http://www.opensource.org/licenses/lgpl-license.php">LGPL</a></td></tr>
</table>
</td>
<td valign="top" width="20%" class="class-overview">
<p align="center" class="short-description"><strong><a href="#sec_methods">Methods</a></strong></p>
<ul>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methodbuildFlushTree">buildFlushTree</a></li>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methoddelete">delete</a></li>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methoddeleteComposites">deleteComposites</a></li>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methodinsert">insert</a></li>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methodsave">save</a></li>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methodsaveAll">saveAll</a></li>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methodsaveAssociations">saveAssociations</a></li>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methodsaveGraph">saveGraph</a></li>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methodsaveRelated">saveRelated</a></li>
<li><a href="../Doctrine/Doctrine_Connection_UnitOfWork.html#methodupdate">update</a></li>
</ul>
</td>
</tr></table>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
<a name="sec-inherited"></a>
<div class="info-box">
<div class="info-box-title">Inherited Properties, Constants, and Methods</div>
<div class="nav-bar">
<a href="#sec-description">Class Overview</a> |
| <span class="disabled">Inherited Properties, Constants, and Methods</span>
| <a href="#sec-vars">Properties</a>
| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
</div>
<div class="info-box-body">
<table cellpadding="2" cellspacing="0" class="class-table">
<tr>
<th class="class-table-header" width="30%">Inherited Properties</th>
<th class="class-table-header" width="40%">Inherited Methods</th>
<th class="class-table-header" width="30%">Inherited Constants</th>
</tr>
<tr>
<td width="30%">
<p>Inherited From <span class="classname"><a href="../Doctrine/Doctrine_Connection_Module.html">Doctrine_Connection_Module</a></span></p>
<blockquote>
<dl>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Connection_Module.html#var$conn">Doctrine_Connection_Module::$conn</a></span>
</dt>
<dd>
<span class="method-definition"></span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Connection_Module.html#var$moduleName">Doctrine_Connection_Module::$moduleName</a></span>
</dt>
<dd>
<span class="method-definition"></span>
</dd>
</dl>
</blockquote>
</td>
<td width="40%">
<p>Inherited From <span class="classname"><a href="../Doctrine/Doctrine_Connection_Module.html">Doctrine_Connection_Module</a></span></p>
<blockquote>
<dl>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Connection_Module.html#method__construct">Doctrine_Connection_Module::__construct()</a></span>
</dt>
<dd>
<span class="method-definition"></span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Connection_Module.html#methodgetConnection">Doctrine_Connection_Module::getConnection()</a></span>
</dt>
<dd>
<span class="method-definition">getConnection returns the connection object this module uses</span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Connection_Module.html#methodgetModuleName">Doctrine_Connection_Module::getModuleName()</a></span>
</dt>
<dd>
<span class="method-definition">getModuleName returns the name of this module</span>
</dd>
</dl>
</blockquote>
</td>
<td width="30%">
</td>
</tr>
</table>
<br /><div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
<a name="sec-method-summary"></a>
<div class="info-box">
<div class="info-box-title">Method Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Class Overview</a> |
<a href="#sec-inherited">Inherited Properties and Methods</a>
| <a href="#sec-vars">Properties</a>
<span class="disabled">Method Summary</span> | <a href="#sec-methods">Methods Detail</a>
</div>
<div class="info-box-body">
<div class="method-summary">
<table border="0" cellspacing="0" cellpadding="0" class="method-summary">
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">array</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#buildFlushTree" title="details" class="method-name">buildFlushTree</a>()&nbsp;&nbsp;</td>
<td class="method-definition">buildFlushTree builds a flush tree that is used in transactions</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">boolean</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#delete" title="details" class="method-name">delete</a>()&nbsp;&nbsp;</td>
<td class="method-definition">deletes given record and all the related composites this operation is isolated by a transaction</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#deleteComposites" title="details" class="method-name">deleteComposites</a>()&nbsp;&nbsp;</td>
<td class="method-definition">deletes all related composites this method is always called internally when a record is deleted</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">boolean</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#insert" title="details" class="method-name">insert</a>()&nbsp;&nbsp;</td>
<td class="method-definition">inserts a record into database</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#save" title="details" class="method-name">save</a>()&nbsp;&nbsp;</td>
<td class="method-definition">saves the given record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#saveAll" title="details" class="method-name">saveAll</a>()&nbsp;&nbsp;</td>
<td class="method-definition">saveAll persists all the pending records from all tables</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#saveAssociations" title="details" class="method-name">saveAssociations</a>()&nbsp;&nbsp;</td>
<td class="method-definition">saveAssociations</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#saveGraph" title="details" class="method-name">saveGraph</a>()&nbsp;&nbsp;</td>
<td class="method-definition">saves the given record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#saveRelated" title="details" class="method-name">saveRelated</a>()&nbsp;&nbsp;</td>
<td class="method-definition">saveRelated saves all related records to $record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">boolean</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#update" title="details" class="method-name">update</a>()&nbsp;&nbsp;</td>
<td class="method-definition">update updates the given record</td></tr>
</div>
</table>
</div>
<br /><div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
<a name="sec-vars"></a>
<div class="info-box">
<div class="info-box-title">Properties</div>
<div class="nav-bar">
<a href="#sec-description">Class Overview</a> |
<a href="#sec-inherited">Inherited Properties and Methods</a>
| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
|
<a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
</div>
<div class="info-box-body">
</div>
</div>
<a name="sec-methods"></a>
<div class="info-box">
<div class="info-box-title">Methods</div>
<div class="nav-bar">
<a href="#sec-description">Class Overview</a> |
<a href="#sec-inherited">Inherited Properties and Methods</a>
| |
<a href="#sec-vars">Properties</a>
| <a href="#sec-method-summary">Method Summary</a> | <span class="disabled">Methods Detail</span>
</div>
<div class="info-box-body">
<a name='method_detail'></a>
<a name="methodbuildFlushTree" id="buildFlushTree"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">buildFlushTree</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a46">46</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>array buildFlushTree(
$tables&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>buildFlushTree builds a flush tree that is used in transactions
</strong></p>
<span class="description"><p>The returned array has all the initialized components in 'correct' order. Basically this means that the records of those components can be saved safely in the order specified by the returned array.</p></span>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">array</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$tables:&nbsp;</span></td>
<td>
<span class="var-description"> an array of Doctrine_Table objects or component names</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>an array of component names in flushing order</td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methoddelete" id="delete"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">delete</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a251">251</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>boolean delete(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>deletes given record and all the related composites this operation is isolated by a transaction
</strong></p>
<span class="description"><p>this event can be listened by the onPreDelete and onDelete listeners</p></span>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"><a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$record:&nbsp;</span></td>
<td>
</td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>true on success, false on failure</td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methoddeleteComposites" id="deleteComposites"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">deleteComposites</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a366">366</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>void deleteComposites(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>deletes all related composites this method is always called internally when a record is deleted
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"><a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$record:&nbsp;</span></td>
<td>
</td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<strong>Information Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Throws:</strong>&nbsp;&nbsp;</td><td>PDOException if something went wrong at database level</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodinsert" id="insert"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">insert</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a485">485</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>boolean insert(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>inserts a record into database
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"><a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$record:&nbsp;</span></td>
<td>
<span class="var-description"> record to be inserted</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodsave" id="save"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">save</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a215">215</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>void save(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>saves the given record
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"><a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$record:&nbsp;</span></td>
<td>
</td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodsaveAll" id="saveAll"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">saveAll</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a390">390</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>void saveAll(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>saveAll persists all the pending records from all tables
</strong></p>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<strong>Information Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Throws:</strong>&nbsp;&nbsp;</td><td>PDOException if something went wrong at database level</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodsaveAssociations" id="saveAssociations"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">saveAssociations</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a332">332</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>void saveAssociations(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>saveAssociations
</strong></p>
<span class="description"><p>this method takes a diff of one-to-many / many-to-many original and current collections and applies the changes</p><p>for example if original many-to-many related collection has records with primary keys 1,2 and 3 and the new collection has records with primary keys 3, 4 and 5, this method would first destroy the associations to 1 and 2 and then save new associations to 4 and 5</p></span>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"><a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$record:&nbsp;</span></td>
<td>
</td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<strong>Information Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Throws:</strong>&nbsp;&nbsp;</td><td>PDOException if something went wrong at database level</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodsaveGraph" id="saveGraph"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">saveGraph</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a140">140</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>void saveGraph(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>saves the given record
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"><a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$record:&nbsp;</span></td>
<td>
</td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodsaveRelated" id="saveRelated"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">saveRelated</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a292">292</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>void saveRelated(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>saveRelated saves all related records to $record
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"><a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$record:&nbsp;</span></td>
<td>
</td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<strong>Information Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Throws:</strong>&nbsp;&nbsp;</td><td>PDOException if something went wrong at database level</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodupdate" id="update"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">update</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineConnectionUnitOfWork.php.html#a420">420</a>]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
<code>boolean update(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>update updates the given record
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"><a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$record:&nbsp;</span></td>
<td>
<span class="var-description"> record to be updated</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Return:</strong>&nbsp;&nbsp;</td><td>whether or not the update was successful</td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
</div>
</div>