Completed
Push — master ( 2e5d0e...583994 )
by Bartko
06:02
created
src/StefanoTree/NestedSet/Adapter/Zend2DbAdapter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -363,6 +363,9 @@
 block discarded – undo
363 363
                   ->execute($binds);
364 364
     }
365 365
 
366
+    /**
367
+     * @param integer $scope
368
+     */
366 369
     public function getRoots($scope=null)
367 370
     {
368 371
         $options = $this->getOptions();
Please login to merge, or discard this patch.
src/StefanoTree/NestedSet/Adapter/Doctrine2DBALAdapter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -363,6 +363,9 @@
 block discarded – undo
363 363
                   ->execute($binds);
364 364
     }
365 365
 
366
+    /**
367
+     * @param integer $scope
368
+     */
366 369
     public function getRoots($scope=null)
367 370
     {
368 371
         $options = $this->getOptions();
Please login to merge, or discard this patch.
src/StefanoTree/NestedSet/Adapter/Zend1DbAdapter.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -161,6 +161,9 @@  discard block
 block discarded – undo
161 161
         $dbAdapter->update($options->getTableName(), $bind, $where);
162 162
     }
163 163
 
164
+    /**
165
+     * @param integer $scope
166
+     */
164 167
     public function getRoots($scope=null)
165 168
     {
166 169
         $options = $this->getOptions();
@@ -469,6 +472,11 @@  discard block
 block discarded – undo
469 472
         }
470 473
     }
471 474
 
475
+    /**
476
+     * @param string $column
477
+     * @param integer $first
478
+     * @param integer $second
479
+     */
472 480
     protected function getWhereBetween($column, $first, $second)
473 481
     {
474 482
         $dbAdapter = $this->getDbAdapter();
Please login to merge, or discard this patch.
src/StefanoTree/NestedSet.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -413,12 +413,18 @@
 block discarded – undo
413 413
                     ->getRoots();
414 414
     }
415 415
 
416
+    /**
417
+     * @param integer $rootNodeId
418
+     */
416 419
     public function isValid($rootNodeId)
417 420
     {
418 421
         return $this->_getValidator()
419 422
                     ->isValid($rootNodeId);
420 423
     }
421 424
 
425
+    /**
426
+     * @param integer $rootNodeId
427
+     */
422 428
     public function rebuild($rootNodeId)
423 429
     {
424 430
         $this->_getValidator()
Please login to merge, or discard this patch.