1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/api_documentation/trunk/Doctrine/Doctrine_Locking_Manager_Pessimistic.html

854 lines
50 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_Locking_Manager_Pessimistic</h1>
Source Location: /Doctrine/Locking/Manager/Pessimistic.php<br /><br />
<h2 class="class-name">Class Doctrine_Locking_Manager_Pessimistic</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-var-summary">Properties 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">
<table width="100%" border="0">
<tr><td valign="top" width="60%" class="class-overview">
<p align="center" class="short-description"><strong>Offline locking of records comes in handy where you need to make sure that a time-consuming task on a record or many records, which is spread over several page requests can't be interfered by other users.
</strong></p>
<p class="notes">
Located in <a class="field" href="_Doctrine---Locking---Manager---Pessimistic.php.html">/Doctrine/Locking/Manager/Pessimistic.php</a> [<span class="field">line <a href="../__filesource/fsource_Doctrine__DoctrineLockingManagerPessimistic.php.html#a36">36</a></span>]
</p>
<pre></pre>
<strong>Author(s):</strong>
<ul>
<li>Pierre Minnieur &lt;<a href="mailto:pm@pierre-minnieur.de">pm@pierre-minnieur.de</a>&gt;</li>
<li>Roman Borschel &lt;<a href="mailto:roman@code-factory.org">roman@code-factory.org</a>&gt;</li>
<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: 1468 $</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_vars">Properties</a></strong></p>
<ul>
<li><a href="../Doctrine/Doctrine_Locking_Manager_Pessimistic.html#var$conn">$conn</a></li>
<li><a href="../Doctrine/Doctrine_Locking_Manager_Pessimistic.html#var$_lockTable">$_lockTable</a></li>
</ul>
</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_Locking_Manager_Pessimistic.html#method__construct">__construct</a></li>
<li><a href="../Doctrine/Doctrine_Locking_Manager_Pessimistic.html#methodgetLock">getLock</a></li>
<li><a href="../Doctrine/Doctrine_Locking_Manager_Pessimistic.html#methodgetLockOwner">getLockOwner</a></li>
<li><a href="../Doctrine/Doctrine_Locking_Manager_Pessimistic.html#methodreleaseAgedLocks">releaseAgedLocks</a></li>
<li><a href="../Doctrine/Doctrine_Locking_Manager_Pessimistic.html#methodreleaseLock">releaseLock</a></li>
<li><a href="../Doctrine/Doctrine_Locking_Manager_Pessimistic.html#method_getLockingUserIdent">_getLockingUserIdent</a></li>
</ul>
</td>
</tr></table>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
<a name="sec-var-summary"></a>
<div class="info-box">
<div class="info-box-title">Property Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Class Overview</a> |
<span class="disabled">Property Summary</span> | <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 class="var-summary">
<table border="0" cellspacing="0" cellpadding="0" class="var-summary">
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary"><a href="../Doctrine/Doctrine_Connection.html">Doctrine_Connection</a></span>&nbsp;&nbsp;</td>
<td class="var-title"><a href="#$conn" title="details" class="var-name-summary">$conn</a>&nbsp;&nbsp;</td>
<td class="var-summary-description">The conn that is used by the locking manager</td></tr>
</div>
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary">mixed</span>&nbsp;&nbsp;</td>
<td class="var-title"><a href="#$_lockTable" title="details" class="var-name-summary">$_lockTable</a>&nbsp;&nbsp;</td>
<td class="var-summary-description">The database table name for the lock tracking</td></tr>
</div>
</table>
</div>
<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-var-summary">Properties Summary</a> | <a href="#sec-vars">Properties Detail</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">Doctrine_Locking_Manager_Pessimistic</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#__construct" title="details" class="method-name">__construct</a>()&nbsp;&nbsp;</td>
<td class="method-definition">Constructs a new locking manager object</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="#getLock" title="details" class="method-name">getLock</a>()&nbsp;&nbsp;</td>
<td class="method-definition">Obtains a lock on a <a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">mixed</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getLockOwner" title="details" class="method-name">getLockOwner</a>()&nbsp;&nbsp;</td>
<td class="method-definition">Gets the identifier that identifies the owner of the lock on the given record.</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">integer</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#releaseAgedLocks" title="details" class="method-name">releaseAgedLocks</a>()&nbsp;&nbsp;</td>
<td class="method-definition">Releases locks older than a defined amount of seconds</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="#releaseLock" title="details" class="method-name">releaseLock</a>()&nbsp;&nbsp;</td>
<td class="method-definition">Releases a lock on a <a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a></td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">mixed</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#_getLockingUserIdent" title="details" class="method-name">_getLockingUserIdent</a>()&nbsp;&nbsp;</td>
<td class="method-definition">Gets the unique user identifier of a lock</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-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">
<a name="var$conn" id="$conn"><!-- --></A>
<div class="oddrow">
<div class="var-header">
<span class="var-title">
<span class="var-type"><a href="../Doctrine/Doctrine_Connection.html">Doctrine_Connection</a></span>&nbsp;&nbsp;
<span class="var-name">$conn</span>
<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineLockingManagerPessimistic.php.html#a43">43</a>]</span>
</span>
</div>
<p align="center" class="short-description"><strong>The conn that is used by the locking manager
</strong></p>
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$_lockTable" id="$_lockTable"><!-- --></A>
<div class="evenrow">
<div class="var-header">
<span class="var-title">
<span class="var-type">mixed</span>&nbsp;&nbsp;
<span class="var-name">$_lockTable</span>
= <span class="var-default"> 'doctrine_lock_tracking'</span> <span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineLockingManagerPessimistic.php.html#a47">47</a>]</span>
</span>
</div>
<p align="center" class="short-description"><strong>The database table name for the lock tracking
</strong></p>
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</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-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</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="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">Constructor __construct</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineLockingManagerPessimistic.php.html#a57">57</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>Doctrine_Locking_Manager_Pessimistic __construct(
<a href="../Doctrine/Doctrine_Connection.html">Doctrine_Connection</a>
$conn&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Constructs a new locking manager object
</strong></p>
<span class="description"><p>When the CREATE_TABLES attribute of the connection on which the manager is supposed to work on is set to true, the locking table is created.</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_Connection.html">Doctrine_Connection</a></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$conn:&nbsp;</span></td>
<td>
<span class="var-description"> The database connection to use</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="methodgetLock" id="getLock"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getLock</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineLockingManagerPessimistic.php.html#a99">99</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 getLock(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record, mixed
$userIdent&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Obtains a lock on a <a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
</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"> The record that has to be locked</span> </td></tr>
<tr><td class="indent">
<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$userIdent:&nbsp;</span></td>
<td>
<span class="var-description"> A unique identifier of the locking user</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>TRUE if the locking was successful, FALSE if another user holds a lock on this record</td>
</tr>
<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>Doctrine_Locking_Exception If the locking failed due to database errors</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetLockOwner" id="getLockOwner"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getLockOwner</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineLockingManagerPessimistic.php.html#a239">239</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>mixed getLockOwner(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$lockedRecord&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Gets the identifier that identifies the owner of the lock on 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">$lockedRecord:&nbsp;</span></td>
<td>
<span class="var-description"> The record.</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>The unique user identifier that identifies the owner of the lock.</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="methodreleaseAgedLocks" id="releaseAgedLocks"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">releaseAgedLocks</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineLockingManagerPessimistic.php.html#a257">257</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>integer releaseAgedLocks(
[integer
$age = 900], [string
$objectType = null], [mixed
$userIdent = null]&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Releases locks older than a defined amount of seconds
</strong></p>
<span class="description"><p>When called without parameters all locks older than 15 minutes are released.</p></span>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">integer</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$age:&nbsp;</span></td>
<td>
<span class="var-description"> The maximum valid age of locks in seconds</span> </td></tr>
<tr><td class="indent">
<span class="var-type">string</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$objectType:&nbsp;</span></td>
<td>
<span class="var-description"> The type of the object (component name)</span> </td></tr>
<tr><td class="indent">
<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$userIdent:&nbsp;</span></td>
<td>
<span class="var-description"> The unique identifier of the locking user</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>The number of locks that have been released</td>
</tr>
<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>Doctrine_Locking_Exception If the release process failed due to database errors</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodreleaseLock" id="releaseLock"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">releaseLock</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineLockingManagerPessimistic.php.html#a168">168</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 releaseLock(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$record, mixed
$userIdent&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Releases a lock on a <a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
</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"> The record for which the lock has to be released</span> </td></tr>
<tr><td class="indent">
<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$userIdent:&nbsp;</span></td>
<td>
<span class="var-description"> The unique identifier of the locking user</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>TRUE if a lock was released, FALSE if no lock was released</td>
</tr>
<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>Doctrine_Locking_Exception If the release procedure failed due to database errors</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="method_getLockingUserIdent" id="_getLockingUserIdent"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">_getLockingUserIdent</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineLockingManagerPessimistic.php.html#a205">205</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>mixed _getLockingUserIdent(
string
$objectType, mixed
$key&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Gets the unique user identifier of a lock
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">string</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$objectType:&nbsp;</span></td>
<td>
<span class="var-description"> The type of the object (component name)</span> </td></tr>
<tr><td class="indent">
<span class="var-type">mixed</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$key:&nbsp;</span></td>
<td>
<span class="var-description"> The unique key of the object</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>The unique user identifier for the specified lock</td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</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>Doctrine_Locking_Exception If the query failed due to database errors</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
</div>
</div>