PHP Class Phalcon\Test\Mvc\Model\Behavior\NestedSetTest

Author: Serghei Iakovlev ([email protected])
Inheritance: extends Helper
Datei anzeigen Open project: phalcon/incubator

Public Methods

Method Description
testShouldAddBelowAndAbove ( ) Created nodes in the desired place
testShouldAddChildNodes ( ) Add nodes to the tree
testShouldCatchExceptionWhenCreateARootNodeUsingOneTreePerTable ( ) Creating more than one root by using one tree per table
testShouldCreateARootNodeUsingSaveNode ( ) Creating root nodes
testShouldCreateNestedSetBehaviorInstanceWithDesiredParams ( ) Initialize NestedSet Behavior with desired params
testShouldCreateNestedSetBehaviorInstanceWithNoParams ( ) Initialize NestedSet Behavior without params
testShouldDetectRoots ( ) Getting all roots
testShouldMoveNodeAsFirst ( ) Move node as first
testShouldMoveNodesBetweenTrees ( ) Move nodes between trees

Method Details

testShouldAddBelowAndAbove() public method

Created nodes in the desired place
Since: 2016-03-01
Author: Serghei Iakovlev ([email protected])

testShouldAddChildNodes() public method

Add nodes to the tree
Since: 2016-02-28
Author: Serghei Iakovlev ([email protected])

testShouldCatchExceptionWhenCreateARootNodeUsingOneTreePerTable() public method

Creating more than one root by using one tree per table
Since: 2016-02-28
Author: Serghei Iakovlev ([email protected])

testShouldCreateARootNodeUsingSaveNode() public method

Creating root nodes
Since: 2016-02-27
Author: Serghei Iakovlev ([email protected])

testShouldCreateNestedSetBehaviorInstanceWithDesiredParams() public method

Initialize NestedSet Behavior with desired params
Since: 2016-02-27
Author: Serghei Iakovlev ([email protected])

testShouldCreateNestedSetBehaviorInstanceWithNoParams() public method

Initialize NestedSet Behavior without params
Since: 2016-02-27
Author: Serghei Iakovlev ([email protected])

testShouldDetectRoots() public method

Getting all roots
Since: 2016-02-28
Author: Serghei Iakovlev ([email protected])

testShouldMoveNodeAsFirst() public method

Move node as first
Since: 2016-02-28
Author: Serghei Iakovlev ([email protected])

testShouldMoveNodesBetweenTrees() public method

Move nodes between trees
Since: 2016-03-02
Author: Serghei Iakovlev ([email protected])