@@ -363,6 +363,9 @@ |
||
| 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(); |
@@ -363,6 +363,9 @@ |
||
| 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(); |
@@ -161,6 +161,9 @@ discard block |
||
| 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 |
||
| 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(); |
@@ -413,12 +413,18 @@ |
||
| 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() |