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

3010 lines
131 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_Node_NestedSet</h1>
Source Location: /Doctrine/Node/NestedSet.php<br /><br />
<h2 class="class-name">Class Doctrine_Node_NestedSet</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 class="implements">
Implements interfaces:
<ul>
<li><a href="../Doctrine/Doctrine_Node_Interface.html">Doctrine_Node_Interface</a></li> </ul>
</p>
<p align="center" class="short-description"><strong>Doctrine_Node_NestedSet
</strong></p>
<p class="notes">
Located in <a class="field" href="_Doctrine---Node---NestedSet.php.html">/Doctrine/Node/NestedSet.php</a> [<span class="field">line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a33">33</a></span>]
</p>
<pre><a href="../Doctrine/Doctrine_Node.html">Doctrine_Node</a>
|
--Doctrine_Node_NestedSet</pre>
<strong>Author(s):</strong>
<ul>
<li>Joe Simms &lt;<a href="mailto:joe.simms@websites4.com">joe.simms@websites4.com</a>&gt;</li>
<li>Roman Borschel &lt;<a href="mailto:roman@code-factory.org">roman@code-factory.org</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: 2263 $</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_Node_NestedSet.html#methodaddChild">addChild</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methoddelete">delete</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetAncestors">getAncestors</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetChildren">getChildren</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetDescendants">getDescendants</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetFirstChild">getFirstChild</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetLastChild">getLastChild</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetLeftValue">getLeftValue</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetLevel">getLevel</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetNextSibling">getNextSibling</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetNumberChildren">getNumberChildren</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetNumberDescendants">getNumberDescendants</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetParent">getParent</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetPath">getPath</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetPrevSibling">getPrevSibling</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetRightValue">getRightValue</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetRootValue">getRootValue</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodgetSiblings">getSiblings</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodhasChildren">hasChildren</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodhasNextSibling">hasNextSibling</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodhasParent">hasParent</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodhasPrevSibling">hasPrevSibling</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodinsertAsFirstChildOf">insertAsFirstChildOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodinsertAsLastChildOf">insertAsLastChildOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodinsertAsNextSiblingOf">insertAsNextSiblingOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodinsertAsParentOf">insertAsParentOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodinsertAsPrevSiblingOf">insertAsPrevSiblingOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodinsertNode">insertNode</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodisDescendantOf">isDescendantOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodisDescendantOfOrEqualTo">isDescendantOfOrEqualTo</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodisEqualTo">isEqualTo</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodisLeaf">isLeaf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodisRoot">isRoot</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodisValidNode">isValidNode</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodmakeRoot">makeRoot</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodmoveAsFirstChildOf">moveAsFirstChildOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodmoveAsLastChildOf">moveAsLastChildOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodmoveAsNextSiblingOf">moveAsNextSiblingOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodmoveAsPrevSiblingOf">moveAsPrevSiblingOf</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodsetLeftValue">setLeftValue</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodsetRightValue">setRightValue</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodsetRootValue">setRootValue</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodshiftRlRange">shiftRlRange</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodshiftRlValues">shiftRlValues</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#methodupdateNode">updateNode</a></li>
<li><a href="../Doctrine/Doctrine_Node_NestedSet.html#method_moveBetweenTrees">_moveBetweenTrees</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_Node.html">Doctrine_Node</a></span></p>
<blockquote>
<dl>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#var$iteratorOptions">Doctrine_Node::$iteratorOptions</a></span>
</dt>
<dd>
<span class="method-definition"></span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#var$iteratorType">Doctrine_Node::$iteratorType</a></span>
</dt>
<dd>
<span class="method-definition"></span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#var$options">Doctrine_Node::$options</a></span>
</dt>
<dd>
<span class="method-definition"></span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#var$record">Doctrine_Node::$record</a></span>
</dt>
<dd>
<span class="method-definition"></span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#var$_tree">Doctrine_Node::$_tree</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_Node.html">Doctrine_Node</a></span></p>
<blockquote>
<dl>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#method__construct">Doctrine_Node::__construct()</a></span>
</dt>
<dd>
<span class="method-definition">contructor, creates node with reference to record and any options</span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#methodfactory">Doctrine_Node::factory()</a></span>
</dt>
<dd>
<span class="method-definition">factory method to return node instance based upon chosen implementation</span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#methodgetIterator">Doctrine_Node::getIterator()</a></span>
</dt>
<dd>
<span class="method-definition">get iterator</span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#methodgetRecord">Doctrine_Node::getRecord()</a></span>
</dt>
<dd>
<span class="method-definition">getter for record attribute</span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#methodsetIteratorOptions">Doctrine_Node::setIteratorOptions()</a></span>
</dt>
<dd>
<span class="method-definition">sets node's iterator options</span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#methodsetIteratorType">Doctrine_Node::setIteratorType()</a></span>
</dt>
<dd>
<span class="method-definition">sets node's iterator type</span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#methodsetRecord">Doctrine_Node::setRecord()</a></span>
</dt>
<dd>
<span class="method-definition">setter for record attribute</span>
</dd>
<dt>
<span class="method-definition"><a href="../Doctrine/Doctrine_Node.html#methodtraverse">Doctrine_Node::traverse()</a></span>
</dt>
<dd>
<span class="method-definition">convenience function for getIterator</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">void</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#addChild" title="details" class="method-name">addChild</a>()&nbsp;&nbsp;</td>
<td class="method-definition">adds node as last child of 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="#delete" title="details" class="method-name">delete</a>()&nbsp;&nbsp;</td>
<td class="method-definition">deletes node and it's descendants</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="#getAncestors" title="details" class="method-name">getAncestors</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets ancestors for node</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="#getChildren" title="details" class="method-name">getChildren</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets children for node (direct descendants only)</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="#getDescendants" title="details" class="method-name">getDescendants</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets descendants for node (direct descendants only)</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getFirstChild" title="details" class="method-name">getFirstChild</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets record of first child or empty record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getLastChild" title="details" class="method-name">getLastChild</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets record of last child or empty record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">int</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getLeftValue" title="details" class="method-name">getLeftValue</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets record's left value</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">int</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getLevel" title="details" class="method-name">getLevel</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets level (depth) of node in the tree</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getNextSibling" title="details" class="method-name">getNextSibling</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets record of next sibling or empty record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">int</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getNumberChildren" title="details" class="method-name">getNumberChildren</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets number of children (direct descendants)</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">int</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getNumberDescendants" title="details" class="method-name">getNumberDescendants</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets number of descendants (children and their children)</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getParent" title="details" class="method-name">getParent</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets record of parent or empty record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">string</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getPath" title="details" class="method-name">getPath</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets path to node from root, uses record::toString() method to get node names</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a></span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getPrevSibling" title="details" class="method-name">getPrevSibling</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets record of prev sibling or empty record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">int</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getRightValue" title="details" class="method-name">getRightValue</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets record's right value</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="#getRootValue" title="details" class="method-name">getRootValue</a>()&nbsp;&nbsp;</td>
<td class="method-definition">get records root id value</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">array</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#getSiblings" title="details" class="method-name">getSiblings</a>()&nbsp;&nbsp;</td>
<td class="method-definition">gets siblings for node</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#hasChildren" title="details" class="method-name">hasChildren</a>()&nbsp;&nbsp;</td>
<td class="method-definition">test if node has children</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#hasNextSibling" title="details" class="method-name">hasNextSibling</a>()&nbsp;&nbsp;</td>
<td class="method-definition">test if node has next sibling</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#hasParent" title="details" class="method-name">hasParent</a>()&nbsp;&nbsp;</td>
<td class="method-definition">test if node has parent</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#hasPrevSibling" title="details" class="method-name">hasPrevSibling</a>()&nbsp;&nbsp;</td>
<td class="method-definition">test if node has previous sibling</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#insertAsFirstChildOf" title="details" class="method-name">insertAsFirstChildOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">inserts node as first child of dest record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#insertAsLastChildOf" title="details" class="method-name">insertAsLastChildOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">inserts node as last child of dest record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#insertAsNextSiblingOf" title="details" class="method-name">insertAsNextSiblingOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">inserts node as next sibling of dest record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#insertAsParentOf" title="details" class="method-name">insertAsParentOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">inserts node as parent of dest record</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#insertAsPrevSiblingOf" title="details" class="method-name">insertAsPrevSiblingOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">inserts node as previous sibling of dest 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="#insertNode" title="details" class="method-name">insertNode</a>()&nbsp;&nbsp;</td>
<td class="method-definition">sets node's left and right values and save's it</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#isDescendantOf" title="details" class="method-name">isDescendantOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">determines if node is child of subject node</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#isDescendantOfOrEqualTo" title="details" class="method-name">isDescendantOfOrEqualTo</a>()&nbsp;&nbsp;</td>
<td class="method-definition">determines if node is child of or sibling to subject node</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#isEqualTo" title="details" class="method-name">isEqualTo</a>()&nbsp;&nbsp;</td>
<td class="method-definition">determines if node is equal to subject node</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#isLeaf" title="details" class="method-name">isLeaf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">determines if node is leaf</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#isRoot" title="details" class="method-name">isRoot</a>()&nbsp;&nbsp;</td>
<td class="method-definition">determines if node is root</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">bool</span>&nbsp;&nbsp;</td>
<td class="method-definition"><a href="#isValidNode" title="details" class="method-name">isValidNode</a>()&nbsp;&nbsp;</td>
<td class="method-definition">determines if node is valid</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="#makeRoot" title="details" class="method-name">makeRoot</a>()&nbsp;&nbsp;</td>
<td class="method-definition">Makes this node a root node. Only used in multiple-root trees.</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="#moveAsFirstChildOf" title="details" class="method-name">moveAsFirstChildOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">moves node as first child of dest 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="#moveAsLastChildOf" title="details" class="method-name">moveAsLastChildOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">moves node as last child of dest 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="#moveAsNextSiblingOf" title="details" class="method-name">moveAsNextSiblingOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">moves node as next sibling of dest 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="#moveAsPrevSiblingOf" title="details" class="method-name">moveAsPrevSiblingOf</a>()&nbsp;&nbsp;</td>
<td class="method-definition">moves node as prev sibling of dest 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="#setLeftValue" title="details" class="method-name">setLeftValue</a>()&nbsp;&nbsp;</td>
<td class="method-definition">sets record's left value</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="#setRightValue" title="details" class="method-name">setRightValue</a>()&nbsp;&nbsp;</td>
<td class="method-definition">sets record's right value</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="#setRootValue" title="details" class="method-name">setRootValue</a>()&nbsp;&nbsp;</td>
<td class="method-definition">sets records root id value</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="#shiftRlRange" title="details" class="method-name">shiftRlRange</a>()&nbsp;&nbsp;</td>
<td class="method-definition">adds '$delta' to all Left and Right values that are &gt;= '$first' and &lt;= '$last'.</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="#shiftRlValues" title="details" class="method-name">shiftRlValues</a>()&nbsp;&nbsp;</td>
<td class="method-definition">adds '$delta' to all Left and Right values that are &gt;= '$first'. '$delta' can also be negative.</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="#updateNode" title="details" class="method-name">updateNode</a>()&nbsp;&nbsp;</td>
<td class="method-definition">move node's and its children to location $destLeft and updates rest of tree</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="#_moveBetweenTrees" title="details" class="method-name">_moveBetweenTrees</a>()&nbsp;&nbsp;</td>
<td class="method-definition">Accomplishes moving of nodes between different trees.</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="methodaddChild" id="addChild"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">addChild</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a682">682</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 addChild(
<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>adds node as last child of 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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodaddChild">Doctrine_Node_Interface::addChild()</a></dt>
<dd>adds node as last child of record</dd>
</dl>
<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__DoctrineNodeNestedSet.php.html#a764">764</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 delete(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>deletes node and it's descendants
</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>Todo:</strong>&nbsp;&nbsp;</td><td>Delete more efficiently. Wrap in transaction if needed.</td>
</tr>
</table>
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methoddelete">Doctrine_Node_Interface::delete()</a></dt>
<dd>deletes node and it's descendants</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetAncestors" id="getAncestors"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getAncestors</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a276">276</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 getAncestors(
[
$depth = null], integer
$deth&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets ancestors for node
</strong></p>
<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">$deth:&nbsp;</span></td>
<td>
<span class="var-description"> The depth 'upstairs'.</span> </td></tr>
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$depth:&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>The ancestors of the node or FALSE if the node has no ancestors (this basically means it's a root node).</td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetAncestors">Doctrine_Node_Interface::getAncestors()</a></dt>
<dd>gets ancestors for node</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetChildren" id="getChildren"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getChildren</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a204">204</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 getChildren(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets children for node (direct descendants only)
</strong></p>
<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 children of the node or FALSE if the node has no children.</td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetChildren">Doctrine_Node_Interface::getChildren()</a></dt>
<dd>gets children for node (direct descendants only)</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetDescendants" id="getDescendants"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getDescendants</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a216">216</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 getDescendants(
[
$depth = null], [
$includeNode = false]&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets descendants for node (direct descendants only)
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$depth:&nbsp;</span></td>
<td>
</td></tr>
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$includeNode:&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>The descendants of the node or FALSE if the node has no descendants.</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>Todo:</strong>&nbsp;&nbsp;</td><td>Currently all descendants are fetched, no matter the depth. Maybe there is a better solution with less overhead.</td>
</tr>
</table>
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetDescendants">Doctrine_Node_Interface::getDescendants()</a></dt>
<dd>gets descendants for node (direct descendants only)</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetFirstChild" id="getFirstChild"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getFirstChild</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a152">152</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><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a> getFirstChild(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets record of first child or empty record
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetFirstChild">Doctrine_Node_Interface::getFirstChild()</a></dt>
<dd>gets record of first child or empty record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetLastChild" id="getLastChild"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getLastChild</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a178">178</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><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a> getLastChild(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets record of last child or empty record
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetLastChild">Doctrine_Node_Interface::getLastChild()</a></dt>
<dd>gets record of last child or empty record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetLeftValue" id="getLeftValue"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getLeftValue</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a913">913</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>int getLeftValue(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets record's left value
</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 />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetLevel" id="getLevel"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getLevel</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a953">953</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>int getLevel(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets level (depth) of node in the tree
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetLevel">Doctrine_Node_Interface::getLevel()</a></dt>
<dd>gets level (depth) of node in the tree</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetNextSibling" id="getNextSibling"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getNextSibling</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a106">106</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><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a> getNextSibling(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets record of next sibling or empty record
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetNextSibling">Doctrine_Node_Interface::getNextSibling()</a></dt>
<dd>gets record of next sibling or empty record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetNumberChildren" id="getNumberChildren"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getNumberChildren</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a319">319</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>int getNumberChildren(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets number of children (direct descendants)
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetNumberChildren">Doctrine_Node_Interface::getNumberChildren()</a></dt>
<dd>gets number of children (direct descendants)</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetNumberDescendants" id="getNumberDescendants"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getNumberDescendants</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a329">329</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>int getNumberDescendants(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets number of descendants (children and their children)
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetNumberDescendants">Doctrine_Node_Interface::getNumberDescendants()</a></dt>
<dd>gets number of descendants (children and their children)</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetParent" id="getParent"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getParent</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a247">247</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><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a> getParent(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets record of parent or empty record
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetParent">Doctrine_Node_Interface::getParent()</a></dt>
<dd>gets record of parent or empty record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetPath" id="getPath"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getPath</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a300">300</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>string getPath(
[string
$seperator = ' &gt; '], [
$includeRecord = false], bool
$includeNode&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets path to node from root, uses record::toString() method to get node names
</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">$seperator:&nbsp;</span></td>
<td>
<span class="var-description"> path seperator</span> </td></tr>
<tr><td class="indent">
<span class="var-type">bool</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$includeNode:&nbsp;</span></td>
<td>
<span class="var-description"> whether or not to include node at end of path</span> </td></tr>
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$includeRecord:&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>string representation of path</td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetPath">Doctrine_Node_Interface::getPath()</a></dt>
<dd>gets path to node from root, uses record::toString() method to get node names</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetPrevSibling" id="getPrevSibling"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getPrevSibling</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a80">80</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><a href="../Doctrine/Doctrine_Record.html">object Doctrine_Record</a> getPrevSibling(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets record of prev sibling or empty record
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetPrevSibling">Doctrine_Node_Interface::getPrevSibling()</a></dt>
<dd>gets record of prev sibling or empty record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetRightValue" id="getRightValue"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getRightValue</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a933">933</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>int getRightValue(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets record's right value
</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 />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetRootValue" id="getRootValue"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getRootValue</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a974">974</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 getRootValue(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>get records root id value
</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 />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetSiblings" id="getSiblings"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getSiblings</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a132">132</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 getSiblings(
[
$includeNode = false]&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>gets siblings for node
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$includeNode:&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>array of sibling Doctrine_Record objects</td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
</tr>
</table>
<br />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodgetSiblings">Doctrine_Node_Interface::getSiblings()</a></dt>
<dd>gets siblings for node</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodhasChildren" id="hasChildren"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">hasChildren</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a60">60</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>bool hasChildren(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>test if node has children
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodhasChildren">Doctrine_Node_Interface::hasChildren()</a></dt>
<dd>test if node has children</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodhasNextSibling" id="hasNextSibling"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">hasNextSibling</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a50">50</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>bool hasNextSibling(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>test if node has next sibling
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodhasNextSibling">Doctrine_Node_Interface::hasNextSibling()</a></dt>
<dd>test if node has next sibling</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodhasParent" id="hasParent"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">hasParent</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a70">70</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>bool hasParent(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>test if node has parent
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodhasParent">Doctrine_Node_Interface::hasParent()</a></dt>
<dd>test if node has parent</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodhasPrevSibling" id="hasPrevSibling"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">hasPrevSibling</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a40">40</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>bool hasPrevSibling(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>test if node has previous sibling
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodhasPrevSibling">Doctrine_Node_Interface::hasPrevSibling()</a></dt>
<dd>test if node has previous sibling</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodinsertAsFirstChildOf" id="insertAsFirstChildOf"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">insertAsFirstChildOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a421">421</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>bool insertAsFirstChildOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>inserts node as first child of dest 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">$dest:&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>Todo:</strong>&nbsp;&nbsp;</td><td>Wrap in transaction</td>
</tr>
</table>
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodinsertAsFirstChildOf">Doctrine_Node_Interface::insertAsFirstChildOf()</a></dt>
<dd>inserts node as first child of dest record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodinsertAsLastChildOf" id="insertAsLastChildOf"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">insertAsLastChildOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a447">447</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>bool insertAsLastChildOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>inserts node as last child of dest 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">$dest:&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>Todo:</strong>&nbsp;&nbsp;</td><td>Wrap in transaction</td>
</tr>
</table>
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodinsertAsLastChildOf">Doctrine_Node_Interface::insertAsLastChildOf()</a></dt>
<dd>inserts node as first child of dest record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodinsertAsNextSiblingOf" id="insertAsNextSiblingOf"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">insertAsNextSiblingOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a395">395</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>bool insertAsNextSiblingOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>inserts node as next sibling of dest 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">$dest:&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>Todo:</strong>&nbsp;&nbsp;</td><td>Wrap in transaction</td>
</tr>
</table>
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodinsertAsNextSiblingOf">Doctrine_Node_Interface::insertAsNextSiblingOf()</a></dt>
<dd>inserts node as next sibling of dest record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodinsertAsParentOf" id="insertAsParentOf"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">insertAsParentOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a340">340</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>bool insertAsParentOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>inserts node as parent of dest 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">$dest:&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>Todo:</strong>&nbsp;&nbsp;</td><td>Wrap in transaction</td>
</tr>
</table>
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodinsertAsParentOf">Doctrine_Node_Interface::insertAsParentOf()</a></dt>
<dd>inserts node as parent of dest record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodinsertAsPrevSiblingOf" id="insertAsPrevSiblingOf"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">insertAsPrevSiblingOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a369">369</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>bool insertAsPrevSiblingOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>inserts node as previous sibling of dest 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">$dest:&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>Todo:</strong>&nbsp;&nbsp;</td><td>Wrap in transaction</td>
</tr>
</table>
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodinsertAsPrevSiblingOf">Doctrine_Node_Interface::insertAsPrevSiblingOf()</a></dt>
<dd>inserts node as previous sibling of dest record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodinsertNode" id="insertNode"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">insertNode</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a794">794</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 insertNode(
[int
$destLeft = 0], [int
$destRight = 0], [
$destRoot = 1]&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>sets node's left and right values and save's it
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$destLeft:&nbsp;</span></td>
<td>
<span class="var-description"> node left value</span> </td></tr>
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$destRight:&nbsp;</span></td>
<td>
<span class="var-description"> node right value</span> </td></tr>
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$destRoot:&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>private</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisDescendantOf" id="isDescendantOf"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">isDescendantOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a725">725</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>bool isDescendantOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$subj&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>determines if node is child of subject node
</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">$subj:&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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodisDescendantOf">Doctrine_Node_Interface::isDescendantOf()</a></dt>
<dd>determines if node is child of subject node</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisDescendantOfOrEqualTo" id="isDescendantOfOrEqualTo"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">isDescendantOfOrEqualTo</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a737">737</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>bool isDescendantOfOrEqualTo(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$subj&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>determines if node is child of or sibling to subject node
</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">$subj:&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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodisDescendantOfOrEqualTo">Doctrine_Node_Interface::isDescendantOfOrEqualTo()</a></dt>
<dd>determines if node is child of or sibling to subject node</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisEqualTo" id="isEqualTo"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">isEqualTo</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a712">712</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>bool isEqualTo(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$subj&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>determines if node is equal to subject node
</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">$subj:&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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodisEqualTo">Doctrine_Node_Interface::isEqualTo()</a></dt>
<dd>determines if node is equal to subject node</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisLeaf" id="isLeaf"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">isLeaf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a692">692</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>bool isLeaf(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>determines if node is leaf
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodisLeaf">Doctrine_Node_Interface::isLeaf()</a></dt>
<dd>determines if node is leaf</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisRoot" id="isRoot"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">isRoot</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a702">702</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>bool isRoot(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>determines if node is root
</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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodisRoot">Doctrine_Node_Interface::isRoot()</a></dt>
<dd>determines if node is root</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodisValidNode" id="isValidNode"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">isValidNode</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a749">749</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>bool isValidNode(
[
$record = null]&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>determines if node is valid
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"></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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodisValidNode">Doctrine_Node_Interface::isValidNode()</a></dt>
<dd>determines if node is valid</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodmakeRoot" id="makeRoot"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">makeRoot</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a627">627</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 makeRoot(
$newRootId&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Makes this node a root node. Only used in multiple-root trees.
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$newRootId:&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>Todo:</strong>&nbsp;&nbsp;</td><td>Exception handling/wrapping</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodmoveAsFirstChildOf" id="moveAsFirstChildOf"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">moveAsFirstChildOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a592">592</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 moveAsFirstChildOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>moves node as first child of dest 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">$dest:&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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodmoveAsFirstChildOf">Doctrine_Node_Interface::moveAsFirstChildOf()</a></dt>
<dd>moves node as first child of dest record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodmoveAsLastChildOf" id="moveAsLastChildOf"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">moveAsLastChildOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a609">609</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 moveAsLastChildOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>moves node as last child of dest 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">$dest:&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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodmoveAsLastChildOf">Doctrine_Node_Interface::moveAsLastChildOf()</a></dt>
<dd>moves node as last child of dest record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodmoveAsNextSiblingOf" id="moveAsNextSiblingOf"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">moveAsNextSiblingOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a575">575</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 moveAsNextSiblingOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>moves node as next sibling of dest 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">$dest:&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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodmoveAsNextSiblingOf">Doctrine_Node_Interface::moveAsNextSiblingOf()</a></dt>
<dd>moves node as next sibling of dest record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodmoveAsPrevSiblingOf" id="moveAsPrevSiblingOf"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">moveAsPrevSiblingOf</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a558">558</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 moveAsPrevSiblingOf(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>moves node as prev sibling of dest 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">$dest:&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 />
<hr class="separator" />
<div class="notes">Implementation of:</div>
<dl>
<dt><a href="../Doctrine/Doctrine_Node_Interface.html#methodmoveAsPrevSiblingOf">Doctrine_Node_Interface::moveAsPrevSiblingOf()</a></dt>
<dd>moves node as prev sibling of dest record</dd>
</dl>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodsetLeftValue" id="setLeftValue"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">setLeftValue</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a923">923</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 setLeftValue(
int
$lft&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>sets record's left value
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$lft:&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="methodsetRightValue" id="setRightValue"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">setRightValue</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a943">943</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 setRightValue(
int
$rgt&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>sets record's right value
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$rgt:&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="methodsetRootValue" id="setRootValue"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">setRootValue</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a987">987</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 setRootValue(
int
$value&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>sets records root id value
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$value:&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="methodshiftRlRange" id="shiftRlRange"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">shiftRlRange</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a883">883</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 shiftRlRange(
int
$first, int
$last, int
$delta, [
$rootId = 1]&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>adds '$delta' to all Left and Right values that are &gt;= '$first' and &lt;= '$last'.
</strong></p>
<span class="description"><p>'$delta' can also be negative.</p></span>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$first:&nbsp;</span></td>
<td>
<span class="var-description"> First node to be shifted (L value)</span> </td></tr>
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$last:&nbsp;</span></td>
<td>
<span class="var-description"> Last node to be shifted (L value)</span> </td></tr>
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$delta:&nbsp;</span></td>
<td>
<span class="var-description"> Value to be shifted by, can be negative</span> </td></tr>
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$rootId:&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>private</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodshiftRlValues" id="shiftRlValues"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">shiftRlValues</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a850">850</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 shiftRlValues(
int
$first, int
$delta, [
$rootId = 1]&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>adds '$delta' to all Left and Right values that are &gt;= '$first'. '$delta' can also be negative.
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$first:&nbsp;</span></td>
<td>
<span class="var-description"> First node to be shifted</span> </td></tr>
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$delta:&nbsp;</span></td>
<td>
<span class="var-description"> Value to be shifted by, can be negative</span> </td></tr>
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$rootId:&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>private</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodupdateNode" id="updateNode"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">updateNode</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a808">808</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 updateNode(
int
$destLeft,
$levelDiff&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>move node's and its children to location $destLeft and updates rest of tree
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">int</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$destLeft:&nbsp;</span></td>
<td>
<span class="var-description"> destination left value</span> </td></tr>
<tr><td class="indent">
<span class="var-type"></span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$levelDiff:&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>private</td>
</tr>
</table>
<br />
<strong>Information Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Todo:</strong>&nbsp;&nbsp;</td><td>Wrap in transaction</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="method_moveBetweenTrees" id="_moveBetweenTrees"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">_moveBetweenTrees</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../__filesource/fsource_Doctrine__DoctrineNodeNestedSet.php.html#a476">476</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 _moveBetweenTrees(
<a href="../Doctrine/Doctrine_Record.html">Doctrine_Record</a>
$dest, unknown_type
$newLeftValue, unknown_type
$moveType&nbsp;
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Accomplishes moving of nodes between different trees.
</strong></p>
<span class="description"><p>Used by the move* methods if the root values of the two nodes are different.</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">$dest:&nbsp;</span></td>
<td>
</td></tr>
<tr><td class="indent">
<span class="var-type">unknown_type</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$newLeftValue:&nbsp;</span></td>
<td>
</td></tr>
<tr><td class="indent">
<span class="var-type">unknown_type</span>&nbsp;&nbsp;</td>
<td>
<span class="var-name">$moveType:&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>private</td>
</tr>
</table>
<br />
<strong>Information Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Todo:</strong>&nbsp;&nbsp;</td><td>Better exception handling/wrapping</td>
</tr>
</table>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
</div>
</div>